Merge pull request #351 from Cuyler36:jaudio_NES_AudioGlobals

Finish AudioGlobals struct
This commit is contained in:
Cuyler36
2024-06-07 23:22:08 -04:00
committed by GitHub
5 changed files with 728 additions and 111 deletions
+3 -4
View File
@@ -367,15 +367,11 @@ static s8 Na_RhythmGrpProcess(s8 arg0, group* group) {
int r27;
int r30;
int r31;
(void)arg0;
int ret = 1;
r29 = 24;
static int pre_beat_type = -1;
static u8 init;
static int pre_frame_per_step = -1;
{ static u8 init; }
tempo_adjust(group);
if (Na_GetRhythmBeatType() == 0) {
if (Nap_ReadGrpPort(2, 2) % 2 != 0) {
@@ -387,6 +383,9 @@ static s8 Na_RhythmGrpProcess(s8 arg0, group* group) {
r29 = 24;
}
/* random call to arg0 so it is stored on the stack, can also do (void)arg0 */
if (arg0) {}
r31 = Nap_ReadGrpPort(2, 3);
if (Nap_ReadGrpPort(2, 2) % 2 != 0) {
r27 = r31;