diff --git a/Source/Core/Core/PowerPC/PPCTables.cpp b/Source/Core/Core/PowerPC/PPCTables.cpp index 5bfc188fd3..5cb53269a9 100644 --- a/Source/Core/Core/PowerPC/PPCTables.cpp +++ b/Source/Core/Core/PowerPC/PPCTables.cpp @@ -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)