diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index 8bd7d21b33..4c5905e5d1 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -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; }