mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 08:08:18 -05:00
Improve error report from Init() functions
Add error popup when citra initialization failed
This commit is contained in:
@ -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();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user