fixed #3033634, fixed previous fix ;)
This commit is contained in:
parent
a501682e0f
commit
7b383576a0
|
@ -533,7 +533,7 @@ void win_FreeBuffers(uint8 *GameMemBlock, uint8 *RAM)
|
|||
{
|
||||
CloseHandle(mapRAM);
|
||||
mapRAM = NULL;
|
||||
CloseHandle(RAM);
|
||||
UnmapViewOfFile(RAM);
|
||||
}
|
||||
else
|
||||
free(RAM);
|
||||
|
@ -542,7 +542,7 @@ void win_FreeBuffers(uint8 *GameMemBlock, uint8 *RAM)
|
|||
{
|
||||
CloseHandle(mapGameMemBlock);
|
||||
mapGameMemBlock = NULL;
|
||||
CloseHandle(GameMemBlock);
|
||||
UnmapViewOfFile(GameMemBlock);
|
||||
}
|
||||
else
|
||||
free(GameMemBlock);
|
||||
|
|
|
@ -238,6 +238,7 @@ void Mapper69_init(void)
|
|||
{
|
||||
sunindex=0;
|
||||
|
||||
setprg8(0x6000,0);
|
||||
SetupCartPRGMapping(0x10,WRAM,8192,1);
|
||||
|
||||
SetWriteHandler(0x8000,0xbfff,Mapper69_write);
|
||||
|
|
Loading…
Reference in New Issue