Previous 15994 Revisions Next

r1775 Thursday 28th February, 2008 at 23:13:54 UTC by Justin Kerk
[GAMEPOCK] Fix default aspect ratio
[src/mess]mess.mak
[src/mess/drivers]gamepock.c
[src/mess/layout]gamepock.lay*

src/mess/layout/gamepock.lay
r0r1775
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="75" bottom="64" />
6               </screen>
7       </view>
8</mamelayout>
src/mess/mess.mak
r1774r1775
11731173$(MESS_DRIVERS)/aim65.o:   $(MESS_LAYOUT)/aim65.lh
11741174$(MESS_DRIVERS)/coco.o:      $(MESS_LAYOUT)/coco3.lh
11751175$(MESS_DRIVERS)/cybiko.o:   $(MESS_LAYOUT)/cybiko.lh
1176$(MESS_DRIVERS)/gamepock.o:   $(MESS_LAYOUT)/gamepock.lh
11761177$(MESS_DRIVERS)/gb.o:      $(MESS_LAYOUT)/gb.lh
11771178$(MESS_DRIVERS)/glasgow.o:   $(MESS_LAYOUT)/glasgow.lh
11781179$(MESS_DRIVERS)/mephisto.o:   $(MESS_LAYOUT)/mephisto.lh
src/mess/drivers/gamepock.c
r1774r1775
22#include "cpu/upd7810/upd7810.h"
33#include "devices/cartslot.h"
44#include "includes/gamepock.h"
5#include "gamepock.lh"
56
67static ADDRESS_MAP_START(gamepock_mem, ADDRESS_SPACE_PROGRAM, 8)
78   ADDRESS_MAP_FLAGS( AMEF_UNMAP(1) )
r1774r1775
4950   MDRV_SCREEN_FORMAT( BITMAP_FORMAT_INDEXED16 )
5051   MDRV_SCREEN_SIZE( 75, 64 )
5152   MDRV_SCREEN_VISIBLE_AREA( 0, 74, 0, 63 )
53   MDRV_DEFAULT_LAYOUT(layout_gamepock)
5254
5355   MDRV_PALETTE_LENGTH( 2 )
5456   MDRV_PALETTE_INIT(black_and_white)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team