- Added some code to allow panic alert messages to print to video plugin. commented out until it's approved.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@177 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
gigaherz 2008-08-10 21:48:23 +00:00
parent 0332ec742e
commit 93429219ab

View File

@ -91,6 +91,12 @@ SCoreStartupParameter g_CoreStartupParameter; //uck
Common::Event emuThreadGoing;
bool PanicAlertToVideo(const char* text, bool yes_no)
{
PluginVideo::Video_AddMessage(text,3000);
return true;
}
// Called from GUI thread
bool Init(const SCoreStartupParameter _CoreParameter)
{
@ -136,6 +142,8 @@ bool Init(const SCoreStartupParameter _CoreParameter)
PluginVideo::Video_AddMessage("Emulation started.",3000);
//RegisterPanicAlertHandler(PanicAlertToVideo);
return true;
}