| 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 |
| r12946 | r12947 | |
|---|---|---|
| 237 | 237 | int previous_digit = chip->cursor_ram[i]; |
| 238 | 238 | |
| 239 | 239 | /* 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]; | |
| 241 | 241 | |
| 242 | 242 | /* Call update function if we changed something */ |
| 243 | 243 | if (previous_digit != digit) |
| Previous | 15994 Revisions | Next |