From 842aa95765dbeed9299f2f2ad3ebf302768eabc0 Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Thu, 27 Oct 2022 10:36:50 +0200 Subject: [PATCH] AUDIO: Correct spelling mistake rythm -> rhythm --- audio/softsynth/opl/mame.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/softsynth/opl/mame.cpp b/audio/softsynth/opl/mame.cpp index c20640636f7..818e352d35d 100644 --- a/audio/softsynth/opl/mame.cpp +++ b/audio/softsynth/opl/mame.cpp @@ -546,7 +546,7 @@ inline void OPL_CALC_CH(OPL_CH *CH) { } } -/* ---------- calcrate rythm block ---------- */ +/* ---------- calcrate rhythm block ---------- */ #define WHITE_NOISE_db 6.0 inline void OPL_CALC_RH(FM_OPL *OPL, OPL_CH *CH) { uint env_tam, env_sd, env_top, env_hh; @@ -1039,7 +1039,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) { int16 *buf = buffer; uint amsCnt = OPL->amsCnt; uint vibCnt = OPL->vibCnt; - uint8 rythm = OPL->rythm & 0x20; + uint8 rhythm = OPL->rhythm & 0x20; OPL_CH *CH, *R_CH; @@ -1048,7 +1048,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) { /* channel pointers */ S_CH = OPL->P_CH; E_CH = &S_CH[9]; - /* rythm slot */ + /* rhythm slot */ SLOT7_1 = &S_CH[7].SLOT[SLOT1]; SLOT7_2 = &S_CH[7].SLOT[SLOT2]; SLOT8_1 = &S_CH[8].SLOT[SLOT1]; @@ -1059,7 +1059,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) { ams_table = OPL->ams_table; vib_table = OPL->vib_table; } - R_CH = rythm ? &S_CH[6] : E_CH; + R_CH = rhythm ? &S_CH[6] : E_CH; for (i = 0; i < length; i++) { /* channel A channel B channel C */ /* LFO */