mirror of
https://github.com/holub/mame
synced 2025-05-20 12:48:53 +03:00
Moved LCD layouts to emu section and removed some more ifdefs (no whatsnew)
This commit is contained in:
parent
4245ddbc5e
commit
2231fb32b4
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -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
|
||||
|
@ -23,8 +23,9 @@
|
||||
|
||||
#include <new>
|
||||
#include <ctype.h>
|
||||
|
||||
|
||||
#ifdef MESS
|
||||
#include "mess.h"
|
||||
#endif
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
8
src/emu/layout/lcd.lay
Normal 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>
|
8
src/emu/layout/lcd_rot.lay
Normal file
8
src/emu/layout/lcd_rot.lay
Normal 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>
|
@ -113,6 +113,9 @@
|
||||
#include "voffff20.lh"
|
||||
#include "hoffff20.lh"
|
||||
|
||||
// LCD screen layouts
|
||||
#include "lcd.lh"
|
||||
#include "lcd_rot.lh"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
|
@ -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__
|
||||
|
@ -55,7 +55,7 @@
|
||||
const int FRAMESKIP_LEVELS = 12;
|
||||
const int MAX_FRAMESKIP = FRAMESKIP_LEVELS - 2;
|
||||
|
||||
|
||||
#define LCD_FRAMES_PER_SECOND 30
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
|
Loading…
Reference in New Issue
Block a user