forked from eden-emu/eden
		
	ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
This commit is contained in:
		
							parent
							
								
									2e268abe42
								
							
						
					
					
						commit
						04d9c27120
					
				
					 2 changed files with 10 additions and 1 deletions
				
			
		|  | @ -687,7 +687,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_, | ||||||
|         {501, nullptr, "SuppressDisablingSleepTemporarily"}, |         {501, nullptr, "SuppressDisablingSleepTemporarily"}, | ||||||
|         {502, nullptr, "IsSleepEnabled"}, |         {502, nullptr, "IsSleepEnabled"}, | ||||||
|         {503, nullptr, "IsDisablingSleepSuppressed"}, |         {503, nullptr, "IsDisablingSleepSuppressed"}, | ||||||
|         {900, nullptr, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, |         {900, &ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, | ||||||
|     }; |     }; | ||||||
|     // clang-format on
 |     // clang-format on
 | ||||||
| 
 | 
 | ||||||
|  | @ -817,6 +817,14 @@ void ICommonStateGetter::SetCpuBoostMode(Kernel::HLERequestContext& ctx) { | ||||||
|     apm_sys->SetCpuBoostMode(ctx); |     apm_sys->SetCpuBoostMode(ctx); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | void ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled( | ||||||
|  |     Kernel::HLERequestContext& ctx) { | ||||||
|  |     LOG_WARNING(Service_AM, "(STUBBED) called"); | ||||||
|  | 
 | ||||||
|  |     IPC::ResponseBuilder rb{ctx, 2}; | ||||||
|  |     rb.Push(RESULT_SUCCESS); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| IStorageImpl::~IStorageImpl() = default; | IStorageImpl::~IStorageImpl() = default; | ||||||
| 
 | 
 | ||||||
| class StorageDataImpl final : public IStorageImpl { | class StorageDataImpl final : public IStorageImpl { | ||||||
|  |  | ||||||
|  | @ -196,6 +196,7 @@ private: | ||||||
|     void EndVrModeEx(Kernel::HLERequestContext& ctx); |     void EndVrModeEx(Kernel::HLERequestContext& ctx); | ||||||
|     void GetDefaultDisplayResolution(Kernel::HLERequestContext& ctx); |     void GetDefaultDisplayResolution(Kernel::HLERequestContext& ctx); | ||||||
|     void SetCpuBoostMode(Kernel::HLERequestContext& ctx); |     void SetCpuBoostMode(Kernel::HLERequestContext& ctx); | ||||||
|  |     void SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled(Kernel::HLERequestContext& ctx); | ||||||
| 
 | 
 | ||||||
|     std::shared_ptr<AppletMessageQueue> msg_queue; |     std::shared_ptr<AppletMessageQueue> msg_queue; | ||||||
|     bool vr_mode_state{}; |     bool vr_mode_state{}; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Morph
						Morph