diff options
author | Jaroslav Hensl <emulator@emulace.cz> | 2024-12-25 13:48:44 +0100 |
---|---|---|
committer | Jaroslav Hensl <emulator@emulace.cz> | 2024-12-25 13:48:44 +0100 |
commit | c5014304759e25237f3d007b7818eee62e0f554d (patch) | |
tree | b5bd236f7a9276e47dbc48087128177c5028655c | |
parent | eadb6ba06c642d2dd0d72e6bda08fba3bd09b5ad (diff) | |
download | vmdisp9x-c5014304759e25237f3d007b7818eee62e0f554d.tar.gz |
DD: extra callbacks
-rw-r--r-- | dddrv.c | 9 | ||||
-rw-r--r-- | makefile | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -478,6 +478,15 @@ BOOL DDCreateDriverObject(int bReset) cbDDCallbacks.FlipToGDISurface = hal->cb32.FlipToGDISurface;
if(cbDDCallbacks.FlipToGDISurface) cbDDCallbacks.dwFlags |= DDHAL_CB32_FLIPTOGDISURFACE;
+ cbDDSurfaceCallbacks.SetColorKey = hal->cb32.SetColorKey;
+ if(cbDDSurfaceCallbacks.SetColorKey) cbDDSurfaceCallbacks.dwFlags |= DDHAL_SURFCB32_SETCOLORKEY;
+
+ cbDDSurfaceCallbacks.AddAttachedSurface = hal->cb32.AddAttachedSurface;
+ if(cbDDSurfaceCallbacks.AddAttachedSurface) cbDDSurfaceCallbacks.dwFlags |= DDHAL_SURFCB32_ADDATTACHEDSURFACE;
+
+ cbDDSurfaceCallbacks.SetOverlayPosition = hal->cb32.SetOverlayPosition;
+ if(cbDDSurfaceCallbacks.SetOverlayPosition) cbDDSurfaceCallbacks.dwFlags |= DDHAL_SURFCB32_SETOVERLAYPOSITION;
+
if(hal->cb32.DestroyDriver)
{
cbDDCallbacks.DestroyDriver = hal->cb32.DestroyDriver;
@@ -12,7 +12,7 @@ OBJS += & INCS = -I$(%WATCOM)\h\win -Iddk -Ivmware
-VER_BUILD = 92
+VER_BUILD = 93
FLAGS = -DDRV_VER_BUILD=$(VER_BUILD)
|