Backport r163 - nw

This commit is contained in:
twinaphex
2015-01-04 22:25:07 +01:00
parent 01201855b5
commit 24ff43223a

View File

@@ -99,6 +99,7 @@ void Mapper15_Init(CartInfo *info) {
WRAMSIZE = 8192;
WRAM = (uint8*)FCEU_gmalloc(WRAMSIZE);
SetupCartPRGMapping(0x10, WRAM, WRAMSIZE, 1);
FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM);
if (info->battery) {
info->SaveGame[0] = WRAM;
info->SaveGameLen[0] = WRAMSIZE;