Remove PluginSpecs.h. Merge the few needed enums from that file into Common.h for now. I am up for suggestions on a better place for those.

Fix frame dumping on linux.
Make sure that on screen messages get cleared between games.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7039 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-02-02 04:40:27 +00:00
parent ebc8f02885
commit 8b309e26dc
51 changed files with 221 additions and 249 deletions

View File

@ -105,7 +105,7 @@ unsigned int VideoBackend::PeekMessages()
}
return TRUE;
#else
return FALSE;
return false;
#endif
}
@ -494,7 +494,7 @@ bool OpenGL_Create(int _iwidth, int _iheight)
CreateXWindow();
VideoWindowHandle() = (void *)GLWin.win;
#endif
return false;
return true;
}
bool OpenGL_MakeCurrent()

View File

@ -501,7 +501,10 @@ Renderer::~Renderer()
#if defined _WIN32 || defined HAVE_LIBAV
if(s_bAVIDumping)
{
AVIDump::Stop();
s_bAVIDumping = false;
}
#else
if(f_pFrameDump != NULL)
fclose(f_pFrameDump);

View File

@ -179,14 +179,10 @@ void VideoBackend::Initialize()
UpdateActiveConfig();
if (!OpenGL_Create(640, 480))
{
return;
}
OSD::AddMessage("Dolphin OpenGL Video Plugin.", 5000);
s_PluginInitialized = true;
return;
}
// This is called after Initialize() from the Core
@ -228,7 +224,6 @@ void VideoBackend::Video_Prepare()
// Notify the core that the video plugin is ready
Core::Callback_CoreMessage(WM_USER_CREATE);
s_PluginInitialized = true;
INFO_LOG(VIDEO, "Video plugin initialized.");
}