From a732647e5a7baaadef20e9490cca2427cf085df5 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sat, 1 Jul 2023 16:51:47 -0700 Subject: [PATCH] GekkoDisassembler: Remove unused parameter dmode from nooper function With the removal of m_flags, dmode is no longer used in nooper. --- Source/Core/Common/GekkoDisassembler.cpp | 16 ++++++++-------- Source/Core/Common/GekkoDisassembler.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/Core/Common/GekkoDisassembler.cpp b/Source/Core/Common/GekkoDisassembler.cpp index 6ccb5cac6d..063ed89fda 100644 --- a/Source/Core/Common/GekkoDisassembler.cpp +++ b/Source/Core/Common/GekkoDisassembler.cpp @@ -619,7 +619,7 @@ void GekkoDisassembler::crop(u32 in, std::string_view n1, std::string_view n2) } } -void GekkoDisassembler::nooper(u32 in, std::string_view name, unsigned char dmode) +void GekkoDisassembler::nooper(u32 in, std::string_view name) { if (in & (PPCDMASK | PPCAMASK | PPCBMASK | 1)) { @@ -1316,7 +1316,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 50: - nooper(in, "rfi", PPCF_SUPER); + nooper(in, "rfi"); break; case 129: @@ -1324,7 +1324,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 150: - nooper(in, "isync", 0); + nooper(in, "isync"); break; case 193: @@ -1747,7 +1747,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 370: - nooper(in, "tlbia", PPCF_SUPER); + nooper(in, "tlbia"); break; case 371: @@ -1832,7 +1832,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 498: - nooper(in, "slbia", PPCF_SUPER | PPCF_64); + nooper(in, "slbia"); break; case 512: @@ -1868,7 +1868,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 566: - nooper(in, "tlbsync", PPCF_SUPER); + nooper(in, "tlbsync"); break; case 567: @@ -1884,7 +1884,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 598: - nooper(in, "sync", PPCF_SUPER); + nooper(in, "sync"); break; case 599: @@ -1947,7 +1947,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian) break; case 854: - nooper(in, "eieio", PPCF_SUPER); + nooper(in, "eieio"); break; case 918: diff --git a/Source/Core/Common/GekkoDisassembler.h b/Source/Core/Common/GekkoDisassembler.h index 521216afe2..5b87a1ddd2 100644 --- a/Source/Core/Common/GekkoDisassembler.h +++ b/Source/Core/Common/GekkoDisassembler.h @@ -66,7 +66,7 @@ private: static void bli(u32 in); static void mcrf(u32 in, std::string_view suffix); static void crop(u32 in, std::string_view n1, std::string_view n2); - static void nooper(u32 in, std::string_view name, unsigned char dmode); + static void nooper(u32 in, std::string_view name); static void rlw(u32 in, std::string_view name, int i); static void ori(u32 in, std::string_view name); static void rld(u32 in, std::string_view name, int i);