aboutsummaryrefslogtreecommitdiffstats
path: root/dddrv.c
diff options
context:
space:
mode:
authorJaroslav Hensl <jara@hensl.cz>2024-01-31 23:57:00 +0100
committerJaroslav Hensl <jara@hensl.cz>2024-01-31 23:57:00 +0100
commitcf7b049839923f86fed97cfe7d8c17952a3fe79a (patch)
tree70e5b14cbdcf92429a9608316768e7154e3a0b6f /dddrv.c
parent4cc02044b5cd8d5a3791f847198b37817fc60b78 (diff)
downloadvmdisp9x-cf7b049839923f86fed97cfe7d8c17952a3fe79a.tar.gz
driver code refactoring / PART1: vmware code
Diffstat (limited to 'dddrv.c')
-rw-r--r--dddrv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dddrv.c b/dddrv.c
index 5581510..eb9c530 100644
--- a/dddrv.c
+++ b/dddrv.c
@@ -34,6 +34,7 @@ THE SOFTWARE.
#include <string.h> /* _fmemset */
#include <stddef.h>
+#include "3d_accel.h"
#include "vmdahal.h"
const static DD32BITDRIVERDATA_t drv_bridge99 = {
@@ -551,8 +552,8 @@ BOOL DDCreateDriverObject(int bReset)
dbg_printf(" GetDriverInfo = %lX\n", hal->ddHALInfo.GetDriverInfo);
dbg_printf(" WaitForVerticalBlank = %lX\n\n", cbDDCallbacks.WaitForVerticalBlank);
- hal->pFBHDA32 = FBHDA_linear;
- hal->pFBHDA16 = FBHDA_ptr;
+ hal->pFBHDA32 = hda_linear;
+ hal->pFBHDA16 = hda;
hal->FBHDA_version = 2;
return lpDDHAL_SetInfo(&(hal->ddHALInfo), bReset);