summaryrefslogtreecommitdiff
path: root/src/engine/fox_game.c
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-11-12 20:48:19 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-11-12 20:48:19 -0300
commit4ae2fc22c17d5ad6207421e1420fcf40c33eed99 (patch)
tree69477cc9b686a879937fe0febb3aa7eb4fd4b822 /src/engine/fox_game.c
parent5ed3bb86d35e0bf8ce8c6ec39a91396e07d5e797 (diff)
current work
Diffstat (limited to 'src/engine/fox_game.c')
-rw-r--r--src/engine/fox_game.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/fox_game.c b/src/engine/fox_game.c
index 2352b25c..b323f2ac 100644
--- a/src/engine/fox_game.c
+++ b/src/engine/fox_game.c
@@ -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