From 8e6337ec8e975202819a5267bc68a85c046506b0 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 9 Nov 2023 00:04:36 +0100 Subject: arm7: another disassembly fix --- src/devices/cpu/arm7/arm7dasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/arm7/arm7dasm.cpp b/src/devices/cpu/arm7/arm7dasm.cpp index 9a2db80353d..be552b90f2b 100644 --- a/src/devices/cpu/arm7/arm7dasm.cpp +++ b/src/devices/cpu/arm7/arm7dasm.cpp @@ -650,7 +650,7 @@ u32 arm7_disassembler::arm7_disasm( std::ostream &stream, uint32_t pc, uint32_t //hide zero offsets if(opcode&0xfff) { stream << ", #"; - if( opcode&0x00800000 ) + if( !(opcode&0x00800000 )) stream << '-'; if( (opcode&0xfff) > 9) stream << "0x"; -- cgit v1.2.3