[Kernel] Disable high definition mode for internal resolutions lower than 1024x768

This will allow some games to render in lower than normal resolution
This commit is contained in:
Gliniak 2023-10-22 20:24:43 +02:00
parent e633bf3d98
commit 2509b03b81
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ void VdQueryVideoMode(X_VIDEO_MODE* video_mode) {
video_mode->is_interlaced = 0; video_mode->is_interlaced = 0;
video_mode->is_widescreen = video_mode->is_widescreen =
((video_mode->display_width / 4) > (video_mode->display_height / 3)); ((video_mode->display_width / 4) > (video_mode->display_height / 3));
video_mode->is_hi_def = 1; video_mode->is_hi_def = video_mode->display_width >= 0x400;
video_mode->refresh_rate = 60.0f; video_mode->refresh_rate = 60.0f;
video_mode->video_standard = 1; // NTSC video_mode->video_standard = 1; // NTSC
video_mode->unknown_0x8a = 0x4A; video_mode->unknown_0x8a = 0x4A;