fix: trying to use a dldi-function without --load-type=1 would end up in desmume crashing
This commit is contained in:
parent
8c8ba5e355
commit
4fb55bddb9
|
@ -759,7 +759,7 @@ int NDS_LoadROM(const char *filename, const char *physicalName, const char *logi
|
|||
{
|
||||
if(!CommonSettings.loadToMemory)
|
||||
msgbox->warn("Sorry.. right now, you can't use the default (stream rom from disk) with homebrew due to a bug with DLDI-autopatching");
|
||||
if (slot1_GetCurrentType() == NDS_SLOT1_R4)
|
||||
else if (slot1_GetCurrentType() == NDS_SLOT1_R4)
|
||||
DLDI::tryPatch((void*)gameInfo.romdata, gameInfo.romsize, 1);
|
||||
else
|
||||
if (slot2_GetCurrentType() == NDS_SLOT2_CFLASH)
|
||||
|
|
Loading…
Reference in New Issue