mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Merge pull request #5239 from sepalani/is-valid-instruction
PPCTables: Do not consider OPTYPE_UNKNOWN as valid instruction
This commit is contained in:
commit
ae80a7541d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue