mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-06 16:04:35 +00:00
Cleanup translation comments (#924)
* `// Translates to:` -> `//` * `// Translation: ([^"].*)` -> `// "$1"` * Manual cleanup * Manual cleanup in `src/code/` * Use more lowercase for some all caps translations * Move translations to end of lines where it fits under 100 bytes * Move one translation to end of line manually * Run formatter * Cleanup in EnHeishi1 as suggested by Roman * Update src/code/z_play.c Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
parent
9b840ad842
commit
81830a6e8b
70 changed files with 348 additions and 440 deletions
|
@ -220,8 +220,7 @@ void Jpeg_ParseMarkers(u8* ptr, JpegContext* ctx) {
|
|||
break;
|
||||
}
|
||||
default: {
|
||||
// Unknown marker
|
||||
osSyncPrintf("マーカー不明 %02x\n", ptr[-1]);
|
||||
osSyncPrintf("マーカー不明 %02x\n", ptr[-1]); // "Unknown marker"
|
||||
ptr += Jpeg_GetUnalignedU16(ptr);
|
||||
break;
|
||||
}
|
||||
|
@ -257,7 +256,7 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize) {
|
|||
curTime = osGetTime();
|
||||
diff = curTime - time;
|
||||
time = curTime;
|
||||
// Wait for synchronization of fifo buffer
|
||||
// "Wait for synchronization of fifo buffer"
|
||||
osSyncPrintf("*** fifoバッファの同期待ち time = %6.3f ms ***\n", OS_CYCLES_TO_USEC(diff) / 1000.0f);
|
||||
|
||||
ctx.workBuf = workBuff;
|
||||
|
@ -266,7 +265,7 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize) {
|
|||
curTime = osGetTime();
|
||||
diff = curTime - time;
|
||||
time = curTime;
|
||||
// Check markers for each segment
|
||||
// "Check markers for each segment"
|
||||
osSyncPrintf("*** 各セグメントのマーカーのチェック time = %6.3f ms ***\n", OS_CYCLES_TO_USEC(diff) / 1000.0f);
|
||||
|
||||
switch (ctx.dqtCount) {
|
||||
|
@ -290,7 +289,7 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize) {
|
|||
curTime = osGetTime();
|
||||
diff = curTime - time;
|
||||
time = curTime;
|
||||
// Create quantization table
|
||||
// "Create quantization table"
|
||||
osSyncPrintf("*** 量子化テーブル作成 time = %6.3f ms ***\n", OS_CYCLES_TO_USEC(diff) / 1000.0f);
|
||||
|
||||
switch (ctx.dhtCount) {
|
||||
|
@ -320,7 +319,7 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize) {
|
|||
curTime = osGetTime();
|
||||
diff = curTime - time;
|
||||
time = curTime;
|
||||
// Huffman table creation
|
||||
// "Huffman table creation"
|
||||
osSyncPrintf("*** ハフマンテーブル作成 time = %6.3f ms ***\n", OS_CYCLES_TO_USEC(diff) / 1000.0f);
|
||||
|
||||
decoder.imageData = ctx.imageData;
|
||||
|
@ -357,7 +356,7 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize) {
|
|||
curTime = osGetTime();
|
||||
diff = curTime - time;
|
||||
time = curTime;
|
||||
// Unfold & draw
|
||||
// "Unfold & draw"
|
||||
osSyncPrintf("*** 展開 & 描画 time = %6.3f ms ***\n", OS_CYCLES_TO_USEC(diff) / 1000.0f);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue