Permalink
Browse files

Some ifdef cleanup.

  • Loading branch information...
hrydgard committed Dec 19, 2017
1 parent 1a5d108 commit a1f029fe1f8e87aaa268bf0fe7a57aeb018dd7e5
Showing with 6 additions and 6 deletions.
  1. +6 −6 Core/Core.cpp
View
@@ -259,13 +259,13 @@ static inline void CoreStateProcessed() {
}
}
// Some platforms, like Android, do not call this function but handle things on their own.
void Core_Run(GraphicsContext *ctx)
{
// Many platforms, like Android, do not call this function but handle things on their own.
// Instead they simply call PSP_RunLoopFor() directly, and forgo the debugging machinery.
void Core_Run(GraphicsContext *ctx) {
#if defined(_DEBUG)
host->UpdateDisassembly();
#endif
#if !defined(USING_QT_UI) || defined(MOBILE_DEVICE)
#if !defined(USING_QT_UI)
while (true)
#endif
{
@@ -276,7 +276,7 @@ void Core_Run(GraphicsContext *ctx)
return;
}
Core_RunLoop(ctx);
#if defined(USING_QT_UI) && !defined(MOBILE_DEVICE)
#if defined(USING_QT_UI)
return;
#else
continue;
@@ -316,7 +316,7 @@ void Core_Run(GraphicsContext *ctx)
#if defined(USING_QT_UI) || defined(_DEBUG)
host->SendCoreWait(false);
#endif
#if defined(USING_QT_UI) && !defined(MOBILE_DEVICE)
#if defined(USING_QT_UI)
if (coreState != CORE_STEPPING)
return;
#endif

0 comments on commit a1f029f

Please sign in to comment.