mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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:
@ -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()
|
||||
|
@ -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);
|
||||
|
@ -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.");
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user