lua_State* LuaScriptUtilities::CreateNamedVM(const char* const vmName)
{
    lua_State* const luaVM = CreateVM();

    NameVM(luaVM, vmName);

    return luaVM;
}
示例#2
0
文件: PS2VM.cpp 项目: ST3ALth/Play-
void CPS2VM::Initialize()
{
	CreateVM();
	m_nEnd = false;
	m_thread = std::thread([&] () { EmuThread(); });
}