From 0a44d9f600938b4a7e9235ea82f141f838f66188 Mon Sep 17 00:00:00 2001 From: iota97 Date: Sun, 6 Dec 2020 15:50:50 +0100 Subject: [PATCH] Do not use x86 for other machine --- GPU/Common/VertexDecoderCommon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GPU/Common/VertexDecoderCommon.cpp b/GPU/Common/VertexDecoderCommon.cpp index d543eab79a..0f46ea522c 100644 --- a/GPU/Common/VertexDecoderCommon.cpp +++ b/GPU/Common/VertexDecoderCommon.cpp @@ -1350,10 +1350,10 @@ std::string VertexDecoder::GetString(DebugShaderStringType stringType) { lines = DisassembleArm64((const u8 *)jitted_, jittedSize_); #elif PPSSPP_ARCH(ARM) lines = DisassembleArm2((const u8 *)jitted_, jittedSize_); -#elif PPSSPP_ARCH(MIPS) || PPSSPP_ARCH(MIPS64) - // No MIPS disassembler defined -#else +#elif PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64) lines = DisassembleX86((const u8 *)jitted_, jittedSize_); +#else + // No disassembler defined #endif std::string buffer; for (auto line : lines) {