Back out r7195 pending a closer look at thread safety in the

video backends.

This would be considerably easier if there was a way for me to have
fully working video in some sort of VM. If anyone has achieved that,
preferably with Linux but failing that with Windows, I would
appreciate any tips on how to set it up. VideoSoftware used to more
or less work in a VM, but I've never been able to get OpenGL to do
much more than open the window and display OSD messages.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7201 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-02-19 13:45:13 +00:00
parent 1f5d54f5a6
commit febd967907
3 changed files with 12 additions and 13 deletions

View File

@ -163,6 +163,10 @@ void VideoBackend::Initialize()
OSD::AddMessage("Dolphin Direct3D9 Video Backend.", 5000);
s_BackendInitialized = true;
}
void VideoBackend::Video_Prepare()
{
// Better be safe...
s_efbAccessRequested = FALSE;
s_FifoShuttingDown = FALSE;
@ -182,10 +186,7 @@ void VideoBackend::Initialize()
CommandProcessor::Init();
PixelEngine::Init();
DLCache::Init();
}
void VideoBackend::Video_Prepare()
{
// Notify the core that the video backend is ready
Core::Callback_CoreMessage(WM_USER_CREATE);
}