lua_State* LuaScriptUtilities::CreateNamedVM(const char* const vmName) { lua_State* const luaVM = CreateVM(); NameVM(luaVM, vmName); return luaVM; }
void CPS2VM::Initialize() { CreateVM(); m_nEnd = false; m_thread = std::thread([&] () { EmuThread(); }); }