chr ram was not getting initialized to anything
This commit is contained in:
parent
d6d9ea6a28
commit
55f3e079d0
|
@ -1403,6 +1403,8 @@ static int NewiNES_Init(int num)
|
|||
CHRRAMSize=8192;
|
||||
}
|
||||
if((VROM = (uint8 *)FCEU_dmalloc(CHRRAMSize)) == NULL) return 0;
|
||||
FCEU_MemoryRand(VROM,CHRRAMSize);
|
||||
|
||||
UNIFchrrama=VROM;
|
||||
SetupCartCHRMapping(0,VROM,CHRRAMSize,1);
|
||||
AddExState(VROM,CHRRAMSize, 0, "CHRR");
|
||||
|
|
Loading…
Reference in New Issue