static int AppExit() { SetNumLock(bNumlockStatus); DrvExit(); // Make sure any game driver is exitted FreeROMInfo(); MediaExit(); BurnLibExit(); // Exit the Burn library #ifdef USE_SDL SDL_Quit(); #endif kailleraShutdown(); FBALocaliseExit(); if (hAccel) { DestroyAcceleratorTable(hAccel); hAccel = NULL; } SplashDestroy(1); CloseHandle(hMainThread); CloseDebugLog(); return 0; }
static int AppExit() { if(bIconsLoaded) { // unload driver icons UnloadDrvIcons(); bIconsLoaded = 0; } SetNumLock(bNumlockStatus); DrvExit(); // Make sure any game driver is exitted FreeROMInfo(); MediaExit(); BurnLibExit(); // Exit the Burn library #ifdef USE_SDL SDL_Quit(); #endif FBALocaliseExit(); if (hAccel) { DestroyAcceleratorTable(hAccel); hAccel = NULL; } SplashDestroy(1); CloseHandle(hMainThread); CloseDebugLog(); return 0; }