diff options
author | Liam <byteslice@airmail.cc> | 2024-02-09 17:36:40 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-10 18:38:19 +0100 |
commit | 4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd (patch) | |
tree | 3a748b507a6af9cfc2dfb63ca0cd6a1662472661 /src/core/hle/service/am/library_applet_creator.cpp | |
parent | am: fix focus states and display of indirect keyboard (diff) | |
download | yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.gz yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.bz2 yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.lz yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.xz yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.zst yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.zip |
Diffstat (limited to 'src/core/hle/service/am/library_applet_creator.cpp')
-rw-r--r-- | src/core/hle/service/am/library_applet_creator.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/am/library_applet_creator.cpp b/src/core/hle/service/am/library_applet_creator.cpp index c48ed29bc..00d5a0705 100644 --- a/src/core/hle/service/am/library_applet_creator.cpp +++ b/src/core/hle/service/am/library_applet_creator.cpp @@ -102,8 +102,16 @@ std::shared_ptr<ILibraryAppletAccessor> CreateGuestApplet(Core::System& system, return {}; } + // TODO: enable other versions of applets + enum : u8 { + Firmware1400 = 14, + Firmware1500 = 15, + Firmware1600 = 16, + Firmware1700 = 17, + }; + auto process = std::make_unique<Process>(system); - if (!process->Initialize(program_id)) { + if (!process->Initialize(program_id, Firmware1400, Firmware1700)) { // Couldn't initialize the guest process return {}; } |