Previous 15994 Revisions Next

r12947 Tuesday 27th September, 2011 at 16:13:09 UTC by Jonathan Gevaryahu
Fix for cursor handling in dl1416 [Lord Nightmare]
[src/mess/video]dl1416.c

src/mess/video/dl1416.c
r12946r12947
237237               int previous_digit = chip->cursor_ram[i];
238238
239239               /* Either set the cursor or restore the original character */
240               digit = data & i ? SEG_CURSOR : chip->cursor_ram[i];
240               digit = data & (1<<i) ? SEG_CURSOR : chip->cursor_ram[i];
241241
242242               /* Call update function if we changed something */
243243               if (previous_digit != digit)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team