mirror of
https://github.com/holub/mame
synced 2025-05-31 18:11:50 +03:00
Stop crash/assert when trying to decrease the debugger memory window bytes per line to 0.
This commit is contained in:
parent
12a8a9312a
commit
804434aa15
@ -3336,7 +3336,9 @@ void memory_view_set_chunks_per_row(debug_view *view, UINT32 rowchunks)
|
||||
debug_view_memory *memdata = view->extra_data;
|
||||
|
||||
assert(view->type == DVT_MEMORY);
|
||||
assert(rowchunks > 0);
|
||||
|
||||
if (rowchunks < 1)
|
||||
return;
|
||||
|
||||
if (rowchunks != memdata->chunks_per_row)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user