Skip to content

Commit 55e06d0

Browse files
committed
eliminate unnecessary waits in empty disassembly view
1 parent 0d1ccd7 commit 55e06d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dasm/dasm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ internal DASM_InstArray
263263
dasm_inst_array_from_handle(Arena *arena, DASM_Handle handle, U64 endt_us)
264264
{
265265
DASM_InstArray result = {0};
266+
if(handle.u64[0] != 0 || handle.u64[1] != 0)
266267
{
267268
U64 hash = handle.u64[0];
268269
U64 id = handle.u64[1];

0 commit comments

Comments
 (0)