Fix for a single core mode stop-hang. Fix a build error in IL mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2328 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-02-21 00:54:52 +00:00
parent 757d8728b7
commit e6ca85c059
3 changed files with 5 additions and 6 deletions

View File

@ -475,9 +475,8 @@ THREAD_RETURN EmuThread(void *pArg)
// The hardware is uninitialized
g_bHwInit = false;
Plugins.ShutdownPlugins();
HW::Shutdown();
Plugins.ShutdownPlugins();
LOG(MASTER_LOG, "EmuThread exited");
// The CPU should return when a game is stopped and cleanup should be done here,

View File

@ -30,7 +30,6 @@
#include "JitCache.h"
#include "Thunk.h"
#include "../../HW/CPUCompare.h"
#include "../../HW/GPFifo.h"
#include "../../Core.h"
#include "JitAsm.h"

View File

@ -51,7 +51,7 @@ void Fifo_Init()
{
videoBuffer = (u8*)AllocateMemoryPages(FIFO_SIZE);
fifo_exit_event.Init();
fifoStateRun = true;
fifoStateRun = false;
g_XFBUpdateRequested = FALSE;
}
@ -101,6 +101,7 @@ void Fifo_ExitLoop()
void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
{
fifoStateRun = true;
SCPFifoStruct &_fifo = *video_initialize.pCPFifo;
s32 distToSend;