iNDSSystem: fix call to DLDI::tryPatch in !WINDOWS NDS_LoadRom

This commit is contained in:
riccardom 2011-05-15 17:55:51 +00:00
parent 29fa5037bf
commit 3c92ad957e
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ int NDS_LoadROM(const char *filename, const char *logicalFilename)
//for homebrew, try auto-patching DLDI. should be benign if there is no DLDI or if it fails
bool isHomebrew = !memcmp(gameInfo.header.gameCode,"####",4);
if(isHomebrew)
DLDI::tryPatch((void*)gameInfo.romdata, gameInfo.mask + 1);
DLDI::tryPatch((void*)gameInfo.romdata, gameInfo.romsize);
NDS_Reset();