mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
Bump UI gfx viewer column limit up (nw)
This commit is contained in:
parent
6f2a26a91f
commit
ed32a3321c
@ -621,6 +621,7 @@ static void gfxset_handler(running_machine &machine, render_container *container
|
|||||||
break;
|
break;
|
||||||
xcells--;
|
xcells--;
|
||||||
}
|
}
|
||||||
|
info.columns[set] = xcells;
|
||||||
|
|
||||||
// worst case, we need a pixel scale of 1
|
// worst case, we need a pixel scale of 1
|
||||||
pixelscale = MAX(1, pixelscale);
|
pixelscale = MAX(1, pixelscale);
|
||||||
@ -770,8 +771,8 @@ static void gfxset_handle_keys(running_machine &machine, ui_gfx_state &state, in
|
|||||||
// clamp within range
|
// clamp within range
|
||||||
if (info.columns[set] < 2)
|
if (info.columns[set] < 2)
|
||||||
{ info.columns[set] = 2; state.bitmap_dirty = true; }
|
{ info.columns[set] = 2; state.bitmap_dirty = true; }
|
||||||
if (info.columns[set] > 32)
|
if (info.columns[set] > 128)
|
||||||
{ info.columns[set] = 32; state.bitmap_dirty = true; }
|
{ info.columns[set] = 128; state.bitmap_dirty = true; }
|
||||||
|
|
||||||
// handle rotation (R)
|
// handle rotation (R)
|
||||||
if (ui_input_pressed(machine, IPT_UI_ROTATE))
|
if (ui_input_pressed(machine, IPT_UI_ROTATE))
|
||||||
|
Loading…
Reference in New Issue
Block a user