Exemplo n.º 1
0
lua_State* LuaScriptUtilities::CreateNamedVM(const char* const vmName)
{
    lua_State* const luaVM = CreateVM();

    NameVM(luaVM, vmName);

    return luaVM;
}
Exemplo n.º 2
0
void CPS2VM::Initialize()
{
	CreateVM();
	m_nEnd = false;
	m_thread = std::thread([&] () { EmuThread(); });
}