diff options
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 64 | ||||
| -rw-r--r-- | src/core/hle/service/am/applet_ae.cpp | 18 | ||||
| -rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 18 |
3 files changed, 50 insertions, 50 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index f41a59afe..19fadcb8e 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -28,14 +28,14 @@ IWindowController::IWindowController() : ServiceFramework("IWindowController") { | |||
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | void IWindowController::GetAppletResourceUserId(Kernel::HLERequestContext& ctx) { | 30 | void IWindowController::GetAppletResourceUserId(Kernel::HLERequestContext& ctx) { |
| 31 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 31 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 32 | IPC::ResponseBuilder rb{ctx, 4}; | 32 | IPC::ResponseBuilder rb{ctx, 4}; |
| 33 | rb.Push(RESULT_SUCCESS); | 33 | rb.Push(RESULT_SUCCESS); |
| 34 | rb.Push<u64>(0); | 34 | rb.Push<u64>(0); |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | void IWindowController::AcquireForegroundRights(Kernel::HLERequestContext& ctx) { | 37 | void IWindowController::AcquireForegroundRights(Kernel::HLERequestContext& ctx) { |
| 38 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 38 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 39 | IPC::ResponseBuilder rb{ctx, 2}; | 39 | IPC::ResponseBuilder rb{ctx, 2}; |
| 40 | rb.Push(RESULT_SUCCESS); | 40 | rb.Push(RESULT_SUCCESS); |
| 41 | } | 41 | } |
| @@ -54,20 +54,20 @@ IAudioController::IAudioController() : ServiceFramework("IAudioController") { | |||
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | void IAudioController::SetExpectedMasterVolume(Kernel::HLERequestContext& ctx) { | 56 | void IAudioController::SetExpectedMasterVolume(Kernel::HLERequestContext& ctx) { |
| 57 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 57 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 58 | IPC::ResponseBuilder rb{ctx, 2}; | 58 | IPC::ResponseBuilder rb{ctx, 2}; |
| 59 | rb.Push(RESULT_SUCCESS); | 59 | rb.Push(RESULT_SUCCESS); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | void IAudioController::GetMainAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx) { | 62 | void IAudioController::GetMainAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx) { |
| 63 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 63 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 64 | IPC::ResponseBuilder rb{ctx, 3}; | 64 | IPC::ResponseBuilder rb{ctx, 3}; |
| 65 | rb.Push(RESULT_SUCCESS); | 65 | rb.Push(RESULT_SUCCESS); |
| 66 | rb.Push(volume); | 66 | rb.Push(volume); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | void IAudioController::GetLibraryAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx) { | 69 | void IAudioController::GetLibraryAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx) { |
| 70 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 70 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 71 | IPC::ResponseBuilder rb{ctx, 3}; | 71 | IPC::ResponseBuilder rb{ctx, 3}; |
| 72 | rb.Push(RESULT_SUCCESS); | 72 | rb.Push(RESULT_SUCCESS); |
| 73 | rb.Push(volume); | 73 | rb.Push(volume); |
| @@ -139,14 +139,14 @@ void ISelfController::SetFocusHandlingMode(Kernel::HLERequestContext& ctx) { | |||
| 139 | IPC::ResponseBuilder rb{ctx, 2}; | 139 | IPC::ResponseBuilder rb{ctx, 2}; |
| 140 | rb.Push(RESULT_SUCCESS); | 140 | rb.Push(RESULT_SUCCESS); |
| 141 | 141 | ||
| 142 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 142 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | void ISelfController::SetRestartMessageEnabled(Kernel::HLERequestContext& ctx) { | 145 | void ISelfController::SetRestartMessageEnabled(Kernel::HLERequestContext& ctx) { |
| 146 | IPC::ResponseBuilder rb{ctx, 2}; | 146 | IPC::ResponseBuilder rb{ctx, 2}; |
| 147 | rb.Push(RESULT_SUCCESS); | 147 | rb.Push(RESULT_SUCCESS); |
| 148 | 148 | ||
| 149 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 149 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestContext& ctx) { | 152 | void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestContext& ctx) { |
| @@ -157,14 +157,14 @@ void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestCo | |||
| 157 | IPC::ResponseBuilder rb{ctx, 2}; | 157 | IPC::ResponseBuilder rb{ctx, 2}; |
| 158 | rb.Push(RESULT_SUCCESS); | 158 | rb.Push(RESULT_SUCCESS); |
| 159 | 159 | ||
| 160 | LOG_WARNING(Service_AM, "(STUBBED) called flag=%u", static_cast<u32>(flag)); | 160 | NGLOG_WARNING(Service_AM, "(STUBBED) called flag={}", flag); |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | void ISelfController::SetScreenShotPermission(Kernel::HLERequestContext& ctx) { | 163 | void ISelfController::SetScreenShotPermission(Kernel::HLERequestContext& ctx) { |
| 164 | IPC::ResponseBuilder rb{ctx, 2}; | 164 | IPC::ResponseBuilder rb{ctx, 2}; |
| 165 | rb.Push(RESULT_SUCCESS); | 165 | rb.Push(RESULT_SUCCESS); |
| 166 | 166 | ||
| 167 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 167 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestContext& ctx) { | 170 | void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestContext& ctx) { |
| @@ -175,7 +175,7 @@ void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestCont | |||
| 175 | IPC::ResponseBuilder rb{ctx, 2}; | 175 | IPC::ResponseBuilder rb{ctx, 2}; |
| 176 | rb.Push(RESULT_SUCCESS); | 176 | rb.Push(RESULT_SUCCESS); |
| 177 | 177 | ||
| 178 | LOG_WARNING(Service_AM, "(STUBBED) called flag=%u", static_cast<u32>(flag)); | 178 | NGLOG_WARNING(Service_AM, "(STUBBED) called flag={}", flag); |
| 179 | } | 179 | } |
| 180 | 180 | ||
| 181 | void ISelfController::SetOutOfFocusSuspendingEnabled(Kernel::HLERequestContext& ctx) { | 181 | void ISelfController::SetOutOfFocusSuspendingEnabled(Kernel::HLERequestContext& ctx) { |
| @@ -188,21 +188,21 @@ void ISelfController::SetOutOfFocusSuspendingEnabled(Kernel::HLERequestContext& | |||
| 188 | IPC::ResponseBuilder rb{ctx, 2}; | 188 | IPC::ResponseBuilder rb{ctx, 2}; |
| 189 | rb.Push(RESULT_SUCCESS); | 189 | rb.Push(RESULT_SUCCESS); |
| 190 | 190 | ||
| 191 | LOG_WARNING(Service_AM, "(STUBBED) called enabled=%u", static_cast<u32>(enabled)); | 191 | NGLOG_WARNING(Service_AM, "(STUBBED) called enabled={}", enabled); |
| 192 | } | 192 | } |
| 193 | 193 | ||
| 194 | void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { | 194 | void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { |
| 195 | IPC::ResponseBuilder rb{ctx, 2}; | 195 | IPC::ResponseBuilder rb{ctx, 2}; |
| 196 | rb.Push(RESULT_SUCCESS); | 196 | rb.Push(RESULT_SUCCESS); |
| 197 | 197 | ||
| 198 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 198 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 199 | } | 199 | } |
| 200 | 200 | ||
| 201 | void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { | 201 | void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { |
| 202 | IPC::ResponseBuilder rb{ctx, 2}; | 202 | IPC::ResponseBuilder rb{ctx, 2}; |
| 203 | rb.Push(RESULT_SUCCESS); | 203 | rb.Push(RESULT_SUCCESS); |
| 204 | 204 | ||
| 205 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 205 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | void ISelfController::GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& ctx) { | 208 | void ISelfController::GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& ctx) { |
| @@ -212,7 +212,7 @@ void ISelfController::GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& | |||
| 212 | rb.Push(RESULT_SUCCESS); | 212 | rb.Push(RESULT_SUCCESS); |
| 213 | rb.PushCopyObjects(launchable_event); | 213 | rb.PushCopyObjects(launchable_event); |
| 214 | 214 | ||
| 215 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 215 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 216 | } | 216 | } |
| 217 | 217 | ||
| 218 | void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) { | 218 | void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) { |
| @@ -225,7 +225,7 @@ void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) | |||
| 225 | rb.Push(RESULT_SUCCESS); | 225 | rb.Push(RESULT_SUCCESS); |
| 226 | rb.Push(layer_id); | 226 | rb.Push(layer_id); |
| 227 | 227 | ||
| 228 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 228 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | ICommonStateGetter::ICommonStateGetter() : ServiceFramework("ICommonStateGetter") { | 231 | ICommonStateGetter::ICommonStateGetter() : ServiceFramework("ICommonStateGetter") { |
| @@ -269,7 +269,7 @@ void ICommonStateGetter::GetEventHandle(Kernel::HLERequestContext& ctx) { | |||
| 269 | rb.Push(RESULT_SUCCESS); | 269 | rb.Push(RESULT_SUCCESS); |
| 270 | rb.PushCopyObjects(event); | 270 | rb.PushCopyObjects(event); |
| 271 | 271 | ||
| 272 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 272 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) { | 275 | void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) { |
| @@ -277,7 +277,7 @@ void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) { | |||
| 277 | rb.Push(RESULT_SUCCESS); | 277 | rb.Push(RESULT_SUCCESS); |
| 278 | rb.Push<u32>(15); | 278 | rb.Push<u32>(15); |
| 279 | 279 | ||
| 280 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 280 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 281 | } | 281 | } |
| 282 | 282 | ||
| 283 | void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { | 283 | void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { |
| @@ -285,7 +285,7 @@ void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { | |||
| 285 | rb.Push(RESULT_SUCCESS); | 285 | rb.Push(RESULT_SUCCESS); |
| 286 | rb.Push(static_cast<u8>(FocusState::InFocus)); | 286 | rb.Push(static_cast<u8>(FocusState::InFocus)); |
| 287 | 287 | ||
| 288 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 288 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { | 291 | void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { |
| @@ -294,7 +294,7 @@ void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { | |||
| 294 | rb.Push(RESULT_SUCCESS); | 294 | rb.Push(RESULT_SUCCESS); |
| 295 | rb.Push(static_cast<u8>(use_docked_mode ? OperationMode::Docked : OperationMode::Handheld)); | 295 | rb.Push(static_cast<u8>(use_docked_mode ? OperationMode::Docked : OperationMode::Handheld)); |
| 296 | 296 | ||
| 297 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 297 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 298 | } | 298 | } |
| 299 | 299 | ||
| 300 | void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { | 300 | void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { |
| @@ -304,7 +304,7 @@ void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { | |||
| 304 | rb.Push(static_cast<u32>(use_docked_mode ? APM::PerformanceMode::Docked | 304 | rb.Push(static_cast<u32>(use_docked_mode ? APM::PerformanceMode::Docked |
| 305 | : APM::PerformanceMode::Handheld)); | 305 | : APM::PerformanceMode::Handheld)); |
| 306 | 306 | ||
| 307 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 307 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | class ILibraryAppletAccessor final : public ServiceFramework<ILibraryAppletAccessor> { | 310 | class ILibraryAppletAccessor final : public ServiceFramework<ILibraryAppletAccessor> { |
| @@ -344,7 +344,7 @@ private: | |||
| 344 | rb.Push(RESULT_SUCCESS); | 344 | rb.Push(RESULT_SUCCESS); |
| 345 | rb.PushCopyObjects(state_changed_event); | 345 | rb.PushCopyObjects(state_changed_event); |
| 346 | 346 | ||
| 347 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 347 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 348 | } | 348 | } |
| 349 | 349 | ||
| 350 | Kernel::SharedPtr<Kernel::Event> state_changed_event; | 350 | Kernel::SharedPtr<Kernel::Event> state_changed_event; |
| @@ -368,7 +368,7 @@ void ILibraryAppletCreator::CreateLibraryApplet(Kernel::HLERequestContext& ctx) | |||
| 368 | rb.Push(RESULT_SUCCESS); | 368 | rb.Push(RESULT_SUCCESS); |
| 369 | rb.PushIpcInterface<AM::ILibraryAppletAccessor>(); | 369 | rb.PushIpcInterface<AM::ILibraryAppletAccessor>(); |
| 370 | 370 | ||
| 371 | LOG_DEBUG(Service_AM, "called"); | 371 | NGLOG_DEBUG(Service_AM, "called"); |
| 372 | } | 372 | } |
| 373 | 373 | ||
| 374 | class IStorageAccessor final : public ServiceFramework<IStorageAccessor> { | 374 | class IStorageAccessor final : public ServiceFramework<IStorageAccessor> { |
| @@ -392,7 +392,7 @@ private: | |||
| 392 | rb.Push(RESULT_SUCCESS); | 392 | rb.Push(RESULT_SUCCESS); |
| 393 | rb.Push(static_cast<u64>(buffer.size())); | 393 | rb.Push(static_cast<u64>(buffer.size())); |
| 394 | 394 | ||
| 395 | LOG_DEBUG(Service_AM, "called"); | 395 | NGLOG_DEBUG(Service_AM, "called"); |
| 396 | } | 396 | } |
| 397 | 397 | ||
| 398 | void Read(Kernel::HLERequestContext& ctx) { | 398 | void Read(Kernel::HLERequestContext& ctx) { |
| @@ -410,7 +410,7 @@ private: | |||
| 410 | 410 | ||
| 411 | rb.Push(RESULT_SUCCESS); | 411 | rb.Push(RESULT_SUCCESS); |
| 412 | 412 | ||
| 413 | LOG_DEBUG(Service_AM, "called"); | 413 | NGLOG_DEBUG(Service_AM, "called"); |
| 414 | } | 414 | } |
| 415 | }; | 415 | }; |
| 416 | 416 | ||
| @@ -434,7 +434,7 @@ private: | |||
| 434 | rb.Push(RESULT_SUCCESS); | 434 | rb.Push(RESULT_SUCCESS); |
| 435 | rb.PushIpcInterface<AM::IStorageAccessor>(buffer); | 435 | rb.PushIpcInterface<AM::IStorageAccessor>(buffer); |
| 436 | 436 | ||
| 437 | LOG_DEBUG(Service_AM, "called"); | 437 | NGLOG_DEBUG(Service_AM, "called"); |
| 438 | } | 438 | } |
| 439 | }; | 439 | }; |
| 440 | 440 | ||
| @@ -498,14 +498,14 @@ void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) { | |||
| 498 | rb.Push(RESULT_SUCCESS); | 498 | rb.Push(RESULT_SUCCESS); |
| 499 | rb.PushIpcInterface<AM::IStorage>(buffer); | 499 | rb.PushIpcInterface<AM::IStorage>(buffer); |
| 500 | 500 | ||
| 501 | LOG_DEBUG(Service_AM, "called"); | 501 | NGLOG_DEBUG(Service_AM, "called"); |
| 502 | } | 502 | } |
| 503 | 503 | ||
| 504 | void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) { | 504 | void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) { |
| 505 | IPC::RequestParser rp{ctx}; | 505 | IPC::RequestParser rp{ctx}; |
| 506 | u128 uid = rp.PopRaw<u128>(); | 506 | u128 uid = rp.PopRaw<u128>(); |
| 507 | 507 | ||
| 508 | LOG_WARNING(Service, "(STUBBED) called uid = %016" PRIX64 "%016" PRIX64, uid[1], uid[0]); | 508 | NGLOG_WARNING(Service, "(STUBBED) called uid = {:016X}{:016X}", uid[1], uid[0]); |
| 509 | 509 | ||
| 510 | IPC::ResponseBuilder rb{ctx, 4}; | 510 | IPC::ResponseBuilder rb{ctx, 4}; |
| 511 | 511 | ||
| @@ -533,27 +533,27 @@ void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) { | |||
| 533 | IPC::ResponseBuilder rb{ctx, 2}; | 533 | IPC::ResponseBuilder rb{ctx, 2}; |
| 534 | rb.Push(RESULT_SUCCESS); | 534 | rb.Push(RESULT_SUCCESS); |
| 535 | 535 | ||
| 536 | LOG_WARNING(Service_AM, "(STUBBED) called, result=0x%08X", result); | 536 | NGLOG_WARNING(Service_AM, "(STUBBED) called, result={:#010}", result); |
| 537 | } | 537 | } |
| 538 | 538 | ||
| 539 | void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) { | 539 | void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) { |
| 540 | IPC::ResponseBuilder rb{ctx, 4}; | 540 | IPC::ResponseBuilder rb{ctx, 4}; |
| 541 | rb.Push(RESULT_SUCCESS); | 541 | rb.Push(RESULT_SUCCESS); |
| 542 | rb.Push<u64>(SystemLanguage::English); | 542 | rb.Push<u64>(SystemLanguage::English); |
| 543 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 543 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 544 | } | 544 | } |
| 545 | 545 | ||
| 546 | void IApplicationFunctions::InitializeGamePlayRecording(Kernel::HLERequestContext& ctx) { | 546 | void IApplicationFunctions::InitializeGamePlayRecording(Kernel::HLERequestContext& ctx) { |
| 547 | IPC::ResponseBuilder rb{ctx, 2}; | 547 | IPC::ResponseBuilder rb{ctx, 2}; |
| 548 | rb.Push(RESULT_SUCCESS); | 548 | rb.Push(RESULT_SUCCESS); |
| 549 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 549 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 550 | } | 550 | } |
| 551 | 551 | ||
| 552 | void IApplicationFunctions::SetGamePlayRecordingState(Kernel::HLERequestContext& ctx) { | 552 | void IApplicationFunctions::SetGamePlayRecordingState(Kernel::HLERequestContext& ctx) { |
| 553 | IPC::ResponseBuilder rb{ctx, 2}; | 553 | IPC::ResponseBuilder rb{ctx, 2}; |
| 554 | rb.Push(RESULT_SUCCESS); | 554 | rb.Push(RESULT_SUCCESS); |
| 555 | 555 | ||
| 556 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 556 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 557 | } | 557 | } |
| 558 | 558 | ||
| 559 | void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) { | 559 | void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) { |
| @@ -561,7 +561,7 @@ void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) { | |||
| 561 | rb.Push(RESULT_SUCCESS); | 561 | rb.Push(RESULT_SUCCESS); |
| 562 | rb.Push<u8>(0); // Unknown, seems to be ignored by official processes | 562 | rb.Push<u8>(0); // Unknown, seems to be ignored by official processes |
| 563 | 563 | ||
| 564 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 564 | NGLOG_WARNING(Service_AM, "(STUBBED) called"); |
| 565 | } | 565 | } |
| 566 | 566 | ||
| 567 | void InstallInterfaces(SM::ServiceManager& service_manager, | 567 | void InstallInterfaces(SM::ServiceManager& service_manager, |
diff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cpp index 4f0698a8a..8951980cf 100644 --- a/src/core/hle/service/am/applet_ae.cpp +++ b/src/core/hle/service/am/applet_ae.cpp | |||
| @@ -33,56 +33,56 @@ private: | |||
| 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 34 | rb.Push(RESULT_SUCCESS); | 34 | rb.Push(RESULT_SUCCESS); |
| 35 | rb.PushIpcInterface<ICommonStateGetter>(); | 35 | rb.PushIpcInterface<ICommonStateGetter>(); |
| 36 | LOG_DEBUG(Service_AM, "called"); | 36 | NGLOG_DEBUG(Service_AM, "called"); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void GetSelfController(Kernel::HLERequestContext& ctx) { | 39 | void GetSelfController(Kernel::HLERequestContext& ctx) { |
| 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 41 | rb.Push(RESULT_SUCCESS); | 41 | rb.Push(RESULT_SUCCESS); |
| 42 | rb.PushIpcInterface<ISelfController>(nvflinger); | 42 | rb.PushIpcInterface<ISelfController>(nvflinger); |
| 43 | LOG_DEBUG(Service_AM, "called"); | 43 | NGLOG_DEBUG(Service_AM, "called"); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | void GetWindowController(Kernel::HLERequestContext& ctx) { | 46 | void GetWindowController(Kernel::HLERequestContext& ctx) { |
| 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 48 | rb.Push(RESULT_SUCCESS); | 48 | rb.Push(RESULT_SUCCESS); |
| 49 | rb.PushIpcInterface<IWindowController>(); | 49 | rb.PushIpcInterface<IWindowController>(); |
| 50 | LOG_DEBUG(Service_AM, "called"); | 50 | NGLOG_DEBUG(Service_AM, "called"); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | void GetAudioController(Kernel::HLERequestContext& ctx) { | 53 | void GetAudioController(Kernel::HLERequestContext& ctx) { |
| 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 55 | rb.Push(RESULT_SUCCESS); | 55 | rb.Push(RESULT_SUCCESS); |
| 56 | rb.PushIpcInterface<IAudioController>(); | 56 | rb.PushIpcInterface<IAudioController>(); |
| 57 | LOG_DEBUG(Service_AM, "called"); | 57 | NGLOG_DEBUG(Service_AM, "called"); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void GetDisplayController(Kernel::HLERequestContext& ctx) { | 60 | void GetDisplayController(Kernel::HLERequestContext& ctx) { |
| 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 62 | rb.Push(RESULT_SUCCESS); | 62 | rb.Push(RESULT_SUCCESS); |
| 63 | rb.PushIpcInterface<IDisplayController>(); | 63 | rb.PushIpcInterface<IDisplayController>(); |
| 64 | LOG_DEBUG(Service_AM, "called"); | 64 | NGLOG_DEBUG(Service_AM, "called"); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { | 67 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { |
| 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 69 | rb.Push(RESULT_SUCCESS); | 69 | rb.Push(RESULT_SUCCESS); |
| 70 | rb.PushIpcInterface<IDebugFunctions>(); | 70 | rb.PushIpcInterface<IDebugFunctions>(); |
| 71 | LOG_DEBUG(Service_AM, "called"); | 71 | NGLOG_DEBUG(Service_AM, "called"); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { | 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { |
| 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 76 | rb.Push(RESULT_SUCCESS); | 76 | rb.Push(RESULT_SUCCESS); |
| 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); | 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); |
| 78 | LOG_DEBUG(Service_AM, "called"); | 78 | NGLOG_DEBUG(Service_AM, "called"); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { | 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { |
| 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 83 | rb.Push(RESULT_SUCCESS); | 83 | rb.Push(RESULT_SUCCESS); |
| 84 | rb.PushIpcInterface<IApplicationFunctions>(); | 84 | rb.PushIpcInterface<IApplicationFunctions>(); |
| 85 | LOG_DEBUG(Service_AM, "called"); | 85 | NGLOG_DEBUG(Service_AM, "called"); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; | 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; |
| @@ -92,7 +92,7 @@ void AppletAE::OpenLibraryAppletProxyOld(Kernel::HLERequestContext& ctx) { | |||
| 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 93 | rb.Push(RESULT_SUCCESS); | 93 | rb.Push(RESULT_SUCCESS); |
| 94 | rb.PushIpcInterface<ILibraryAppletProxy>(nvflinger); | 94 | rb.PushIpcInterface<ILibraryAppletProxy>(nvflinger); |
| 95 | LOG_DEBUG(Service_AM, "called"); | 95 | NGLOG_DEBUG(Service_AM, "called"); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | AppletAE::AppletAE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) | 98 | AppletAE::AppletAE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) |
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index 674b4d753..68388bf5e 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp | |||
| @@ -33,56 +33,56 @@ private: | |||
| 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 34 | rb.Push(RESULT_SUCCESS); | 34 | rb.Push(RESULT_SUCCESS); |
| 35 | rb.PushIpcInterface<IAudioController>(); | 35 | rb.PushIpcInterface<IAudioController>(); |
| 36 | LOG_DEBUG(Service_AM, "called"); | 36 | NGLOG_DEBUG(Service_AM, "called"); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void GetDisplayController(Kernel::HLERequestContext& ctx) { | 39 | void GetDisplayController(Kernel::HLERequestContext& ctx) { |
| 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 41 | rb.Push(RESULT_SUCCESS); | 41 | rb.Push(RESULT_SUCCESS); |
| 42 | rb.PushIpcInterface<IDisplayController>(); | 42 | rb.PushIpcInterface<IDisplayController>(); |
| 43 | LOG_DEBUG(Service_AM, "called"); | 43 | NGLOG_DEBUG(Service_AM, "called"); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { | 46 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { |
| 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 48 | rb.Push(RESULT_SUCCESS); | 48 | rb.Push(RESULT_SUCCESS); |
| 49 | rb.PushIpcInterface<IDebugFunctions>(); | 49 | rb.PushIpcInterface<IDebugFunctions>(); |
| 50 | LOG_DEBUG(Service_AM, "called"); | 50 | NGLOG_DEBUG(Service_AM, "called"); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | void GetWindowController(Kernel::HLERequestContext& ctx) { | 53 | void GetWindowController(Kernel::HLERequestContext& ctx) { |
| 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 55 | rb.Push(RESULT_SUCCESS); | 55 | rb.Push(RESULT_SUCCESS); |
| 56 | rb.PushIpcInterface<IWindowController>(); | 56 | rb.PushIpcInterface<IWindowController>(); |
| 57 | LOG_DEBUG(Service_AM, "called"); | 57 | NGLOG_DEBUG(Service_AM, "called"); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void GetSelfController(Kernel::HLERequestContext& ctx) { | 60 | void GetSelfController(Kernel::HLERequestContext& ctx) { |
| 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 62 | rb.Push(RESULT_SUCCESS); | 62 | rb.Push(RESULT_SUCCESS); |
| 63 | rb.PushIpcInterface<ISelfController>(nvflinger); | 63 | rb.PushIpcInterface<ISelfController>(nvflinger); |
| 64 | LOG_DEBUG(Service_AM, "called"); | 64 | NGLOG_DEBUG(Service_AM, "called"); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | void GetCommonStateGetter(Kernel::HLERequestContext& ctx) { | 67 | void GetCommonStateGetter(Kernel::HLERequestContext& ctx) { |
| 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 69 | rb.Push(RESULT_SUCCESS); | 69 | rb.Push(RESULT_SUCCESS); |
| 70 | rb.PushIpcInterface<ICommonStateGetter>(); | 70 | rb.PushIpcInterface<ICommonStateGetter>(); |
| 71 | LOG_DEBUG(Service_AM, "called"); | 71 | NGLOG_DEBUG(Service_AM, "called"); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { | 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { |
| 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 76 | rb.Push(RESULT_SUCCESS); | 76 | rb.Push(RESULT_SUCCESS); |
| 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); | 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); |
| 78 | LOG_DEBUG(Service_AM, "called"); | 78 | NGLOG_DEBUG(Service_AM, "called"); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { | 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { |
| 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 83 | rb.Push(RESULT_SUCCESS); | 83 | rb.Push(RESULT_SUCCESS); |
| 84 | rb.PushIpcInterface<IApplicationFunctions>(); | 84 | rb.PushIpcInterface<IApplicationFunctions>(); |
| 85 | LOG_DEBUG(Service_AM, "called"); | 85 | NGLOG_DEBUG(Service_AM, "called"); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; | 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; |
| @@ -92,7 +92,7 @@ void AppletOE::OpenApplicationProxy(Kernel::HLERequestContext& ctx) { | |||
| 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 93 | rb.Push(RESULT_SUCCESS); | 93 | rb.Push(RESULT_SUCCESS); |
| 94 | rb.PushIpcInterface<IApplicationProxy>(nvflinger); | 94 | rb.PushIpcInterface<IApplicationProxy>(nvflinger); |
| 95 | LOG_DEBUG(Service_AM, "called"); | 95 | NGLOG_DEBUG(Service_AM, "called"); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | AppletOE::AppletOE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) | 98 | AppletOE::AppletOE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) |