Skip to content

Commit

Permalink
riscv: Fix unittest compilation on RISC-V.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Dec 21, 2022
1 parent 5916b3f commit dfbe10e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unittest/JitHarness.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit dfbe10e

Please sign in to comment.