windows: Check PSP_IsInited() in more places.

This prevents showing buttons as clickable, etc. in the debugger mainly.
This commit is contained in:
Unknown W. Brackets committed 2014-01-19 14:25:12 -08:00
1 parent 16cdbbf0d2
commit 0fa371ccbf
2 files changed
+21 -6

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ static inline void UpdateRunLoop() {
}
void Core_RunLoop() {
while (globalUIState != UISTATE_INGAME && globalUIState != UISTATE_EXIT) {
while ((globalUIState != UISTATE_INGAME || !PSP_IsInited()) && globalUIState != UISTATE_EXIT) {
time_update();
#if defined(_WIN32) && !defined(USING_QT_UI)