Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMo1 committed Aug 17, 2023
2 parents f54cdf4 + fc6fdf9 commit 5f55d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/disassembler/disassembler.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function Disassembler() {
function addrFromOpcodeEntry(pc, entry)
{
console.assert(entry.label);
if (entry.address)
if (typeof entry.address !== 'undefined')
return entry.address;

console.assert(entry.offset);
Expand Down

0 comments on commit 5f55d92

Please sign in to comment.