mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
PPCTables: Do not consider OPTYPE_UNKNOWN as valid instruction
This commit is contained in:
parent
9d070a5df7
commit
27dcf92faa
@ -131,7 +131,7 @@ const char* GetInstructionName(UGeckoInstruction _inst)
|
||||
bool IsValidInstruction(UGeckoInstruction _inst)
|
||||
{
|
||||
const GekkoOPInfo* info = GetOpInfo(_inst);
|
||||
return info != nullptr;
|
||||
return info != nullptr && info->type != OPTYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
void CountInstruction(UGeckoInstruction _inst)
|
||||
|
Loading…
x
Reference in New Issue
Block a user