Set mode to PAL@50 if it's a European console without VGA
This commit is contained in:
parent
e7574bca1d
commit
92ee4f616d
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user