Previous 15994 Revisions Next

r2350 Thursday 10th April, 2008 at 01:54:05 UTC by Justin Kerk
[GMASTER] Fix aspect ratio
[src/mess]mess.mak
[src/mess/drivers]gmaster.c
[src/mess/layout]gmaster.lay*

src/mess/layout/gmaster.lay
r0r2350
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="61" bottom="64" />
6               </screen>
7       </view>
8</mamelayout>
src/mess/mess.mak
r2349r2350
12301230$(MESS_DRIVERS)/gamepock.o:   $(MESS_LAYOUT)/gamepock.lh
12311231$(MESS_DRIVERS)/gb.o:      $(MESS_LAYOUT)/gb.lh
12321232$(MESS_DRIVERS)/glasgow.o:   $(MESS_LAYOUT)/glasgow.lh
1233$(MESS_DRIVERS)/gmaster.o:   $(MESS_LAYOUT)/gmaster.lh
12331234$(MESS_DRIVERS)/mephisto.o:   $(MESS_LAYOUT)/mephisto.lh
12341235$(MESS_DRIVERS)/mk1.o:      $(MESS_LAYOUT)/mk1.lh
12351236$(MESS_DRIVERS)/mk2.o:      $(MESS_LAYOUT)/mk2.lh
src/mess/drivers/gmaster.c
r2349r2350
99#include "devices/cartslot.h"
1010
1111#include "includes/gmaster.h"
12#include "gmaster.lh"
1213
1314#define MAIN_XTAL    12000000
1415
r2349r2350
152153static unsigned char gmaster_palette[2][3] =
153154{
154155#if 1
155    // ziemlich schwierig den lcd touch r�berzubringen
156    // es ist haupts�chlich die das fleckige gr�nlich, bl�uliche
156    // ziemlich schwierig den lcd touch rüberzubringen
157    // es ist hauptsächlich die das fleckige grünlich, bläuliche
157158    { 130, 159, 166 },
158159    { 45,45,43 }
159160#else
r2349r2350
231232  MDRV_PALETTE_LENGTH(sizeof(gmaster_palette)/sizeof(gmaster_palette[0]))
232233  MDRV_VIDEO_UPDATE(gmaster)
233234     MDRV_PALETTE_INIT(gmaster)
235     MDRV_DEFAULT_LAYOUT(layout_gmaster)
234236
235237     MDRV_SPEAKER_STANDARD_MONO("gmaster")
236238     MDRV_SOUND_ADD(CUSTOM, 0)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team