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:
parent
42838fffe7
commit
1e4d8cd551
3
RSP.cpp
3
RSP.cpp
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user