- 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:
shashclp 2008-03-28 15:45:45 +00:00
parent 3bd964f5f0
commit da23a32e2e
1 changed files with 1 additions and 1 deletions

View File

@ -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;