From ffce6e7f11216826696d0fb0ea6593d9623f1ed9 Mon Sep 17 00:00:00 2001 From: gijs Date: Thu, 19 Oct 2023 19:43:03 +0200 Subject: [PATCH] Change `main.c` to use defines in `__set_vi_mode` --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 42fcf38..67e6c2e 100644 --- a/src/main.c +++ b/src/main.c @@ -161,7 +161,7 @@ void func_80072710(void) { /* 2B38 80072738 */ void __set_vi_mode(s32 arg0) { switch (osTvType) { - case 1: + case OS_TV_NTSC: switch (arg0) { case 2: osViSetMode(&osViModeNtscLan1); @@ -171,7 +171,8 @@ void __set_vi_mode(s32 arg0) { break; } break; - case 2: + + case OS_TV_MPAL: switch (arg0) { case 2: osViSetMode(&osViModeMpalLan1);