mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-08 00:44:42 +00:00
T() macro 7 (#2102)
* T() macro in most of the rest of code (except z_message, z_actor, ucode_disas, gfxprint, game, fault, db_camera) * remaining T() macro in boot * format * review
This commit is contained in:
parent
7592bf1e42
commit
16ec9b1e13
10 changed files with 49 additions and 38 deletions
|
@ -176,8 +176,7 @@ void Sched_QueueTask(Scheduler* sc, OSScTask* task) {
|
|||
463);
|
||||
|
||||
if (type == M_AUDTASK) {
|
||||
// "You have entered an audio task"
|
||||
SCHED_DEBUG_PRINTF("オーディオタスクをエントリしました\n");
|
||||
SCHED_DEBUG_PRINTF(T("オーディオタスクをエントリしました\n", "You have entered an audio task\n"));
|
||||
|
||||
// Add to audio queue
|
||||
if (sc->audioListTail != NULL) {
|
||||
|
@ -191,8 +190,7 @@ void Sched_QueueTask(Scheduler* sc, OSScTask* task) {
|
|||
sc->doAudio = true;
|
||||
} else {
|
||||
|
||||
// "Entered graph task"
|
||||
SCHED_DEBUG_PRINTF("グラフタスクをエントリしました\n");
|
||||
SCHED_DEBUG_PRINTF(T("グラフタスクをエントリしました\n", "Entered graph task\n"));
|
||||
|
||||
// Add to graphics queue
|
||||
if (sc->gfxListTail != NULL) {
|
||||
|
@ -606,8 +604,7 @@ void Sched_ThreadEntry(void* arg) {
|
|||
Scheduler* sc = (Scheduler*)arg;
|
||||
|
||||
while (true) {
|
||||
// "%08d: standby"
|
||||
SCHED_DEBUG_PRINTF("%08d:待機中\n", (u32)OS_CYCLES_TO_USEC(osGetTime()));
|
||||
SCHED_DEBUG_PRINTF(T("%08d:待機中\n", "%08d: standby\n"), (u32)OS_CYCLES_TO_USEC(osGetTime()));
|
||||
|
||||
// Await interrupt messages, either from the OS, IrqMgr, or another thread
|
||||
osRecvMesg(&sc->interruptQueue, &msg, OS_MESG_BLOCK);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue