summaryrefslogtreecommitdiffstats
path: root/src/core/system.h
blob: b41fc088a8690daf51fdb0a69bd9d27cfdfc1b95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

class EmuWindow;

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