diff options
author | FearlessTobi <thm.frey@gmail.com> | 2023-09-10 02:36:26 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-09-10 15:39:25 -0400 |
commit | 87c0ba129ce38dd3b001fbef8021590a127fb1a8 (patch) | |
tree | 28fa19ccd43fceeec31e433d32dae41e88d2b17e /src/yuzu/main.h | |
parent | 36917d8a8f364857f2a54d22b8dfa39c54534f13 (diff) |
am: Implement UserChannel parameters
Used by the Super Mairo 3D All-Stars collection.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 668dbc3b1..fd8b196c3 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -58,6 +58,11 @@ enum class StartGameType { Global, // Only uses global configuration }; +enum class AmLaunchType { + UserInitiated, + ApplicationInitiated, +}; + namespace Core { enum class SystemResultStatus : u32; class System; @@ -239,9 +244,11 @@ private: void PreventOSSleep(); void AllowOSSleep(); - bool LoadROM(const QString& filename, u64 program_id, std::size_t program_index); + bool LoadROM(const QString& filename, u64 program_id, std::size_t program_index, + AmLaunchType launch_type); void BootGame(const QString& filename, u64 program_id = 0, std::size_t program_index = 0, - StartGameType with_config = StartGameType::Normal); + StartGameType with_config = StartGameType::Normal, + AmLaunchType launch_type = AmLaunchType::UserInitiated); void ShutdownGame(); void ShowTelemetryCallout(); |