diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-12-07 07:35:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 07:35:25 +0100 |
commit | 9ae6224f12db36cf78892b4116145599041713a6 (patch) | |
tree | 2ed48adfe1f36defba52c3f5b33329e81e262340 /src/video_core/gpu.cpp | |
parent | Merge pull request #5148 from comex/xx-unused-fields (diff) | |
parent | video_core: Remove unnecessary enum class casting in logging messages (diff) | |
download | yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.gz yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.bz2 yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.lz yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.xz yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.zst yuzu-9ae6224f12db36cf78892b4116145599041713a6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 964b3f3dc..e2512a7f2 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -299,8 +299,7 @@ void GPU::CallPullerMethod(const MethodCall& method_call) { break; } default: - LOG_ERROR(HW_GPU, "Special puller engine method {:X} not implemented", - static_cast<u32>(method)); + LOG_ERROR(HW_GPU, "Special puller engine method {:X} not implemented", method); break; } } @@ -379,7 +378,7 @@ void GPU::ProcessBindMethod(const MethodCall& method_call) { dma_pusher->BindSubchannel(kepler_memory.get(), method_call.subchannel); break; default: - UNIMPLEMENTED_MSG("Unimplemented engine {:04X}", static_cast<u32>(engine_id)); + UNIMPLEMENTED_MSG("Unimplemented engine {:04X}", engine_id); } } @@ -392,8 +391,7 @@ void GPU::ProcessFenceActionMethod() { IncrementSyncPoint(regs.fence_action.syncpoint_id); break; default: - UNIMPLEMENTED_MSG("Unimplemented operation {}", - static_cast<u32>(regs.fence_action.op.Value())); + UNIMPLEMENTED_MSG("Unimplemented operation {}", regs.fence_action.op.Value()); } } |