mirror of https://github.com/PCSX2/pcsx2.git
gsdx replayer: fix broken init in replayer
"regression" from previous defered init
This commit is contained in:
parent
27f313ee16
commit
41bede60eb
|
@ -1538,6 +1538,8 @@ EXPORT_C GSReplay(char* lpszCmdLine, int renderer)
|
|||
{
|
||||
GLLoader::in_replayer = true;
|
||||
|
||||
GSinit();
|
||||
|
||||
GSRendererType m_renderer;
|
||||
// Allow to easyly switch between SW/HW renderer -> this effectively removes the ability to select the renderer by function args
|
||||
m_renderer = static_cast<GSRendererType>(theApp.GetConfigI("Renderer"));
|
||||
|
@ -1556,8 +1558,6 @@ EXPORT_C GSReplay(char* lpszCmdLine, int renderer)
|
|||
vector<uint8> buff;
|
||||
uint8 regs[0x2000];
|
||||
|
||||
GSinit();
|
||||
|
||||
GSsetBaseMem(regs);
|
||||
|
||||
s_vsync = theApp.GetConfigB("vsync");
|
||||
|
|
Loading…
Reference in New Issue