riscv: Fix unittest compilation on RISC-V.

This commit is contained in:
Unknown W. Brackets 2022-12-21 03:08:21 +00:00
parent 5916b3f3a8
commit dfbe10eb08

View file

@ -184,8 +184,10 @@ bool TestJit() {
std::vector<std::string> lines = DisassembleArm2(block->normalEntry, block->codeSize);
#elif PPSSPP_ARCH(ARM64)
std::vector<std::string> lines = DisassembleArm64(block->normalEntry, block->codeSize);
#else
#elif PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64)
std::vector<std::string> lines = DisassembleX86(block->normalEntry, block->codeSize);
#else
std::vector<std::string> lines;
#endif
// Cut off at 25 due to the repetition above. Might need tweaking for large instructions.
const int cutoff = 25;