Previous 15994 Revisions Next

r8828 Saturday 21st August, 2010 at 16:35:58 UTC by Wilbert Pol
[SGB] Attempt to fix compile warnings
[src/mess/video]gb.c

src/mess/video/gb.c
r8827r8828
742742            {
743743               rectangle r;
744744               r.min_x = SGB_XOFFSET;
745               r.max_x -= SGB_XOFFSET;
745               r.max_x = SGB_XOFFSET + 160-1;
746746               r.min_y = SGB_YOFFSET;
747               r.max_y -= SGB_YOFFSET;
747               r.max_y = SGB_YOFFSET + 144 - 1;
748748               bitmap_fill( bitmap, &r , 0);
749749            } return;
750750         case 3: /* Blank screen (white - or should it be color 0?) */
751751            {
752752               rectangle r;
753753               r.min_x = SGB_XOFFSET;
754               r.max_x -= SGB_XOFFSET;
754               r.max_x = SGB_XOFFSET + 160 - 1;
755755               r.min_y = SGB_YOFFSET;
756               r.max_y -= SGB_YOFFSET;
756               r.max_y = SGB_YOFFSET + 144 - 1;
757757               bitmap_fill( bitmap, &r , 32767);
758758            } return;
759759         }
r8827r8828
773773         {
774774            rectangle r;
775775            r.min_x = SGB_XOFFSET;
776            r.max_x -= SGB_XOFFSET;
776            r.max_x = SGB_XOFFSET + 160 - 1;
777777            r.min_y = r.max_y = gb_lcd.current_line + SGB_YOFFSET;
778778            bitmap_fill( bitmap, &r , 0);
779779         }
r8827r8828
855855            {
856856               rectangle r;
857857               r.min_x = SGB_XOFFSET;
858               r.max_x -= SGB_XOFFSET;
858               r.max_x = SGB_XOFFSET + 160 - 1;
859859               r.min_y = r.max_y = gb_lcd.current_line + SGB_YOFFSET;
860860               bitmap_fill(bitmap, &r, 0);
861861            }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team