current work

This commit is contained in:
Sonic Dreamcaster
2024-11-12 20:48:19 -03:00
parent 5ed3bb86d3
commit 4ae2fc22c1
10 changed files with 69 additions and 58 deletions
+8
View File
@@ -355,6 +355,7 @@ void Game_SetScene(void) {
}
}
extern u8 gAudioSpecId;
extern int audBuffer;
extern AudioBufferParameters gAudioBufferParams;
void Game_Update(void) {
s32 i;
@@ -624,10 +625,17 @@ void Game_Update(void) {
}
RCP_SetupDL(&gMasterDisp, SETUPDL_83);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
Graphics_DisplaySmallText(10, 200, 1.0f, 1.0f, "AUDIOBUF:");
Graphics_DisplaySmallNumber(90, 200, audBuffer);
Graphics_DisplaySmallText(10, 210, 1.0f, 1.0f, "AUDIOSPEC:");
Graphics_DisplaySmallNumber(90, 210, gAudioSpecId);
Graphics_DisplaySmallText(10, 220, 1.0f, 1.0f, "TICKS:");
Graphics_DisplaySmallNumber(90, 220, gAudioBufferParams.ticksPerUpdate);
if (gControllerPress[0].button & L_JPAD) {
//audBuffer-=10;
} else if (gControllerPress[0].button & R_JPAD) {
// audBuffer+=10;
}
}
#if MODS_FPS_COUNTER == 1