[64DD] Load 64DD IPL on g_DDRom seperately
Fixes double g_Rom delete which makes Windows not happy.
This commit is contained in:
parent
02d94ce57b
commit
f63b746c73
|
@ -219,7 +219,9 @@ bool CN64System::RunFileImage(const char * FileLoc)
|
||||||
if (g_Rom->CicChipID() == CIC_NUS_8303)
|
if (g_Rom->CicChipID() == CIC_NUS_8303)
|
||||||
{
|
{
|
||||||
//64DD IPL
|
//64DD IPL
|
||||||
g_DDRom = g_Rom;
|
if (g_DDRom == NULL)
|
||||||
|
g_DDRom = new CN64Rom();
|
||||||
|
g_DDRom->LoadN64ImageIPL(FileLoc);
|
||||||
g_Settings->SaveString(File_DiskIPLPath, FileLoc);
|
g_Settings->SaveString(File_DiskIPLPath, FileLoc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue