diff --git a/src/sdl-dingux/drv.cpp b/src/sdl-dingux/drv.cpp index 777518a..09a3c16 100644 --- a/src/sdl-dingux/drv.cpp +++ b/src/sdl-dingux/drv.cpp @@ -1,5 +1,5 @@ // Driver Init module -#include "burner.h" +#include "burner.h" #include "snd.h" #include "sdl_progress.h" @@ -58,7 +58,9 @@ static int DrvLoadRom(unsigned char* Dest, int* pnWrote, int i) int DrvInit(int nDrvNum, bool bRestore) { - DrvExit(); // Make sure exitted + if (bDrvOkay) { + DrvExit(); // Make sure exitted + } SndInit(); //AudSoundInit(); // Init Sound (not critical if it fails) /*nBurnSoundRate = 0; // Assume no sound @@ -77,7 +79,7 @@ int DrvInit(int nDrvNum, bool bRestore) ConfigGameLoad(); // InputMake(true); -// GameInpDefault(); +// GameInpDefault(); if (DoLibInit()) { // Init the Burn library's driver char szTemp[512];