gsdx replayer: fix broken init in replayer

"regression" from previous defered init
This commit is contained in:
Gregory Hainaut 2016-08-03 11:57:56 +02:00
parent 27f313ee16
commit 41bede60eb
1 changed files with 2 additions and 2 deletions

View File

@ -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");