Mesen2/Core/Shared/EmulatorLock.h
Sour 236cca1cd9 Movies: Fixed freeze when attempting to load a movie while the debugger is opened
Fixed an identical freeze when switching tracks in a HES file while the debugger is opened
2023-02-08 22:34:00 -05:00

18 lines
No EOL
324 B
C++

#pragma once
#include "pch.h"
class Emulator;
class DebuggerRequest;
class DebugBreakHelper;
class EmulatorLock
{
private:
Emulator* _emu = nullptr;
unique_ptr<DebuggerRequest> _debugger;
unique_ptr<DebugBreakHelper> _breakHelper;
public:
EmulatorLock(Emulator* emulator, bool allowDebuggerLock);
~EmulatorLock();
};