mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Rename FUN_1009d0d0 into GetBestDevice (#1478)
This commit is contained in:
@@ -236,7 +236,7 @@ BOOL CConfigApp::ReadRegisterSettings()
|
|||||||
if (tmp != 0) {
|
if (tmp != 0) {
|
||||||
is_modified = TRUE;
|
is_modified = TRUE;
|
||||||
m_device_enumerator->FUN_1009d210();
|
m_device_enumerator->FUN_1009d210();
|
||||||
tmp = m_device_enumerator->FUN_1009d0d0();
|
tmp = m_device_enumerator->GetBestDevice();
|
||||||
m_device_enumerator->GetDevice(tmp, m_driver, m_device);
|
m_device_enumerator->GetDevice(tmp, m_driver, m_device);
|
||||||
}
|
}
|
||||||
if (!ReadRegInt("Display Bit Depth", &m_display_bit_depth)) {
|
if (!ReadRegInt("Display Bit Depth", &m_display_bit_depth)) {
|
||||||
|
@@ -119,7 +119,7 @@ MxResult LegoVideoManager::Create(MxVideoParam& p_videoParam, MxU32 p_frequencyM
|
|||||||
|
|
||||||
if (deviceNum < 0) {
|
if (deviceNum < 0) {
|
||||||
deviceEnumerate.FUN_1009d210();
|
deviceEnumerate.FUN_1009d210();
|
||||||
deviceNum = deviceEnumerate.FUN_1009d0d0();
|
deviceNum = deviceEnumerate.GetBestDevice();
|
||||||
deviceNum = deviceEnumerate.GetDevice(deviceNum, driver, device);
|
deviceNum = deviceEnumerate.GetDevice(deviceNum, driver, device);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -158,7 +158,7 @@ int LegoDeviceEnumerate::BETA_1011cc65(int p_idx, char* p_buffer)
|
|||||||
// FUNCTION: CONFIG 0x00402860
|
// FUNCTION: CONFIG 0x00402860
|
||||||
// FUNCTION: LEGO1 0x1009d0d0
|
// FUNCTION: LEGO1 0x1009d0d0
|
||||||
// FUNCTION: BETA10 0x1011cdb4
|
// FUNCTION: BETA10 0x1011cdb4
|
||||||
int LegoDeviceEnumerate::FUN_1009d0d0()
|
int LegoDeviceEnumerate::GetBestDevice()
|
||||||
{
|
{
|
||||||
if (!IsInitialized()) {
|
if (!IsInitialized()) {
|
||||||
return -1;
|
return -1;
|
||||||
|
@@ -14,7 +14,7 @@ public:
|
|||||||
int GetDevice(int p_deviceNum, MxDriver*& p_driver, Direct3DDeviceInfo*& p_device);
|
int GetDevice(int p_deviceNum, MxDriver*& p_driver, Direct3DDeviceInfo*& p_device);
|
||||||
int FormatDeviceName(char* p_buffer, const MxDriver* p_ddInfo, const Direct3DDeviceInfo* p_d3dInfo) const;
|
int FormatDeviceName(char* p_buffer, const MxDriver* p_ddInfo, const Direct3DDeviceInfo* p_d3dInfo) const;
|
||||||
int BETA_1011cc65(int p_idx, char* p_buffer);
|
int BETA_1011cc65(int p_idx, char* p_buffer);
|
||||||
int FUN_1009d0d0();
|
int GetBestDevice();
|
||||||
static int SupportsMMX();
|
static int SupportsMMX();
|
||||||
static int SupportsCPUID();
|
static int SupportsCPUID();
|
||||||
int FUN_1009d210();
|
int FUN_1009d210();
|
||||||
|
Reference in New Issue
Block a user