summaryrefslogtreecommitdiff
path: root/src/code/sys_initial_check.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2026-09-26 14:38:01 -0700
committerGitHub <noreply@github.com>2026-09-26 14:38:01 -0700
commit56fa21dd0031a17cfc9e355f609542617598a265 (patch)
treee8425a18a6df951a73a0b0e897d3759002782ba9 /src/code/sys_initial_check.c
parentca6d0c227e133614c0da131b02f488abf1521127 (diff)
[n64-jp-1.1] code files (#1900)
* [n64-jp-1.1] build OK * [n64-jp-1.1] flg_set OK * [n64-jp-1.1] game OK * [n64-jp-1.1] graph OK (except bss) * [n64-jp-1.1] main OK * [n64-jp-1.1] padmgr OK * [n64-jp-1.1] cmpdma OK * [n64-jp-1.1] sys_freeze OK * [n64-jp-1.1] sys_initial_check OK * [n64-jp-1.1] sys_slowly OK * [n64-jp-1.1] title_setup OK * [n64-jp-1.1 z_DLF OK] * [n64-jp-1.1] actor OK * [n64-jp-1.1] bgcheck OK * [n64-jp-1.1] collision btltbls OK * [n64-jp-1.1] collision check OK * [n64-jp-1.1] common_data OK * [n64-jp-1.1] debug mode OK * [n64-jp-1.1] demo OK * [n64-jp-1.1] effect_soft_sprite OK * Review suggestions
Diffstat (limited to 'src/code/sys_initial_check.c')
-rw-r--r--src/code/sys_initial_check.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/code/sys_initial_check.c b/src/code/sys_initial_check.c
index 31650c780..065c7d5a3 100644
--- a/src/code/sys_initial_check.c
+++ b/src/code/sys_initial_check.c
@@ -106,10 +106,13 @@ void Check_DrawRegionLockErrorMessage(void) {
void Check_ExpansionPak(void) {
// Expansion pak installed
if (osMemSize >= 0x800000) {
+ PRINTF(T("メモリサイズチェック OK\n", "Memory size check OK\n"));
return;
}
+ PRINTF(T("メモリサイズチェック NG\n", "Memory size check failed\n"));
Check_DrawExpansionPakErrorMessage();
+ PRINTF(T("システム停止します\n", "The system will shut down\n"));
osDestroyThread(NULL);
while (true) {}
}
@@ -120,12 +123,19 @@ void Check_ExpansionPak(void) {
void Check_RegionIsSupported(void) {
s32 regionSupported = false;
- if ((osTvType == OS_TV_NTSC) || (osTvType == OS_TV_MPAL)) {
+ PRINTF(T("指向国チェック osTvType=%d\n", "Checking the country of origin: osTvType=%d\n"), osTvType);
+ if ((osTvType == OS_TV_NTSC)
+#if MM_VERSION >= N64_US
+ || (osTvType == OS_TV_MPAL)
+#endif
+ ) {
regionSupported = true;
}
if (!regionSupported) {
+ PRINTF(T("指向国チェックNG\n", "Country of origin check failed\n"));
Check_DrawRegionLockErrorMessage();
+ PRINTF(T("システム停止します\n", "The system will shut down\n"));
osDestroyThread(NULL);
while (true) {}
}