Previous 15994 Revisions Next

r9332 Thursday 7th October, 2010 at 00:36:49 UTC by Justin Kerk
[PC4] Don't need a separate layout
[src/mess]mess.mak
[src/mess/drivers]pc4.c
[src/mess/layout]pc4.lay

src/mess/layout/pc4.lay
r9331r9332
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="311" bottom="31" />
6      </screen>
7   </view>
8</mamelayout>
src/mess/mess.mak
r9331r9332
18031803$(MESS_DRIVERS)/newbrain.o:   $(MESS_LAYOUT)/newbrain.lh
18041804$(MESS_DRIVERS)/ng_aes.o:   $(MESS_LAYOUT)/neogeo.lh
18051805$(MESS_DRIVERS)/poly880.o:   $(MESS_LAYOUT)/poly880.lh
1806$(MESS_DRIVERS)/pc4.o:      $(MESS_LAYOUT)/pc4.lh
18071806$(MESS_VIDEO)/pc8401a.o:   $(MESS_LAYOUT)/pc8500.lh
18081807$(MESS_DRIVERS)/px4.o:      $(MESS_LAYOUT)/px4.lh
18091808$(MESS_DRIVERS)/px8.o:      $(MESS_LAYOUT)/px8.lh
src/mess/drivers/pc4.c
r9331r9332
99
1010#include "emu.h"
1111#include "cpu/z80/z80.h"
12#include "pc4.lh"
1312
1413class pc4_state : public driver_device
1514{
r9331r9332
5857   MDRV_SCREEN_SIZE(312, 32)
5958   MDRV_SCREEN_VISIBLE_AREA(0, 311, 0, 31)
6059
61   MDRV_DEFAULT_LAYOUT(layout_pc4)
60   MDRV_DEFAULT_LAYOUT(layout_lcd)
6261
6362   MDRV_PALETTE_LENGTH(2)
6463   MDRV_PALETTE_INIT(pc4)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team