yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

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)
This commit is contained in:
Lioncash 2018-12-01 02:05:19 -05:00
parent b7104263ba
commit e88cdcc912
2 changed files with 3 additions and 5 deletions

View File

@ -1044,7 +1044,7 @@ static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, V
LOG_TRACE(Kernel_SVC, LOG_TRACE(Kernel_SVC,
"called entrypoint=0x{:08X} ({}), arg=0x{:08X}, stacktop=0x{:08X}, " "called entrypoint=0x{:08X} ({}), arg=0x{:08X}, stacktop=0x{:08X}, "
"threadpriority=0x{:08X}, processorid=0x{:08X} : created handle=0x{:08X}", "threadpriority=0x{:08X}, processorid=0x{:08X} : created handle=0x{:08X}",
entry_point, name, arg, stack_top, priority, processor_id, *out_handle); entry_point, arg, stack_top, priority, processor_id, *out_handle);
if (priority > THREADPRIO_LOWEST) { if (priority > THREADPRIO_LOWEST) {
LOG_ERROR(Kernel_SVC, "An invalid priority was specified, expected {} but got {}", LOG_ERROR(Kernel_SVC, "An invalid priority was specified, expected {} but got {}",

View File

@ -128,10 +128,8 @@ enum class BufferMethods {
}; };
void GPU::CallMethod(const MethodCall& method_call) { void GPU::CallMethod(const MethodCall& method_call) {
LOG_TRACE(HW_GPU, LOG_TRACE(HW_GPU, "Processing method {:08X} on subchannel {}", method_call.method,
"Processing method {:08X} on subchannel {} value " method_call.subchannel);
"{:08X} remaining params {}",
MethCall.method, MethCall.subchannel, value, remaining_params);
ASSERT(method_call.subchannel < bound_engines.size()); ASSERT(method_call.subchannel < bound_engines.size());