diff options
| author | 2018-12-01 02:05:19 -0500 | |
|---|---|---|
| committer | 2018-12-01 02:11:42 -0500 | |
| commit | e88cdcc912ae6929f9008c1b307c62f1e7b0637f (patch) | |
| tree | dd7c562968eeaa58051c62fc317256a20687e11b | |
| parent | Merge pull request #1829 from lioncash/lang (diff) | |
| download | yuzu-e88cdcc912ae6929f9008c1b307c62f1e7b0637f.tar.gz yuzu-e88cdcc912ae6929f9008c1b307c62f1e7b0637f.tar.xz yuzu-e88cdcc912ae6929f9008c1b307c62f1e7b0637f.zip | |
Fix debug build
A non-existent parameter was left in some formatting calls (the logging
macro for which only does anything meaningful on debug builds)
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/gpu.cpp | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 5e9660a48..3339777c1 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -1044,7 +1044,7 @@ static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, V | |||
| 1044 | LOG_TRACE(Kernel_SVC, | 1044 | LOG_TRACE(Kernel_SVC, |
| 1045 | "called entrypoint=0x{:08X} ({}), arg=0x{:08X}, stacktop=0x{:08X}, " | 1045 | "called entrypoint=0x{:08X} ({}), arg=0x{:08X}, stacktop=0x{:08X}, " |
| 1046 | "threadpriority=0x{:08X}, processorid=0x{:08X} : created handle=0x{:08X}", | 1046 | "threadpriority=0x{:08X}, processorid=0x{:08X} : created handle=0x{:08X}", |
| 1047 | entry_point, name, arg, stack_top, priority, processor_id, *out_handle); | 1047 | entry_point, arg, stack_top, priority, processor_id, *out_handle); |
| 1048 | 1048 | ||
| 1049 | if (priority > THREADPRIO_LOWEST) { | 1049 | if (priority > THREADPRIO_LOWEST) { |
| 1050 | LOG_ERROR(Kernel_SVC, "An invalid priority was specified, expected {} but got {}", | 1050 | LOG_ERROR(Kernel_SVC, "An invalid priority was specified, expected {} but got {}", |
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 6c81dee64..fd1242333 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp | |||
| @@ -128,10 +128,8 @@ enum class BufferMethods { | |||
| 128 | }; | 128 | }; |
| 129 | 129 | ||
| 130 | void GPU::CallMethod(const MethodCall& method_call) { | 130 | void GPU::CallMethod(const MethodCall& method_call) { |
| 131 | LOG_TRACE(HW_GPU, | 131 | LOG_TRACE(HW_GPU, "Processing method {:08X} on subchannel {}", method_call.method, |
| 132 | "Processing method {:08X} on subchannel {} value " | 132 | method_call.subchannel); |
| 133 | "{:08X} remaining params {}", | ||
| 134 | MethCall.method, MethCall.subchannel, value, remaining_params); | ||
| 135 | 133 | ||
| 136 | ASSERT(method_call.subchannel < bound_engines.size()); | 134 | ASSERT(method_call.subchannel < bound_engines.size()); |
| 137 | 135 | ||