Border fix for GB ROMs

This commit is contained in:
mudlord 2007-12-03 20:55:18 +00:00
parent cc37d74565
commit 5e3902b476
1 changed files with 1 additions and 1 deletions

View File

@ -2129,7 +2129,7 @@ void gbGetHardwareType()
{ {
gbCgbMode = 0; gbCgbMode = 0;
gbSgbMode = 0; gbSgbMode = 0;
if(gbRom[0x143] & 0x80) { if((gbRom[0x143] & 0x80) && !((gbRom[0x146] == 0x03) && (gbBorderAutomatic))) {
if((gbEmulatorType == 0) || if((gbEmulatorType == 0) ||
gbEmulatorType == 1 || gbEmulatorType == 1 ||
gbEmulatorType == 4) { gbEmulatorType == 4) {