Improve error report from Init() functions
Add error popup when citra initialization failed
This commit is contained in:
parent
7ad669a911
commit
4be68dddfb
12 changed files with 72 additions and 27 deletions
|
@ -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();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue