Cast to int for enums that are not formattable

This commit is contained in:
Pokechu22 committed 2022-01-13 11:11:08 -08:00
1 parent 5465775d11
commit 1a92699455
19 files changed
+60 -42

No files matched your search

@@ -100,7 +100,8 @@ void CachedInterpreter::ExecuteOneBlock()
break;
default:
ERROR_LOG_FMT(POWERPC, "Unknown CachedInterpreter Instruction: {}", code->type);
ERROR_LOG_FMT(POWERPC, "Unknown CachedInterpreter Instruction: {}",
static_cast<int>(code->type));
break;
}
}