Moved LCD layouts to emu section and removed some more ifdefs (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-01-05 21:14:20 +00:00
parent 4245ddbc5e
commit 2231fb32b4
9 changed files with 30 additions and 6 deletions

2
.gitattributes vendored
View File

@ -692,6 +692,8 @@ src/emu/layout/hoa0a0ff.lay svneol=native#text/plain
src/emu/layout/hoffe457.lay svneol=native#text/plain
src/emu/layout/hoffff20.lay svneol=native#text/plain
src/emu/layout/horizont.lay svneol=native#text/plain
src/emu/layout/lcd.lay svneol=native#text/plain
src/emu/layout/lcd_rot.lay svneol=native#text/plain
src/emu/layout/snap.lay svneol=native#text/plain
src/emu/layout/triphsxs.lay svneol=native#text/plain
src/emu/layout/vertical.lay svneol=native#text/plain

View File

@ -23,8 +23,9 @@
#include <new>
#include <ctype.h>
#ifdef MESS
#include "mess.h"
#endif
/***************************************************************************

View File

@ -111,9 +111,6 @@ typedef device_config * (*machine_config_constructor)(machine_config &config, de
#include "image.h"
// the running machine
#ifdef MESS
#include "mess.h"
#endif /* MESS */
#include "machine.h"
#include "mame.h"

View File

@ -312,5 +312,7 @@ $(EMUOBJ)/rendlay.o: $(EMULAYOUT)/dualhovu.lh \
$(EMULAYOUT)/hoffe457.lh \
$(EMULAYOUT)/hoffff20.lh \
$(EMULAYOUT)/voffff20.lh \
$(EMULAYOUT)/lcd.lh \
$(EMULAYOUT)/lcd_rot.lh \
$(EMUOBJ)/video.o: $(EMULAYOUT)/snap.lh

8
src/emu/layout/lcd.lay Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
<view name="LCD with square pixels">
<screen index="0">
<bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" />
</screen>
</view>
</mamelayout>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
<view name="LCD with square pixels">
<screen index="0">
<bounds left="0" top="0" right="~scr0height~" bottom="~scr0width~" />
</screen>
</view>
</mamelayout>

View File

@ -113,6 +113,9 @@
#include "voffff20.lh"
#include "hoffff20.lh"
// LCD screen layouts
#include "lcd.lh"
#include "lcd_rot.lh"
//**************************************************************************

View File

@ -318,5 +318,8 @@ extern const char layout_hoffe457[]; // horizontal 4:3 with FF,E4,57 color overl
extern const char layout_hoffff20[]; // horizontal 4:3 with FF,FF,20 color overlay
extern const char layout_voffff20[]; // vertical 4:3 with FF,FF,20 color overlay
// LCD screen layouts
extern const char layout_lcd[]; // generic 1:1 lcd screen layout
extern const char layout_lcd_rot[]; // same, for use with ROT90 or ROT270
#endif // __RENDLAY_H__

View File

@ -55,7 +55,7 @@
const int FRAMESKIP_LEVELS = 12;
const int MAX_FRAMESKIP = FRAMESKIP_LEVELS - 2;
#define LCD_FRAMES_PER_SECOND 30
//**************************************************************************
// TYPE DEFINITIONS