From 5fc3bfb9211ab81f5d164fd4fa635903d5cb7e47 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 26 May 2025 09:52:18 -0700 Subject: [PATCH] Change to unsigned int --- LEGO1/tgl/d3drm/device.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/tgl/d3drm/device.cpp b/LEGO1/tgl/d3drm/device.cpp index 1cf9b853..d846a01d 100644 --- a/LEGO1/tgl/d3drm/device.cpp +++ b/LEGO1/tgl/d3drm/device.cpp @@ -17,7 +17,7 @@ void* DeviceImpl::ImplementationDataPtr() } // FUNCTION: BETA10 0x1016dea0 -inline unsigned long DeviceGetWidth(IDirect3DRMDevice2* pDevice) +inline unsigned int DeviceGetWidth(IDirect3DRMDevice2* pDevice) { return pDevice->GetWidth(); } @@ -32,7 +32,7 @@ unsigned int DeviceImpl::GetWidth() } // FUNCTION: BETA10 0x1016df20 -inline unsigned long DeviceGetHeight(IDirect3DRMDevice2* pDevice) +inline unsigned int DeviceGetHeight(IDirect3DRMDevice2* pDevice) { return pDevice->GetHeight(); } @@ -78,7 +78,7 @@ Result DeviceImpl::SetShadingModel(ShadingModel model) } // FUNCTION: BETA10 0x1016e140 -inline Result DeviceSetShadeCount(IDirect3DRMDevice2* pDevice, unsigned long shadeCount) +inline Result DeviceSetShadeCount(IDirect3DRMDevice2* pDevice, unsigned int shadeCount) { return ResultVal(pDevice->SetShades(shadeCount)); }