Mega Drive / Genesis - x24C01 EEPROM Support [message #2200] |
Fri, 29 July 2011 21:37 |
|
A friend from another forum, Eke, pointed me to this issue:
Quote: | Eke wrote:
I think the problem occurs when using Mednafen on little-endian platform.
I'm not sure how the data input in MD_Cart_Type_EEPROM::Write16 and output by MD_Cart_Type_EEPROM::Read16 is handled but you might want to try the following modification:
Change
Quote:
/* EA mapper (24C01 only) */
{ EEP_EA_24C01, {7, 0x7F, 0x7F, 0x200000, 0x200000, 0x200000, 7, 7, 6}},
to
Quote:
/* EA mapper (24C01 only) */
{ EEP_EA_24C01, {7, 0x7F, 0x7F, 0x200000, 0x200000, 0x200000, 15, 15, 14}},
|
I tried to compile mednafen with these changes, but I'm unable to compile. A compiling tutorial would be great.
Can someone, please, compile Mednafen with these changes?.
Thanks in advance.
Whipon.
|
|