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:
@@ -177,6 +177,8 @@ void fdc37c665_write(uint16_t port, uint8_t val, void *priv)
|
||||
if (val == 0xaa)
|
||||
write_lock(val);
|
||||
else
|
||||
fdc37c665_curreg = val;
|
||||
#if 0
|
||||
if (fdc37c665_curreg != 0)
|
||||
{
|
||||
fdc37c665_curreg = val & 0xf;
|
||||
@@ -186,9 +188,13 @@ void fdc37c665_write(uint16_t port, uint8_t val, void *priv)
|
||||
/* Hardcode the IDE to AT type. */
|
||||
fdc37c665_curreg = (val & 0xf) | 2;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
if (fdc37c665_curreg > 15)
|
||||
return;
|
||||
|
||||
valxor = val ^ fdc37c665_regs[fdc37c665_curreg];
|
||||
fdc37c665_regs[fdc37c665_curreg] = val;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user