From bd17c995eae7c79dfc2f99e4aabc2a185e4dd43f Mon Sep 17 00:00:00 2001 From: T_chan Date: Sat, 3 Feb 2024 11:42:39 +0000 Subject: [PATCH] Naomi: don't call flashrom_get_region, as KOS Naomi does not include flashrom functions --- GL/platforms/sh4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GL/platforms/sh4.c b/GL/platforms/sh4.c index 85aaf7c..67c6a28 100644 --- a/GL/platforms/sh4.c +++ b/GL/platforms/sh4.c @@ -32,6 +32,7 @@ void InitGPU(_Bool autosort, _Bool fsaa) { pvr_init(¶ms); +#ifndef _arch_sub_naomi /* If we're PAL and we're NOT VGA, then use 50hz by default. This is the safest thing to do. If someone wants to force 60hz then they can call vid_set_mode later and hopefully that'll work... */ @@ -45,6 +46,7 @@ void InitGPU(_Bool autosort, _Bool fsaa) { vid_set_mode(DM_640x480_PAL_IL, PM_RGB565); } } +#endif } void SceneBegin() {