fixed fast forward

This commit is contained in:
2025-02-18 19:45:13 -07:00
parent 37c4d267c4
commit 89a1b4cec6
5 changed files with 17 additions and 29 deletions

View File

@ -127,8 +127,6 @@ typedef struct {
float right_cap;
int history_timer;
float smooth_left;
float smooth_right;
double cycles_needed;

View File

@ -10,6 +10,7 @@ typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
#define FAST_FORWARD_SPEED 2
#define BIT(a, n) ((a & (1 << n)) ? 1 : 0)
#define BIT_SET(a, n, on) {if(on) a |= (1 << n); else a &= ~(1 << n);}
#define BETWEEN(a, b, c) ((a >= b) && (a <= c))

View File

@ -8,6 +8,7 @@ typedef struct {
bool die;
u64 ticks;
const char *app_path;
bool fast_forward;
} emu_context;
int emu_run(int, char**);