lsnes-dumpavi: Don't hold back on emulation speed
This commit is contained in:
parent
369ff0145e
commit
7cee3d981f
4 changed files with 8 additions and 1 deletions
|
@ -14,6 +14,8 @@
|
|||
|
||||
#define HISTORY_FRAMES 10
|
||||
|
||||
extern bool dummy_interface;
|
||||
|
||||
namespace
|
||||
{
|
||||
uint64_t last_time_update = 0;
|
||||
|
@ -189,7 +191,7 @@ void ack_frame_tick(uint64_t usec) throw()
|
|||
uint64_t to_wait_frame(uint64_t usec) throw()
|
||||
{
|
||||
auto target = targetfps.read();
|
||||
if(!frame_number || target.first || turboed)
|
||||
if(!frame_number || target.first || turboed || dummy_interface)
|
||||
return 0;
|
||||
uint64_t lintime = get_time(usec, true);
|
||||
uint64_t frame_lasted = lintime - frame_start_times[0];
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
bool dummy_interface = true;
|
||||
|
||||
namespace
|
||||
{
|
||||
uint64_t next_message_to_print = 0;
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "SDL_main.h"
|
||||
#endif
|
||||
|
||||
bool dummy_interface = false;
|
||||
|
||||
struct moviefile generate_movie_template(std::vector<std::string> cmdline, loaded_rom& r)
|
||||
{
|
||||
|
|
|
@ -46,6 +46,8 @@ wxwin_messages* msg_window;
|
|||
wxwin_mainwindow* main_window;
|
||||
std::string our_rom_name;
|
||||
|
||||
bool dummy_interface = false;
|
||||
|
||||
namespace
|
||||
{
|
||||
thread_id* ui_thread;
|
||||
|
|
Loading…
Add table
Reference in a new issue