Removed some warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@403
This commit is contained in:
parent
e4f90123ff
commit
e8ce6d4628
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ void VGA_DrawTEXT(Bit8u * bitdata,Bitu pitch) {
|
|||
vga.config.retrace=true;
|
||||
|
||||
/* Draw a cursor */
|
||||
if ((vga.draw.cursor_col*8)>=vga.draw.width) return;
|
||||
if ((vga.draw.cursor_row*16)>=vga.draw.height) return;
|
||||
if (((Bitu)vga.draw.cursor_col*8)>=vga.draw.width) return;
|
||||
if (((Bitu)vga.draw.cursor_row*16)>=vga.draw.height) return;
|
||||
Bit8u * cursor_draw=bitdata+(vga.draw.cursor_row*16+15)*pitch+vga.draw.cursor_col*8;
|
||||
if (vga.draw.cursor_count>8) {
|
||||
for (Bit8u loop=0;loop<8;loop++) *cursor_draw++=15;
|
||||
|
|
Loading…
Add table
Reference in a new issue