aboutsummaryrefslogtreecommitdiffstats
path: root/scrsw.c
diff options
context:
space:
mode:
authorJaroslav Hensl <jara@hensl.cz>2024-02-01 23:21:30 +0100
committerJaroslav Hensl <jara@hensl.cz>2024-02-01 23:21:30 +0100
commitc8fa3c1ff1a18a6013d927e4b14f82bae343adbb (patch)
tree6f997132c8c7d65952a56d57c948a8a481c1ab23 /scrsw.c
parentcf7b049839923f86fed97cfe7d8c17952a3fe79a (diff)
downloadvmdisp9x-c8fa3c1ff1a18a6013d927e4b14f82bae343adbb.tar.gz
driver code refactoring / PART2: vboxvga+qemu code
Diffstat (limited to 'scrsw.c')
-rw-r--r--scrsw.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/scrsw.c b/scrsw.c
index 412131b..638aa0e 100644
--- a/scrsw.c
+++ b/scrsw.c
@@ -122,18 +122,6 @@ void UnhookInt2Fh( void )
}
}
-#ifdef SVGA
-static void __far __loadds SVGA_background()
-{
- SVGA_HW_disable();
-}
-
-static void __far __loadds SVGA_foreground()
-{
- SVGA_HW_enable();
-}
-#endif /* SVGA */
-
#pragma code_seg( _TEXT )
/* Repaint screen or postpone for later.
@@ -176,7 +164,7 @@ void SwitchToBgnd( void )
{
dbg_printf( "SwitchToBgnd\n" );
#ifdef SVGA
- SVGA_background();
+ SVGA_HW_disable();
#endif
lpDriverPDevice->deFlags |= BUSY; /// @todo Does this need to be a locked op?
@@ -191,7 +179,7 @@ void SwitchToFgnd( void )
{
dbg_printf( "SwitchToFgnd\n" );
#ifdef SVGA
- SVGA_foreground();
+ SVGA_HW_enable();
#endif
/* If the PDevice is busy, we need to reset the display mode. */