citra/src/core/system.h

22 lines
558 B
C
Raw Normal View History

2014-04-08 23:15:46 +00:00
// Copyright 2014 Citra Emulator Project
2014-12-17 05:38:14 +00:00
// Licensed under GPLv2 or any later version
2014-04-08 23:15:46 +00:00
// Refer to the license.txt file included.
#pragma once
2013-09-27 02:01:09 +00:00
class EmuWindow;
2013-09-27 02:01:09 +00:00
namespace System {
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, u32 system_mode);
bool IsPoweredOn();
2013-09-27 02:01:09 +00:00
void Shutdown();
2014-11-18 13:27:16 +00:00
}