Config fixes

This commit is contained in:
Anders Jenbo 2025-06-03 19:16:37 +02:00
parent 0cc1bd0d8a
commit 20413146dc
5 changed files with 6 additions and 6 deletions

View File

@ -91,9 +91,8 @@ bool CMainDialog::OnInitDialog()
device_i += 1;
sprintf(
device_name,
"%s [%s] ( %s )",
"%s ( %s )",
device.m_deviceDesc,
device.m_deviceName,
driver_i == 0 ? "Primary Device" : "Secondary Device"
);
m_ui->devicesList->addItem(device_name);

View File

@ -342,7 +342,8 @@ unsigned char LegoDeviceEnumerate::FUN_1009d3d0(Direct3DDeviceInfo& p_device)
}
if (p_device.m_HWDesc.dcmColorModel != D3DCOLOR_NONE) {
if ((p_device.m_HWDesc.dwDeviceZBufferBitDepth & DDBD_16) == DDBD_16 &&
DDBitDepths zDepth = p_device.m_HWDesc.dwDeviceZBufferBitDepth;
if ((zDepth & (DDBD_16 | DDBD_24 | DDBD_32)) != static_cast<DDBitDepths>(0) &&
(p_device.m_HWDesc.dpcTriCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE) == D3DPTEXTURECAPS_PERSPECTIVE) {
return TRUE;
}

View File

@ -143,7 +143,7 @@ void OpenGL15Renderer::GetDesc(D3DDEVICEDESC* halDesc, D3DDEVICEDESC* helDesc)
const char* OpenGL15Renderer::GetName()
{
return "OpenGL 1.5 Renderer";
return "OpenGL 1.5 HAL";
}
HRESULT OpenGL15Renderer::Render()

View File

@ -316,7 +316,7 @@ void Direct3DRMSDL3GPURenderer::GetDesc(D3DDEVICEDESC* halDesc, D3DDEVICEDESC* h
const char* Direct3DRMSDL3GPURenderer::GetName()
{
return "SDL3 GPU Rendere";
return "SDL3 GPU HAL";
}
HRESULT Direct3DRMSDL3GPURenderer::Render()

View File

@ -463,7 +463,7 @@ void Direct3DRMSoftwareRenderer::GetDesc(D3DDEVICEDESC* halDesc, D3DDEVICEDESC*
const char* Direct3DRMSoftwareRenderer::GetName()
{
return "Software Renderer";
return "Miniwin Emulation";
}
HRESULT Direct3DRMSoftwareRenderer::Render()