Fixed the window resizes function in win_video.c, fixes window resizes with non-resizable window (ie. the main window is no longer stuck in 640x480);
Fixed the Force 4:3, Enable EGA/(S)VGA overscan, and Scale options; Fixed a bug regarding register 0 of the SMC FDC37C665 Super I/O chip; Commented out some excess logging.
This commit is contained in:
@@ -110,6 +110,7 @@ int video_timing[6][4] = {
|
||||
{ VIDEO_BUS, 4, 5, 10 },
|
||||
{ VIDEO_BUS, 3, 3, 4 }
|
||||
};
|
||||
static int video_force_resize;
|
||||
PALETTE cgapal = {
|
||||
{0,0,0}, {0,42,0}, {42,0,0}, {42,21,0},
|
||||
{0,0,0}, {0,42,42}, {42,0,42}, {42,42,42},
|
||||
@@ -574,6 +575,20 @@ video_reset(void)
|
||||
}
|
||||
|
||||
|
||||
uint8_t
|
||||
video_force_resize_get(void)
|
||||
{
|
||||
return video_force_resize;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
video_force_resize_set(uint8_t res)
|
||||
{
|
||||
video_force_resize = res;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
loadfont(wchar_t *s, int format)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user