video_output: correct fb_y_size

The y_size - 3 value was cargo-culted from Darkness.

The correct value appears to be y_size - 1, which also matches what is
documented in DCDBSysArc990907E
This commit is contained in:
Zack Buhman 2025-05-22 04:37:49 -05:00
parent 3cd04c6d40
commit 9e58a376bd

View File

@ -31,7 +31,7 @@ void set_framebuffer_resolution(const uint32_t x_size, const uint32_t y_size)
| fb_y_clip::fb_y_clip_min(0);
holly.FB_R_SIZE = fb_r_size::fb_modulus(1)
| fb_r_size::fb_y_size(y_size - 3)
| fb_r_size::fb_y_size(y_size - 1)
| fb_r_size::fb_x_size((x_size * 16) / 32 - 1);
}