N64: Set a variable to volatile to fix problems with bizhawk freezing during frame advance.
This commit is contained in:
parent
3bc682a411
commit
8ec6c762bd
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue