random minor edits

This commit is contained in:
Shaun Inman 2023-02-14 20:52:04 -05:00
parent 987ad71f4e
commit 81734e10c0
3 changed files with 9 additions and 3 deletions

View file

@ -906,6 +906,8 @@ void SND_init(double sample_rate, double frame_rate) { // plat_sound_init
snd.sample_rate_in = sample_rate;
snd.sample_rate_out = spec_out.freq;
LOG_info("sample rate: %i (req) %i (rec)\n", snd.sample_rate_in, snd.sample_rate_out);
SND_selectResampler();
SND_resizeBuffer();

View file

@ -633,7 +633,7 @@ static struct Config {
[SHORTCUT_SAVE_STATE] = {"Save State", -1, BTN_ID_NONE, 0},
[SHORTCUT_LOAD_STATE] = {"Load State", -1, BTN_ID_NONE, 0},
[SHORTCUT_RESET_GAME] = {"Reset Game", -1, BTN_ID_NONE, 0},
[SHORTCUT_CYCLE_SCALE] = {"Cycle Scale", -1, BTN_ID_NONE, 0},
[SHORTCUT_CYCLE_SCALE] = {"Cycle Scaling", -1, BTN_ID_NONE, 0},
[SHORTCUT_TOGGLE_SCANLINES] = {"Toggle Scanlines", -1, BTN_ID_NONE, 0},
[SHORTCUT_TOGGLE_FF] = {"Toggle FF", -1, BTN_ID_NONE, 0},
[SHORTCUT_HOLD_FF] = {"Hold FF", -1, BTN_ID_NONE, 0},