Border fix for GB ROMs

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@155 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
mudlord 2007-12-03 20:55:18 +00:00
parent e8a7648cc8
commit eb109be567
1 changed files with 1 additions and 1 deletions

View File

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