mapper 115 - regression fix

This commit is contained in:
CaH4e3 2012-10-23 09:24:40 +00:00
parent 441c804dbe
commit 71cc0baf0e
1 changed files with 4 additions and 4 deletions

View File

@ -819,10 +819,10 @@ void Mapper114_Init(CartInfo *info)
static void M115PW(uint32 A, uint8 V)
{
if(EXPREGS[0]&0x80)
setprg32(0x8000,(EXPREGS[0]&7)>>1);
else
setprg8(A,V);
//zero 09-apr-2012 - #3515357 - changed to support Bao Qing Tian (mapper 248) which was missing BG gfx. 115 game(s?) seem still to work OK.
GENPWRAP(A,V);
if(A==0x8000 && EXPREGS[0]&0x80)
setprg16(0x8000,(EXPREGS[0]&0xF));
}
static void M115CW(uint32 A, uint8 V)