diff options
| author | 2024-01-02 18:26:53 -0500 | |
|---|---|---|
| committer | 2024-01-29 20:17:09 -0500 | |
| commit | 3155f4e96d10904f4a207e465f20fb4b25043f5c (patch) | |
| tree | 849388480f5b7bb17f07a259b3f3661eeca99f61 /src/core/core.h | |
| parent | am: re-namespace frontend applets to frontend directory (diff) | |
| download | yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.gz yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.xz yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.zip | |
am: retrieve main applet creation info from frontend
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/core.h b/src/core/core.h index 800e69501..97e2d4b50 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -50,6 +50,11 @@ namespace Account { | |||
| 50 | class ProfileManager; | 50 | class ProfileManager; |
| 51 | } // namespace Account | 51 | } // namespace Account |
| 52 | 52 | ||
| 53 | namespace AM { | ||
| 54 | struct FrontendAppletParameters; | ||
| 55 | class AppletManager; | ||
| 56 | } // namespace AM | ||
| 57 | |||
| 53 | namespace AM::Frontend { | 58 | namespace AM::Frontend { |
| 54 | struct FrontendAppletSet; | 59 | struct FrontendAppletSet; |
| 55 | class FrontendAppletHolder; | 60 | class FrontendAppletHolder; |
| @@ -203,8 +208,8 @@ public: | |||
| 203 | * @returns SystemResultStatus code, indicating if the operation succeeded. | 208 | * @returns SystemResultStatus code, indicating if the operation succeeded. |
| 204 | */ | 209 | */ |
| 205 | [[nodiscard]] SystemResultStatus Load(Frontend::EmuWindow& emu_window, | 210 | [[nodiscard]] SystemResultStatus Load(Frontend::EmuWindow& emu_window, |
| 206 | const std::string& filepath, u64 program_id = 0, | 211 | const std::string& filepath, |
| 207 | std::size_t program_index = 0); | 212 | Service::AM::FrontendAppletParameters& params); |
| 208 | 213 | ||
| 209 | /** | 214 | /** |
| 210 | * Indicates if the emulated system is powered on (all subsystems initialized and able to run an | 215 | * Indicates if the emulated system is powered on (all subsystems initialized and able to run an |