Improve error report from Init() functions

Add error popup when citra initialization failed
This commit is contained in:
LittleWhite
2016-03-08 22:05:25 +01:00
parent 7ad669a911
commit 4be68dddfb
12 changed files with 72 additions and 27 deletions
+8 -1
View File
@@ -8,7 +8,14 @@ class EmuWindow;
namespace System {
void Init(EmuWindow* emu_window);
enum class Result {
Success, ///< Everything is fine
Error, ///< Something went wrong (no module specified)
ErrorInitCore, ///< Something went wrong during core init
ErrorInitVideoCore, ///< Something went wrong during video core init
};
Result Init(EmuWindow* emu_window);
void Shutdown();
}