add warning when booting homebrew game while using "stream rom from disk" since it doesnt work right now, and it essentially breaks most homebrew apps by default.

This commit is contained in:
zeromus 2013-12-16 05:22:49 +00:00
parent 0445bcc9ee
commit a8d01255ed
1 changed files with 3 additions and 1 deletions

View File

@ -652,8 +652,10 @@ int NDS_LoadROM(const char *filename, const char *physicalName, const char *logi
printf("\n"); printf("\n");
//for homebrew, try auto-patching DLDI. should be benign if there is no DLDI or if it fails //for homebrew, try auto-patching DLDI. should be benign if there is no DLDI or if it fails
if(gameInfo.isHomebrew() && CommonSettings.loadToMemory) if(gameInfo.isHomebrew())
{ {
if(!CommonSettings.loadToMemory)
msgbox->warn("Sorry.. right now, you can't use the default (stream rom from disk) with homebrew due to a bug wityh DLDI-autopatching");
if (slot1_GetCurrentType() == NDS_SLOT1_R4) if (slot1_GetCurrentType() == NDS_SLOT1_R4)
DLDI::tryPatch((void*)gameInfo.romdata, gameInfo.romsize, 1); DLDI::tryPatch((void*)gameInfo.romdata, gameInfo.romsize, 1);
else else