Skip to content

Commit 2ab2a51

Browse files
committed
Remove MAME fastforward code
1 parent a574e87 commit 2ab2a51

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

src/emu/video.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,6 @@ astring &video_manager::speed_text(astring &string)
219219
if (paused)
220220
string.cat("paused");
221221

222-
// if we're fast forwarding, just display Fast-forward
223-
else if (m_fastforward)
224-
string.cat("fast ");
225-
226222
// if we're auto frameskipping, display that plus the level
227223
else if (effective_autoframeskip())
228224
string.catprintf("auto%2d/%d", effective_frameskip(), MAX_FRAMESKIP);
@@ -294,7 +290,7 @@ void video_manager::postload()
294290
inline int video_manager::effective_autoframeskip() const
295291
{
296292
// if we're fast forwarding or paused, autoframeskip is disabled
297-
if (m_fastforward || machine().paused())
293+
if (machine().paused())
298294
return false;
299295

300296
// otherwise, it's up to the user
@@ -310,11 +306,6 @@ inline int video_manager::effective_autoframeskip() const
310306

311307
inline int video_manager::effective_frameskip() const
312308
{
313-
// if we're fast forwarding, use the maximum frameskip
314-
if (m_fastforward)
315-
return FRAMESKIP_LEVELS - 1;
316-
317-
// otherwise, it's up to the user
318309
return m_frameskip_level;
319310
}
320311

@@ -331,10 +322,6 @@ inline bool video_manager::effective_throttle() const
331322
if (machine().paused() || machine().ui().is_menu_active())
332323
return true;
333324

334-
// if we're fast forwarding, we don't throttle
335-
if (m_fastforward)
336-
return false;
337-
338325
// otherwise, it's up to the user
339326
return throttled();
340327
}

0 commit comments

Comments
 (0)