diff options
author | Jaroslav Hensl <jara@hensl.cz> | 2024-02-01 23:21:30 +0100 |
---|---|---|
committer | Jaroslav Hensl <jara@hensl.cz> | 2024-02-01 23:21:30 +0100 |
commit | c8fa3c1ff1a18a6013d927e4b14f82bae343adbb (patch) | |
tree | 6f997132c8c7d65952a56d57c948a8a481c1ab23 /scrsw.c | |
parent | cf7b049839923f86fed97cfe7d8c17952a3fe79a (diff) | |
download | vmdisp9x-c8fa3c1ff1a18a6013d927e4b14f82bae343adbb.tar.gz |
driver code refactoring / PART2: vboxvga+qemu code
Diffstat (limited to 'scrsw.c')
-rw-r--r-- | scrsw.c | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -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. */
|