- Fix for an endianess bug reported by 'jvernet' and fixed by 'Phazz' (Reference: http://forums.desmume.org/viewtopic.php?id=759)
This commit is contained in:
parent
3bd964f5f0
commit
da23a32e2e
|
@ -491,7 +491,7 @@ void NDS_Reset( void)
|
|||
// Reference: http://nocash.emubase.de/gbatek.htm#dscartridgeheader
|
||||
for (i = 0; i < ((0x170+0x90)/4); i++)
|
||||
{
|
||||
MMU_write32 (0, 0x027FFE00+i*4, ((u32*)MMU.CART_ROM)[i]);
|
||||
MMU_write32 (0, 0x027FFE00+i*4, LE_TO_LOCAL_32(((u32*)MMU.CART_ROM)[i]));
|
||||
}
|
||||
|
||||
MainScreen.offset = 0;
|
||||
|
|
Loading…
Reference in New Issue