aboutsummaryrefslogtreecommitdiffstats
path: root/vxd_svga.c
diff options
context:
space:
mode:
authorJaroslav Hensl <emulator@emulace.cz>2024-04-27 01:24:03 +0200
committerJaroslav Hensl <emulator@emulace.cz>2024-04-27 01:24:03 +0200
commit60c366fe3c99d042036fb36affe3f9c73f83391f (patch)
tree5bf24f2db67485819163a61b653994d1a23dfc9b /vxd_svga.c
parent7f151e52c991ebd013ff9523004b6584cfd5653e (diff)
downloadvmdisp9x-60c366fe3c99d042036fb36affe3f9c73f83391f.tar.gz
fixed FBHDA pointer + cleanup
Diffstat (limited to 'vxd_svga.c')
-rw-r--r--vxd_svga.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/vxd_svga.c b/vxd_svga.c
index 1899729..d64f440 100644
--- a/vxd_svga.c
+++ b/vxd_svga.c
@@ -1808,7 +1808,6 @@ void FBHDA_access_end(DWORD flags)
if(fb_lock_cnt == 0)
{
- /*BOOL need_sync = */
mouse_blit();
if(hda->bpp == 32)
@@ -1823,18 +1822,8 @@ void FBHDA_access_end(DWORD flags)
cmd_update->y = 0;
cmd_update->width = hda->width;
cmd_update->height = hda->height;
-#if 0
- if(need_sync)
- {
- SVGA_CMB_submit(cmdbuf, cmd_offset, NULL, SVGA_CB_SYNC, 0);
- }
- else
- {
- SVGA_CMB_submit(cmdbuf, cmd_offset, NULL, 0, 0);
- }
-#else
+
SVGA_CMB_submit(cmdbuf, cmd_offset, NULL, SVGA_CB_SYNC, 0);
-#endif
}
}