Improve error report from Init() functions

Add error popup when citra initialization failed
This commit is contained in:
LittleWhite 2016-01-07 20:33:54 +01:00
parent 7ad669a911
commit 4be68dddfb
12 changed files with 72 additions and 27 deletions

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();
}