1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Move calls to GBI.init() and video().start() from RSP_Init() to PluginAPI::RomOpen().

This commit is contained in:
Sergey Lipskiy 2014-10-01 12:33:22 +07:00
parent 42838fffe7
commit 1e4d8cd551
2 changed files with 4 additions and 3 deletions

View File

@ -252,7 +252,4 @@ void RSP_Init()
gDP.loadTile = &gDP.tiles[7];
gSP.textureTile[0] = &gDP.tiles[0];
gSP.textureTile[1] = &gDP.tiles[1];
// DepthBuffer_Init();
GBI.init();
video().start();
}

View File

@ -20,6 +20,8 @@ void RSP_ThreadProc(std::mutex * _pRspThreadMtx, std::mutex * _pPluginThreadMtx,
{
_pRspThreadMtx->lock();
RSP_Init();
GBI.init();
video().start();
video().resizeWindow();
assert(!isGLError());
@ -100,6 +102,8 @@ void PluginAPI::RomOpen()
m_pluginThreadMtx.unlock();
#else
RSP_Init();
GBI.init();
video().start();
video().resizeWindow();
#endif