IDE hard disks and ATAPI CD-ROMS with DMA support now report as supporting UDMA modes, for the sake of future-proofing things;

Changed the CD-ROM capabilities MODE SENSE page a bit;
Applied the S3 Trio and SVGA changes from PCem;
Fixed saving of the video renderer settings;
Fixed DirectDraw full screen;
Fixed crashes on soft reset in full screen.
This commit is contained in:
OBattler
2017-10-25 02:17:27 +02:00
parent 1efbf0463a
commit 45204350b4
22 changed files with 269 additions and 191 deletions

View File

@@ -196,7 +196,7 @@ set_screen_size(int x, int y)
int efscrnsz_y;
/* Make sure we keep usable values. */
#if 0
#if 1
pclog("SetScreenSize(%d, %d) resize=%d\n", x, y, vid_resize);
#endif
if (x < 320) x = 320;
@@ -968,7 +968,7 @@ pc_thread(void *param)
if (leave_fullscreen_flag) {
#if 1
pclog("Leaving full-screen mode..\n");
// plat_fullscreen(0);
plat_setfullscreen(0);
#else
SendMessage(hwndMain, WM_LEAVEFULLSCREEN, 0, 0);
#endif