Mesen-X/Core/LuaScriptingContext.h

21 lines
426 B
C
Raw Normal View History

2017-08-30 18:31:27 -04:00
#pragma once
#include "stdafx.h"
#include "ScriptingContext.h"
struct lua_State;
class Debugger;
class LuaScriptingContext : public ScriptingContext
{
private:
lua_State* _lua = nullptr;
public:
LuaScriptingContext();
~LuaScriptingContext();
bool LoadScript(string scriptContent, Debugger* debugger);
void CallMemoryCallback(int addr, int value, CallbackType type);
int InternalCallEventCallback(EventType type);
};