summaryrefslogtreecommitdiff
path: root/src/code/db_camera.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2021-09-29 01:53:56 +0200
committerGitHub <noreply@github.com>2021-09-28 19:53:56 -0400
commitc57c0f13fcd2d83d412641e71de05153c20fd6d3 (patch)
tree7adb5722bdab340812f14c562c0d8be8b5d9e87e /src/code/db_camera.c
parent063b4aed0ce33473d0ba79f8dcdda5c2db47a9ce (diff)
Format all translation comments like `// "..."` (hopefully all of them) (#986)
* Format all translation comments like `// "..."` (hopefully all of them) * Move translation comments to before on long lines Located them with `grep -r src -e '^[^(]*);[ ]*//'` Regex `osSyncPrintf\([^;]*\n.*//` didn't find more * Format two more
Diffstat (limited to 'src/code/db_camera.c')
-rw-r--r--src/code/db_camera.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/code/db_camera.c b/src/code/db_camera.c
index d81b0267e..57a20191e 100644
--- a/src/code/db_camera.c
+++ b/src/code/db_camera.c
@@ -27,10 +27,10 @@ const char* D_8012CF48 = "\x8Cメモリ\x8Dガタリマセン";
const char* D_8012CF4C = "p";
const char* D_8012CF50[] = { "e", "s", "l", "c" };
-const char* D_8012CF60[] = { "\x8Cメモリパック" }; // Mempak
-const char* D_8012CF64 = "\x8Cセーブ"; // Save
-const char* D_8012CF68 = "\x8Cロード"; // Load
-const char* D_8012CF6C = "\x8Cクリア-"; // Clear
+const char* D_8012CF60[] = { "\x8Cメモリパック" }; // "Mempak"
+const char* D_8012CF64 = "\x8Cセーブ"; // "Save"
+const char* D_8012CF68 = "\x8Cロード"; // "Load"
+const char* D_8012CF6C = "\x8Cクリア-"; // "Clear"
const char* D_8012CF70 = "\x8Dヲヌカナイデネ";
const char* D_8012CF74 = "FREE BYTE";
@@ -1519,14 +1519,14 @@ char DbCamera_InitCut(s32 idx, DbCameraSub* sub) {
i = sub->nPoints * sizeof(CutsceneCameraPoint);
sDbCameraCuts[idx].lookAt = DebugArena_MallocDebug(i, "../db_camera.c", 2748);
if (sDbCameraCuts[idx].lookAt == NULL) {
- // Debug camera memory allocation failure
+ // "Debug camera memory allocation failure"
osSyncPrintf("%s: %d: デバッグカメラ メモリ確保失敗!!\n", "../db_camera.c", 2751);
return '?';
}
sDbCameraCuts[idx].position = DebugArena_MallocDebug(i, "../db_camera.c", 2754);
if (sDbCameraCuts[idx].position == NULL) {
- // Debug camera memory allocation failure
+ // "Debug camera memory allocation failure"
osSyncPrintf("%s: %d: デバッグカメラ メモリ確保失敗!!\n", "../db_camera.c", 2757);
DebugArena_FreeDebug(sDbCameraCuts[idx].lookAt, "../db_camera.c", 2758);
sDbCameraCuts[idx].lookAt = NULL;
@@ -1604,7 +1604,7 @@ s32 DbCamera_LoadCallback(char* c) {
sDbCameraCuts[i].lookAt = DebugArena_MallocDebug(ALIGN32(size), "../db_camera.c", 2844);
if (sDbCameraCuts[i].lookAt == NULL) {
- // Debug camera memory allocation failure
+ // "Debug camera memory allocation failure"
osSyncPrintf("%s: %d: デバッグカメラ メモリ確保失敗!!\n", "../db_camera.c", 2847);
return false;
}
@@ -1615,7 +1615,7 @@ s32 DbCamera_LoadCallback(char* c) {
sDbCameraCuts[i].position = DebugArena_MallocDebug(ALIGN32(size), "../db_camera.c", 2855);
if (sDbCameraCuts[i].position == NULL) {
- // Debug camera memory allocation failure
+ // "Debug camera memory allocation failure"
osSyncPrintf("%s: %d: デバッグカメラ メモリ確保失敗!!\n", "../db_camera.c", 2858);
return false;
}