Previous 15994 Revisions Next

r2246 Friday 4th April, 2008 at 05:45:17 UTC by Justin Kerk
[BW2] Fix aspect ratio
[src/mess]mess.mak
[src/mess/drivers]bw2.c
[src/mess/layout]bw2.lay*

src/mess/layout/bw2.lay
r0r2246
1<?xml version="1.0"?>
2<mamelayout version="2">
3       <view name="LCD with square pixels">
4               <screen index="0">
5                       <bounds left="0" top="0" right="640" bottom="200" />
6               </screen>
7       </view>
8</mamelayout>
src/mess/mess.mak
r2245r2246
12181218
12191219$(MESS_DRIVERS)/acrnsys1.o:   $(MESS_LAYOUT)/acrnsys1.lh
12201220$(MESS_DRIVERS)/aim65.o:   $(MESS_LAYOUT)/aim65.lh
1221$(MESS_DRIVERS)/bw2.o:      $(MESS_LAYOUT)/bw2.lh
12211222$(MESS_DRIVERS)/coco.o:      $(MESS_LAYOUT)/coco3.lh
12221223$(MESS_DRIVERS)/cybiko.o:   $(MESS_LAYOUT)/cybiko.lh
12231224$(MESS_DRIVERS)/gamepock.o:   $(MESS_LAYOUT)/gamepock.lh
src/mess/drivers/bw2.c
r2245r2246
3535#include "devices/basicdsk.h"
3636#include "devices/printer.h"
3737#include "video/msm6255.h"
38#include "bw2.lh"
3839
3940#define SCREEN_TAG   "main"
4041#define MSM6255_TAG   "ic49"
r2245r2246
584585   MDRV_SCREEN_FORMAT( BITMAP_FORMAT_INDEXED16 )
585586   MDRV_SCREEN_SIZE( 640, 200 )
586587   MDRV_SCREEN_VISIBLE_AREA( 0, 640-1, 0, 200-1 )
588   MDRV_DEFAULT_LAYOUT( layout_bw2 )
587589
588590   MDRV_PALETTE_LENGTH( 2 )
589591   MDRV_PALETTE_INIT( black_and_white )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team