GekkoDisassembler: Remove unused parameter dmode from nooper function
With the removal of m_flags, dmode is no longer used in nooper.
This commit is contained in:
parent
317bb629b9
commit
a732647e5a
|
@ -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))
|
if (in & (PPCDMASK | PPCAMASK | PPCBMASK | 1))
|
||||||
{
|
{
|
||||||
|
@ -1316,7 +1316,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 50:
|
case 50:
|
||||||
nooper(in, "rfi", PPCF_SUPER);
|
nooper(in, "rfi");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 129:
|
case 129:
|
||||||
|
@ -1324,7 +1324,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 150:
|
case 150:
|
||||||
nooper(in, "isync", 0);
|
nooper(in, "isync");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 193:
|
case 193:
|
||||||
|
@ -1747,7 +1747,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 370:
|
case 370:
|
||||||
nooper(in, "tlbia", PPCF_SUPER);
|
nooper(in, "tlbia");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 371:
|
case 371:
|
||||||
|
@ -1832,7 +1832,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 498:
|
case 498:
|
||||||
nooper(in, "slbia", PPCF_SUPER | PPCF_64);
|
nooper(in, "slbia");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 512:
|
case 512:
|
||||||
|
@ -1868,7 +1868,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 566:
|
case 566:
|
||||||
nooper(in, "tlbsync", PPCF_SUPER);
|
nooper(in, "tlbsync");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 567:
|
case 567:
|
||||||
|
@ -1884,7 +1884,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 598:
|
case 598:
|
||||||
nooper(in, "sync", PPCF_SUPER);
|
nooper(in, "sync");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 599:
|
case 599:
|
||||||
|
@ -1947,7 +1947,7 @@ u32* GekkoDisassembler::DoDisassembly(bool big_endian)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 854:
|
case 854:
|
||||||
nooper(in, "eieio", PPCF_SUPER);
|
nooper(in, "eieio");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 918:
|
case 918:
|
||||||
|
|
|
@ -66,7 +66,7 @@ private:
|
||||||
static void bli(u32 in);
|
static void bli(u32 in);
|
||||||
static void mcrf(u32 in, std::string_view suffix);
|
static void mcrf(u32 in, std::string_view suffix);
|
||||||
static void crop(u32 in, std::string_view n1, std::string_view n2);
|
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 rlw(u32 in, std::string_view name, int i);
|
||||||
static void ori(u32 in, std::string_view name);
|
static void ori(u32 in, std::string_view name);
|
||||||
static void rld(u32 in, std::string_view name, int i);
|
static void rld(u32 in, std::string_view name, int i);
|
||||||
|
|
Loading…
Reference in New Issue