diff --git a/libmupen64plus/mupen64plus-core/src/debugger/dbg_decoder.c b/libmupen64plus/mupen64plus-core/src/debugger/dbg_decoder.c index 59d8340aec..18b5bfbf85 100644 --- a/libmupen64plus/mupen64plus-core/src/debugger/dbg_decoder.c +++ b/libmupen64plus/mupen64plus-core/src/debugger/dbg_decoder.c @@ -805,6 +805,10 @@ EXPORT char* CALL biz_r4300_decode_op(uint32 instr, uint32 counter) static char tmp[128]; static struct r4k_dis_t state; memset( &state, 0, sizeof(state) ); + + //in case the disassembler does nothing + tmp[0] = 0; + r4k_disassemble( &state, instr, diff --git a/output/dll/mupen64plus.dll b/output/dll/mupen64plus.dll index 0223d5ebe2..535e60bd2f 100644 Binary files a/output/dll/mupen64plus.dll and b/output/dll/mupen64plus.dll differ