Wrap some functions, clean some stuff

This commit is contained in:
Henrik Rydgård committed 2012-12-26 08:52:40 +01:00
1 parent 9fe6dcb863
commit b2f29992a3
7 files changed
+79 -71

No files matched your search

+3 -3
View File
@@ -81,7 +81,7 @@ void Core_SingleStep()
// Some platforms, like Android, do not call this function but handle things on their own.
void Core_Run()
{
#if _DEBUG
#if defined(_DEBUG)
host->UpdateDisassembly();
#endif
@@ -129,14 +129,14 @@ void Core_EnableStepping(bool step)
//PowerPC::Pause();
// Sleep(1);
sleep_ms(1);
#if _DEBUG
#if defined(_DEBUG)
host->SetDebugMode(true);
#endif
coreState=CORE_STEPPING;
}
else
{
#if _DEBUG
#if defined(_DEBUG)
host->SetDebugMode(false);
#endif
coreState = CORE_RUNNING;