diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-13 09:39:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-13 09:39:06 -0400 |
| commit | 9a0ea90018fffffc6bf5575f12178f61d2d01a3a (patch) | |
| tree | 5731e966de52365e1620b3e423d8dd1e7479f472 /src/yuzu/main.h | |
| parent | ce5320c49f6e3c1dc52b9046213366dd0df1612f (diff) | |
| parent | 87c0ba129ce38dd3b001fbef8021590a127fb1a8 (diff) | |
Merge pull request #11473 from liamwhite/fix-launch-param
am: Implement UserChannel parameters
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 1e4f6e477..3b0e7f2fe 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(); |
