N64: Set a variable to volatile to fix problems with bizhawk freezing during frame advance.

This commit is contained in:
pjgat09 2013-04-30 02:22:56 +00:00
parent 3bc682a411
commit 8ec6c762bd
1 changed files with 5 additions and 5 deletions

View File

@ -163,10 +163,10 @@ namespace BizHawk.Emulation.Consoles.Nintendo.N64
};
enum m64p_emu_state
{
M64EMU_STOPPED = 1,
M64EMU_RUNNING,
M64EMU_PAUSED
{
M64EMU_STOPPED = 1,
M64EMU_RUNNING,
M64EMU_PAUSED
};
//[DllImport(@"..\..\libmupen64plus\mupen64plus-ui-console\projects\msvc11\Release\mupen64plus.dll", CallingConvention = CallingConvention.Cdecl)]
@ -236,7 +236,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo.N64
Thread m64pEmulator;
bool m64pFrameComplete = false;
volatile bool m64pFrameComplete = false;
public N64(CoreComm comm, GameInfo game, byte[] rom)
{