mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-20 06:27:33 +01:00
1323ab2f5f
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
22 lines
558 B
C++
22 lines
558 B
C++
// 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();
|
|
}
|