Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds

This commit is contained in:
Henrik Rydgard 2014-02-10 12:38:23 +01:00
parent 8b6b491820
commit 4d00a9b4bc
10 changed files with 95 additions and 69 deletions

View file

@ -1,6 +1,5 @@
// NOTE: Apologies for the quality of this code, this is really from pre-opensource Dolphin - that is, 2003.
#include "base/display.h"
#include "base/timeutil.h"
#include "base/NativeApp.h"
#include "base/mutex.h"
@ -60,7 +59,6 @@ void EmuThread_Stop()
}
globalUIState = UISTATE_EXIT;
// DSound_UpdateSound();
Core_Stop();
Core_WaitInactive(800);
if (WAIT_TIMEOUT == WaitForSingleObject(emuThread, 800))