History

Small cleanup

Olav Sørensen committed 3 years ago

Commit 0931e541 parent cef9c3e1 file · +2 −2Browse files

Unified · Split

src/ft2_replayer.c+2−2
@@ -311,7 +311,7 @@ void setFrequencyTable(bool linearPeriodsFlag) · 310 unmodified lines
311311 if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
312312 {
313313 // update "frequency table" radiobutton, if it's shown
314− setConfigIORadioButtonStates();
314+ setConfigIORadioButtonStates();
315315
316316 // update mid-C freq. in instr. editor (it can slightly differ between Amiga/linear)
317317 if (ui.instEditorShown)
@@ -404,7 +404,7 @@ void calcReplayerLogTab(void) // for linear period -> hz calculation · 86 unmodified lines
404404 dExp2MulTab[i] = 1.0 / exp2(i); // 1/(2^i)
405405
406406 for (int32_t i = 0; i < 4*12*16; i++)
407− dLogTab[i] = 8363.0 * exp2(i / 768.0) * 256.0;
407+ dLogTab[i] = (8363.0 * 256.0) * exp2(i / (4.0 * 12.0 * 16.0));
408408 }
409409
410410 void calcReplayerVars(int32_t audioFreq)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t