| Previous | 15994 Revisions | Next |
| r4655 Saturday 9th May, 2009 at 15:27:16 UTC by Firewave |
|---|
| Fixed some warning raised by GCC 4.4 |
| [src/mess/video] | gamecom.c vc4000.c |
| r4654 | r4655 | |
|---|---|---|
| 12 | 12 | if ( scanline == 0 ) { |
| 13 | 13 | base_address = ( gamecom_internal_registers[SM8521_LCDC] & 0x40 ) ? 0x2000 : 0x0000; |
| 14 | 14 | } |
| 15 | if ( ! gamecom_internal_registers[SM8521_LCDC] & 0x80 ) { | |
| 15 | if ( ! (gamecom_internal_registers[SM8521_LCDC] & 0x80) ) { | |
| 16 | 16 | rectangle rec; |
| 17 | 17 | rec.min_x = 0; |
| 18 | 18 | rec.max_x = Y_PIXELS - 1; |
| r4654 | r4655 | |
|---|---|---|
| 570 | 570 | plot_box(vc4000_video.bitmap, 0, vc4000_video.line, width, 1, (vc4000_video.reg.d.background)&7); |
| 571 | 571 | |
| 572 | 572 | if (line<0 || line>=200) return; |
| 573 | if (!vc4000_video.reg.d.background&8) return; | |
| 573 | if (!(vc4000_video.reg.d.background&8)) return; | |
| 574 | 574 | |
| 575 | 575 | i=(line/20)*2; |
| 576 | 576 | if (line%20>=2) i++; |
| Previous | 15994 Revisions | Next |