mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Merge remote-tracking branch 'isle/master'
This commit is contained in:
commit
c921773d4e
@ -244,7 +244,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)) {
|
||||||
|
|||||||
@ -129,7 +129,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 @@ class LegoDeviceEnumerate : public MxDeviceEnumerate {
|
|||||||
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 bool SupportsSIMD();
|
static bool SupportsSIMD();
|
||||||
static bool SupportsCPUID();
|
static bool SupportsCPUID();
|
||||||
int FUN_1009d210();
|
int FUN_1009d210();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user