summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2018-10-10 09:42:52 +0200
committer hap <happppp@users.noreply.github.com>2018-10-10 09:42:52 +0200
commitdb00f2989142e4c96db7fa3c46f8b28962c9ce8c (patch)
tree1f8c39ea6caaa7c47373834cb05b69679265c38a
parent86be6623cad705ba20bbfb0ebadc44214146979c (diff)
video.h: get rid of LCD_FRAMES_PER_SECOND (nw)
-rw-r--r--src/emu/video.h3
-rw-r--r--src/mame/drivers/comquest.cpp4
-rw-r--r--src/mame/drivers/lynx.cpp2
-rw-r--r--src/mame/drivers/ssystem3.cpp2
4 files changed, 4 insertions, 7 deletions
diff --git a/src/emu/video.h b/src/emu/video.h
index fa9fc6abbe7..4c73db42393 100644
--- a/src/emu/video.h
+++ b/src/emu/video.h
@@ -28,7 +28,6 @@
constexpr int FRAMESKIP_LEVELS = 12;
constexpr int MAX_FRAMESKIP = FRAMESKIP_LEVELS - 2;
-#define LCD_FRAMES_PER_SECOND 30
//**************************************************************************
// TYPE DEFINITIONS
@@ -107,7 +106,6 @@ public:
std::string &timecode_text(std::string &str);
std::string &timecode_total_text(std::string &str);
-
private:
// internal helpers
void exit();
@@ -222,7 +220,6 @@ private:
std::string m_timecode_text; // Message for that video part (intro, gameplay, extra)
attotime m_timecode_start; // Starting timer for that video part (intro, gameplay, extra)
attotime m_timecode_total; // Show/hide timer at left (total elapsed on resulting video preview)
-
};
#endif // MAME_EMU_VIDEO_H
diff --git a/src/mame/drivers/comquest.cpp b/src/mame/drivers/comquest.cpp
index 35af6fbf93b..ba4d2f88789 100644
--- a/src/mame/drivers/comquest.cpp
+++ b/src/mame/drivers/comquest.cpp
@@ -39,7 +39,7 @@ team concepts
icq3250a-d
1f71lctctab973
- */
+*/
#include "emu.h"
#include "includes/comquest.h"
@@ -249,7 +249,7 @@ MACHINE_CONFIG_START(comquest_state::comquest)
/* video hardware */
MCFG_SCREEN_ADD("screen", LCD)
- MCFG_SCREEN_REFRESH_RATE(LCD_FRAMES_PER_SECOND)
+ MCFG_SCREEN_REFRESH_RATE(30)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
MCFG_SCREEN_SIZE(64*4, 128) /* 160 x 102 */
MCFG_SCREEN_VISIBLE_AREA(0, 64*4-1, 0, 128-1)
diff --git a/src/mame/drivers/lynx.cpp b/src/mame/drivers/lynx.cpp
index d75b0cfa5dd..5695d10e2c6 100644
--- a/src/mame/drivers/lynx.cpp
+++ b/src/mame/drivers/lynx.cpp
@@ -85,7 +85,7 @@ MACHINE_CONFIG_START(lynx_state::lynx)
/* video hardware */
MCFG_SCREEN_ADD("screen", LCD)
- MCFG_SCREEN_REFRESH_RATE(LCD_FRAMES_PER_SECOND)
+ MCFG_SCREEN_REFRESH_RATE(30)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
MCFG_SCREEN_UPDATE_DRIVER(lynx_state, screen_update)
MCFG_SCREEN_SIZE(160, 102)
diff --git a/src/mame/drivers/ssystem3.cpp b/src/mame/drivers/ssystem3.cpp
index b3beb6eef27..ddc5efd84ac 100644
--- a/src/mame/drivers/ssystem3.cpp
+++ b/src/mame/drivers/ssystem3.cpp
@@ -291,7 +291,7 @@ void ssystem3_state::ssystem3(machine_config &config)
/* video hardware */
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_LCD));
- screen.set_refresh_hz(LCD_FRAMES_PER_SECOND);
+ screen.set_refresh_hz(30);
screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); /* not accurate */
screen.set_size(728, 437);
screen.set_visarea(0, 728-1, 0, 437-1);