mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
Merge pull request #8844 from Kelebek1/demote
Demote services from warning/info to debug to reduce log spam
This commit is contained in:
commit
6690dfc486
5 changed files with 16 additions and 16 deletions
|
@ -754,7 +754,7 @@ void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) {
|
void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_AM, "(STUBBED) called");
|
LOG_DEBUG(Service_AM, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
|
|
|
@ -80,7 +80,7 @@ PerformanceConfiguration Controller::GetCurrentPerformanceConfiguration(Performa
|
||||||
}
|
}
|
||||||
|
|
||||||
void Controller::SetClockSpeed(u32 mhz) {
|
void Controller::SetClockSpeed(u32 mhz) {
|
||||||
LOG_INFO(Service_APM, "called, mhz={:08X}", mhz);
|
LOG_DEBUG(Service_APM, "called, mhz={:08X}", mhz);
|
||||||
// TODO(DarkLordZach): Actually signal core_timing to change clock speed.
|
// TODO(DarkLordZach): Actually signal core_timing to change clock speed.
|
||||||
// TODO(Rodrigo): Remove [[maybe_unused]] when core_timing is used.
|
// TODO(Rodrigo): Remove [[maybe_unused]] when core_timing is used.
|
||||||
}
|
}
|
||||||
|
|
|
@ -819,12 +819,12 @@ void Hid::EnableSixAxisSensorUnalteredPassthrough(Kernel::HLERequestContext& ctx
|
||||||
const auto result = controller.EnableSixAxisSensorUnalteredPassthrough(
|
const auto result = controller.EnableSixAxisSensorUnalteredPassthrough(
|
||||||
parameters.sixaxis_handle, parameters.enabled);
|
parameters.sixaxis_handle, parameters.enabled);
|
||||||
|
|
||||||
LOG_WARNING(Service_HID,
|
LOG_DEBUG(Service_HID,
|
||||||
"(STUBBED) called, enabled={}, npad_type={}, npad_id={}, device_index={}, "
|
"(STUBBED) called, enabled={}, npad_type={}, npad_id={}, device_index={}, "
|
||||||
"applet_resource_user_id={}",
|
"applet_resource_user_id={}",
|
||||||
parameters.enabled, parameters.sixaxis_handle.npad_type,
|
parameters.enabled, parameters.sixaxis_handle.npad_type,
|
||||||
parameters.sixaxis_handle.npad_id, parameters.sixaxis_handle.device_index,
|
parameters.sixaxis_handle.npad_id, parameters.sixaxis_handle.device_index,
|
||||||
parameters.applet_resource_user_id);
|
parameters.applet_resource_user_id);
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(result);
|
rb.Push(result);
|
||||||
|
@ -846,7 +846,7 @@ void Hid::IsSixAxisSensorUnalteredPassthroughEnabled(Kernel::HLERequestContext&
|
||||||
const auto result = controller.IsSixAxisSensorUnalteredPassthroughEnabled(
|
const auto result = controller.IsSixAxisSensorUnalteredPassthroughEnabled(
|
||||||
parameters.sixaxis_handle, is_unaltered_sisxaxis_enabled);
|
parameters.sixaxis_handle, is_unaltered_sisxaxis_enabled);
|
||||||
|
|
||||||
LOG_WARNING(
|
LOG_DEBUG(
|
||||||
Service_HID,
|
Service_HID,
|
||||||
"(STUBBED) called, npad_type={}, npad_id={}, device_index={}, applet_resource_user_id={}",
|
"(STUBBED) called, npad_type={}, npad_id={}, device_index={}, applet_resource_user_id={}",
|
||||||
parameters.sixaxis_handle.npad_type, parameters.sixaxis_handle.npad_id,
|
parameters.sixaxis_handle.npad_type, parameters.sixaxis_handle.npad_id,
|
||||||
|
|
|
@ -46,7 +46,7 @@ private:
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
min = rp.Pop<u32>();
|
min = rp.Pop<u32>();
|
||||||
max = rp.Pop<u32>();
|
max = rp.Pop<u32>();
|
||||||
LOG_WARNING(Service_MM, "(STUBBED) called, min=0x{:X}, max=0x{:X}", min, max);
|
LOG_DEBUG(Service_MM, "(STUBBED) called, min=0x{:X}, max=0x{:X}", min, max);
|
||||||
|
|
||||||
current = min;
|
current = min;
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
@ -54,7 +54,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetOld(Kernel::HLERequestContext& ctx) {
|
void GetOld(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_MM, "(STUBBED) called");
|
LOG_DEBUG(Service_MM, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
|
@ -81,8 +81,8 @@ private:
|
||||||
u32 input_id = rp.Pop<u32>();
|
u32 input_id = rp.Pop<u32>();
|
||||||
min = rp.Pop<u32>();
|
min = rp.Pop<u32>();
|
||||||
max = rp.Pop<u32>();
|
max = rp.Pop<u32>();
|
||||||
LOG_WARNING(Service_MM, "(STUBBED) called, input_id=0x{:X}, min=0x{:X}, max=0x{:X}",
|
LOG_DEBUG(Service_MM, "(STUBBED) called, input_id=0x{:X}, min=0x{:X}, max=0x{:X}", input_id,
|
||||||
input_id, min, max);
|
min, max);
|
||||||
|
|
||||||
current = min;
|
current = min;
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
@ -90,7 +90,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void Get(Kernel::HLERequestContext& ctx) {
|
void Get(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_MM, "(STUBBED) called");
|
LOG_DEBUG(Service_MM, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(ResultSuccess);
|
rb.Push(ResultSuccess);
|
||||||
|
|
|
@ -198,7 +198,7 @@ NvResult nvmap::IocParam(const std::vector<u8>& input, std::vector<u8>& output)
|
||||||
IocParamParams params;
|
IocParamParams params;
|
||||||
std::memcpy(¶ms, input.data(), sizeof(params));
|
std::memcpy(¶ms, input.data(), sizeof(params));
|
||||||
|
|
||||||
LOG_WARNING(Service_NVDRV, "(STUBBED) called type={}", params.param);
|
LOG_DEBUG(Service_NVDRV, "(STUBBED) called type={}", params.param);
|
||||||
|
|
||||||
auto object = GetObject(params.handle);
|
auto object = GetObject(params.handle);
|
||||||
if (!object) {
|
if (!object) {
|
||||||
|
@ -243,7 +243,7 @@ NvResult nvmap::IocFree(const std::vector<u8>& input, std::vector<u8>& output) {
|
||||||
IocFreeParams params;
|
IocFreeParams params;
|
||||||
std::memcpy(¶ms, input.data(), sizeof(params));
|
std::memcpy(¶ms, input.data(), sizeof(params));
|
||||||
|
|
||||||
LOG_WARNING(Service_NVDRV, "(STUBBED) called");
|
LOG_DEBUG(Service_NVDRV, "(STUBBED) called");
|
||||||
|
|
||||||
auto itr = handles.find(params.handle);
|
auto itr = handles.find(params.handle);
|
||||||
if (itr == handles.end()) {
|
if (itr == handles.end()) {
|
||||||
|
|
Loading…
Reference in a new issue