mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-21 13:22:23 -08:00
more mule_module coverage; bugfix edge-case memory view range calculation causing flipped min/max
This commit is contained in:
1 parent
3917218a4e
commit
bcdc2f3026
3 files changed
+26
-15
No files matched your search
@@ -7316,6 +7316,10 @@ DF_VIEW_UI_FUNCTION_DEF(Memory)
|
||||
viz_range_rows.max = clamp_1s64(scroll_idx_rng, viz_range_rows.max);
|
||||
viz_range_bytes.min = viz_range_rows.min*mv->num_columns;
|
||||
viz_range_bytes.max = (viz_range_rows.max+1)*mv->num_columns+1;
|
||||
if(viz_range_bytes.min > viz_range_bytes.max)
|
||||
{
|
||||
Swap(U64, viz_range_bytes.min, viz_range_bytes.max);
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user