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:
parent
757d8728b7
commit
e6ca85c059
|
@ -475,9 +475,8 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||||
// The hardware is uninitialized
|
// The hardware is uninitialized
|
||||||
g_bHwInit = false;
|
g_bHwInit = false;
|
||||||
|
|
||||||
Plugins.ShutdownPlugins();
|
|
||||||
|
|
||||||
HW::Shutdown();
|
HW::Shutdown();
|
||||||
|
Plugins.ShutdownPlugins();
|
||||||
|
|
||||||
LOG(MASTER_LOG, "EmuThread exited");
|
LOG(MASTER_LOG, "EmuThread exited");
|
||||||
// The CPU should return when a game is stopped and cleanup should be done here,
|
// The CPU should return when a game is stopped and cleanup should be done here,
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include "JitCache.h"
|
#include "JitCache.h"
|
||||||
#include "Thunk.h"
|
#include "Thunk.h"
|
||||||
|
|
||||||
#include "../../HW/CPUCompare.h"
|
|
||||||
#include "../../HW/GPFifo.h"
|
#include "../../HW/GPFifo.h"
|
||||||
#include "../../Core.h"
|
#include "../../Core.h"
|
||||||
#include "JitAsm.h"
|
#include "JitAsm.h"
|
||||||
|
|
|
@ -51,7 +51,7 @@ void Fifo_Init()
|
||||||
{
|
{
|
||||||
videoBuffer = (u8*)AllocateMemoryPages(FIFO_SIZE);
|
videoBuffer = (u8*)AllocateMemoryPages(FIFO_SIZE);
|
||||||
fifo_exit_event.Init();
|
fifo_exit_event.Init();
|
||||||
fifoStateRun = true;
|
fifoStateRun = false;
|
||||||
g_XFBUpdateRequested = FALSE;
|
g_XFBUpdateRequested = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,6 +101,7 @@ void Fifo_ExitLoop()
|
||||||
|
|
||||||
void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
||||||
{
|
{
|
||||||
|
fifoStateRun = true;
|
||||||
SCPFifoStruct &_fifo = *video_initialize.pCPFifo;
|
SCPFifoStruct &_fifo = *video_initialize.pCPFifo;
|
||||||
s32 distToSend;
|
s32 distToSend;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue