Previous 199869 Revisions Next

r29491 Wednesday 9th April, 2014 at 16:18:08 UTC by Alex Jackson
Bump UI gfx viewer column limit up (nw)
[src/emu/ui]viewgfx.c

trunk/src/emu/ui/viewgfx.c
r29490r29491
621621         break;
622622      xcells--;
623623   }
624   info.columns[set] = xcells;
624625
625626   // worst case, we need a pixel scale of 1
626627   pixelscale = MAX(1, pixelscale);
r29490r29491
770771   // clamp within range
771772   if (info.columns[set] < 2)
772773   { info.columns[set] = 2; state.bitmap_dirty = true; }
773   if (info.columns[set] > 32)
774   { info.columns[set] = 32; state.bitmap_dirty = true; }
774   if (info.columns[set] > 128)
775   { info.columns[set] = 128; state.bitmap_dirty = true; }
775776
776777   // handle rotation (R)
777778   if (ui_input_pressed(machine, IPT_UI_ROTATE))

Previous 199869 Revisions Next


© 1997-2024 The MAME Team