mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
- 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:
parent
0332ec742e
commit
93429219ab
@ -91,6 +91,12 @@ SCoreStartupParameter g_CoreStartupParameter; //uck
|
|||||||
|
|
||||||
Common::Event emuThreadGoing;
|
Common::Event emuThreadGoing;
|
||||||
|
|
||||||
|
bool PanicAlertToVideo(const char* text, bool yes_no)
|
||||||
|
{
|
||||||
|
PluginVideo::Video_AddMessage(text,3000);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Called from GUI thread
|
// Called from GUI thread
|
||||||
bool Init(const SCoreStartupParameter _CoreParameter)
|
bool Init(const SCoreStartupParameter _CoreParameter)
|
||||||
{
|
{
|
||||||
@ -136,6 +142,8 @@ bool Init(const SCoreStartupParameter _CoreParameter)
|
|||||||
|
|
||||||
PluginVideo::Video_AddMessage("Emulation started.",3000);
|
PluginVideo::Video_AddMessage("Emulation started.",3000);
|
||||||
|
|
||||||
|
//RegisterPanicAlertHandler(PanicAlertToVideo);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user