Call Video_Prepare() before starting the CPU thread.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7194 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
83dc3bf210
commit
198e29be07
|
@ -393,6 +393,8 @@ void EmuThread()
|
|||
// ENTER THE VIDEO THREAD LOOP
|
||||
if (_CoreParameter.bCPUThread)
|
||||
{
|
||||
g_video_backend->Video_Prepare();
|
||||
|
||||
// This thread, after creating the EmuWindow, spawns a CPU
|
||||
// thread, and then takes over and becomes the video thread
|
||||
cpuThread = std::thread(CpuThread);
|
||||
|
@ -402,7 +404,6 @@ void EmuThread()
|
|||
Host_UpdateDisasmDialog();
|
||||
Host_UpdateMainFrame();
|
||||
|
||||
g_video_backend->Video_Prepare();
|
||||
g_video_backend->Video_EnterLoop();
|
||||
}
|
||||
else // SingleCore mode
|
||||
|
|
|
@ -91,6 +91,8 @@ private:
|
|||
class NetPlayUI
|
||||
{
|
||||
public:
|
||||
virtual ~NetPlayUI() {};
|
||||
|
||||
virtual void BootGame(const std::string& filename) = 0;
|
||||
virtual void StopGame() = 0;
|
||||
|
||||
|
|
|
@ -217,4 +217,4 @@ void RunGpu()
|
|||
fifo.CPReadWriteDistance -= 32;
|
||||
}
|
||||
CommandProcessor::SetCpStatus();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue