playguy
07-23-2002, 10:52 PM
Hey,
Someone mentioned earlier about Pokemon Crystal not working right on PlayGuy and it apparently had been corrupted or had a corrupted header. I just helped someone fix one dump of that - Pocket Monsters Crystal Glass (J) [C][p1][!].gbc. Maybe it was the same one?
Symptoms:
Playguy crashes with a NULL pointer/invalid access exception after having loaded the ROM.
Cause:
PlayGuy does not recognise the value at byte 0x149 of this particular dump of the game, which specifies the cart SRAM size, and thus allocates ZERO bytes for SRAM. When the game attempts to access RAM a NULL pointer exception occurs.
Fix:
Replace the incorrect value of 0x05 at memory location (file offset) 0x149 with the correct value, 0x03. This being said, 0x03 specifies 32 KBytes of RAM in four banks. 0x05 is not known to specify anything as 0x04 is maximum RAM speicifier of 128KB. Also, 32KB is the maximum amount of memory for MBC3, which is the memory block controller for this game.
-JC
Someone mentioned earlier about Pokemon Crystal not working right on PlayGuy and it apparently had been corrupted or had a corrupted header. I just helped someone fix one dump of that - Pocket Monsters Crystal Glass (J) [C][p1][!].gbc. Maybe it was the same one?
Symptoms:
Playguy crashes with a NULL pointer/invalid access exception after having loaded the ROM.
Cause:
PlayGuy does not recognise the value at byte 0x149 of this particular dump of the game, which specifies the cart SRAM size, and thus allocates ZERO bytes for SRAM. When the game attempts to access RAM a NULL pointer exception occurs.
Fix:
Replace the incorrect value of 0x05 at memory location (file offset) 0x149 with the correct value, 0x03. This being said, 0x03 specifies 32 KBytes of RAM in four banks. 0x05 is not known to specify anything as 0x04 is maximum RAM speicifier of 128KB. Also, 32KB is the maximum amount of memory for MBC3, which is the memory block controller for this game.
-JC