Previous 15994 Revisions Next

r4533 Tuesday 21st April, 2009 at 01:27:42 UTC by Justin Kerk
[NGP] Fix aspect ratio
[src/mess]mess.mak
[src/mess/drivers]ngp.c
[src/mess/layout]ngp.lay*

src/mess/mess.mak
r4532r4533
13191319$(MESS_DRIVERS)/mk2.o:      $(MESS_LAYOUT)/mk2.lh
13201320$(MESS_DRIVERS)/mpf1.o:      $(MESS_LAYOUT)/mpf1.lh
13211321$(MESS_DRIVERS)/nc.o:      $(MESS_LAYOUT)/nc200.lh
1322$(MESS_DRIVERS)/ngp.o:      $(MESS_LAYOUT)/ngp.lh
13221323$(MESS_DRIVERS)/palm.o:      $(MESS_LAYOUT)/palm.lh
13231324$(MESS_DRIVERS)/pokemini.o:   $(MESS_LAYOUT)/pokemini.lh
13241325$(MESS_DRIVERS)/px4.o:      $(MESS_LAYOUT)/px4.lh
src/mess/layout/ngp.lay
r0r4533
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="160" bottom="152" />
6               </screen>
7       </view>
8</mamelayout>
src/mess/drivers/ngp.c
r4532r4533
101101#include "sound/t6w28.h"
102102#include "sound/dac.h"
103103#include "video/k1ge.h"
104#include "ngp.lh"
104105
105106
106107enum flash_state
r4532r4533
713714   MDRV_SCREEN_ADD( "screen", LCD )
714715   MDRV_SCREEN_FORMAT( BITMAP_FORMAT_INDEXED16 )
715716   MDRV_SCREEN_RAW_PARAMS( XTAL_6_144MHz, 515, 0, 160 /*480*/, 199, 0, 152 )
717   MDRV_DEFAULT_LAYOUT(layout_ngp)
716718
717719   MDRV_MACHINE_START( ngp )
718720   MDRV_MACHINE_RESET( ngp )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team