Skip to content

Commit

Permalink
reduce full frameskip back to 3 and fix sa
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Sep 29, 2024
1 parent abe1e12 commit 5b5b1a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/genesis/src/genesis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int16_t *gwenesis_ym2612_buffer = nullptr;
int ym2612_index;
int ym2612_clock;

static constexpr int full_frameskip = 6;
static constexpr int full_frameskip = 3;
static constexpr int muted_frameskip = 2;
static int frameskip = full_frameskip;

Expand Down Expand Up @@ -237,7 +237,7 @@ void IRAM_ATTR run_genesis_rom() {
ym2612_index = 0;

sn76489_clock = sound_enabled ? 0 : 0x1000000;
sn76489_clock = 0x1000000; // disable sn76489
// sn76489_clock = 0x1000000; // disable sn76489
sn76489_index = 0;

scan_line = 0;
Expand Down

0 comments on commit 5b5b1a8

Please sign in to comment.