diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-08 00:21:35 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-08 00:33:46 +0200 |
commit | d97b9775409e05ffba8a78632bd41863570e9830 (patch) | |
tree | 2bed3e545cb8b660d695763ce27dc3069847d7b1 /src/core/arm/dyncom/arm_dyncom_interpreter.cpp | |
parent | Dyncom: Tweak types and log formatting (diff) | |
download | yuzu-d97b9775409e05ffba8a78632bd41863570e9830.tar yuzu-d97b9775409e05ffba8a78632bd41863570e9830.tar.gz yuzu-d97b9775409e05ffba8a78632bd41863570e9830.tar.bz2 yuzu-d97b9775409e05ffba8a78632bd41863570e9830.tar.lz yuzu-d97b9775409e05ffba8a78632bd41863570e9830.tar.xz yuzu-d97b9775409e05ffba8a78632bd41863570e9830.tar.zst yuzu-d97b9775409e05ffba8a78632bd41863570e9830.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp index 8073bb705..f4fbb8d04 100644 --- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp +++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp @@ -10,7 +10,6 @@ #include "common/common_types.h" #include "common/logging/log.h" #include "common/microprofile.h" -#include "core/arm/disassembler/arm_disasm.h" #include "core/arm/dyncom/arm_dyncom_dec.h" #include "core/arm/dyncom/arm_dyncom_interpreter.h" #include "core/arm/dyncom/arm_dyncom_run.h" @@ -828,10 +827,8 @@ static unsigned int InterpreterTranslateInstruction(const ARMul_State* cpu, cons int idx; if (DecodeARMInstruction(inst, &idx) == ARMDecodeStatus::FAILURE) { - std::string disasm = ARM_Disasm::Disassemble(phys_addr, inst); - LOG_ERROR(Core_ARM11, - "Decode failure.\tPC: [0x%08" PRIX32 "]\tInstruction: %s [%08" PRIX32 "]", - phys_addr, disasm.c_str(), inst); + LOG_ERROR(Core_ARM11, "Decode failure.\tPC: [0x%08" PRIX32 "]\tInstruction: %08" PRIX32, + phys_addr, inst); LOG_ERROR(Core_ARM11, "cpsr=0x%" PRIX32 ", cpu->TFlag=%d, r15=0x%08" PRIX32, cpu->Cpsr, cpu->TFlag, cpu->Reg[15]); CITRA_IGNORE_EXIT(-1); |