diff --git a/GL/platforms/sh4.c b/GL/platforms/sh4.c index e375772..ca78170 100644 --- a/GL/platforms/sh4.c +++ b/GL/platforms/sh4.c @@ -31,6 +31,17 @@ void InitGPU(_Bool autosort, _Bool fsaa) { }; pvr_init(¶ms); + + /* 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... */ + + int cable = vid_check_cable(); + int region = flashrom_get_region(); + + if(region == FLASHROM_REGION_EUROPE && cable != CT_VGA) { + vid_set_mode(DM_640x480_PAL_IL, PM_RGB565); + } } void SceneBegin() {