mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
riscv: Fix unittest compilation on RISC-V.
This commit is contained in:
parent
5916b3f3a8
commit
dfbe10eb08
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue