2014-04-08 19:15:46 -04:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 00:38:14 -05:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-04-08 19:15:46 -04:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
2013-09-26 22:01:09 -04:00
|
|
|
|
2015-05-03 23:16:25 -04:00
|
|
|
class EmuWindow;
|
2013-09-26 22:01:09 -04:00
|
|
|
|
|
|
|
namespace System {
|
|
|
|
|
2016-01-07 14:33:54 -05:00
|
|
|
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);
|
2013-09-26 22:01:09 -04:00
|
|
|
void Shutdown();
|
|
|
|
|
2014-11-18 08:27:16 -05:00
|
|
|
}
|