summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/audio_thread_manager.c2
-rw-r--r--src/code/game.c2
-rw-r--r--src/code/graph.c2
-rw-r--r--src/code/speed_meter.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/code/audio_thread_manager.c b/src/code/audio_thread_manager.c
index 04f20a8f5..bbec08dea 100644
--- a/src/code/audio_thread_manager.c
+++ b/src/code/audio_thread_manager.c
@@ -51,7 +51,7 @@ void AudioMgr_HandleRetrace(AudioMgr* audioMgr) {
// Skip update, no rsp task produced
rspTask = NULL;
} else {
- rspTask = func_800E4FE0();
+ rspTask = AudioThread_Update();
}
gAudioThreadUpdateTimeAcc += osGetTime() - gAudioThreadUpdateTimeStart;
diff --git a/src/code/game.c b/src/code/game.c
index 2b60c66dd..2bc179d68 100644
--- a/src/code/game.c
+++ b/src/code/game.c
@@ -456,7 +456,7 @@ void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* g
void GameState_Destroy(GameState* gameState) {
PRINTF("game デストラクタ開始\n"); // "game destructor start"
AudioMgr_StopAllSfx();
- func_800F3054();
+ Audio_Update();
osRecvMesg(&gameState->gfxCtx->queue, NULL, OS_MESG_BLOCK);
LOG_UTILS_CHECK_NULL_POINTER("this->cleanup", gameState->destroy, "../game.c", 1139);
if (gameState->destroy != NULL) {
diff --git a/src/code/graph.c b/src/code/graph.c
index b25612ccc..c6f165b74 100644
--- a/src/code/graph.c
+++ b/src/code/graph.c
@@ -373,7 +373,7 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) {
gfxCtx->fbIdx++;
}
- func_800F3054();
+ Audio_Update();
{
OSTime timeNow = osGetTime();
diff --git a/src/code/speed_meter.c b/src/code/speed_meter.c
index 086c3ea70..dff46d91e 100644
--- a/src/code/speed_meter.c
+++ b/src/code/speed_meter.c
@@ -2,8 +2,8 @@
#include "terminal.h"
/**
- * How much time the audio update on the audio thread (`func_800E4FE0`) took in total, between scheduling the last two
- * graphics tasks.
+ * How much time the audio update on the audio thread (`AudioThread_Update`) took in total, between scheduling the last
+ * two graphics tasks.
*/
volatile OSTime gAudioThreadUpdateTimeTotalPerGfxTask;