Previous 15994 Revisions Next

r2830 Saturday 7th June, 2008 at 01:37:16 UTC by Justin Kerk
[POKEMINI] Fix aspect ratio
[src/mess]mess.mak
[src/mess/drivers]pokemini.c
[src/mess/layout]pokemini.lay*

src/mess/layout/pokemini.lay
r0r2830
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="3" bottom="2" />
6               </screen>
7       </view>
8</mamelayout>
src/mess/mess.mak
r2829r2830
12991299$(MESS_DRIVERS)/mk1.o:      $(MESS_LAYOUT)/mk1.lh
13001300$(MESS_DRIVERS)/mk2.o:      $(MESS_LAYOUT)/mk2.lh
13011301$(MESS_DRIVERS)/nc.o:      $(MESS_LAYOUT)/nc200.lh
1302$(MESS_DRIVERS)/pokemini.o:   $(MESS_LAYOUT)/pokemini.lh
13021303$(MESS_DRIVERS)/svi318.o:   $(MESS_LAYOUT)/sv328806.lh
13031304$(MESS_DRIVERS)/svision.o:   $(MESS_LAYOUT)/svision.lh
13041305$(MESS_DRIVERS)/sym1.o:      $(MESS_LAYOUT)/sym1.lh
src/mess/drivers/pokemini.c
r2829r2830
1313#include "includes/pokemini.h"
1414#include "cpu/minx/minx.h"
1515#include "devices/cartslot.h"
16#include "pokemini.lh"
1617
1718
1819static ADDRESS_MAP_START( pokemini_mem_map, ADDRESS_SPACE_PROGRAM, 8 )
r2829r2830
8081   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
8182   MDRV_SCREEN_SIZE( 96, 64 )
8283   MDRV_SCREEN_VISIBLE_AREA( 0, 95, 0, 63 )
84   MDRV_DEFAULT_LAYOUT(layout_pokemini)
8385   MDRV_PALETTE_LENGTH( 4 )
8486   MDRV_PALETTE_INIT( pokemini )
8587   MDRV_SCREEN_REFRESH_RATE( 72 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team