Fixed some BS problems, removed old code.

This commit is contained in:
n-a-c-h
2004-12-09 18:33:04 +00:00
parent a6e70e20cd
commit 7f85fcc164
2 changed files with 11 additions and 40 deletions

View File

@@ -328,8 +328,8 @@ unsigned short sum(unsigned char *array, unsigned int size)
return(theSum);
}
extern unsigned char SPC7110Enable;
extern unsigned char BSEnable;
extern bool SPC7110Enable;
extern bool BSEnable;
extern unsigned short Checksumvalue;
void CalcChecksum()
{
@@ -399,7 +399,11 @@ extern bool SETAEnable;
void SetupSramSize()
{
unsigned char *ROM = (unsigned char *)romdata;
if (SFXEnable)
if (BSEnable)
{
ramsize = 0;
}
else if (SFXEnable)
{
if (ROM[infoloc+CompanyOffset] == 0x33) //Extended header
{