mirror of
https://github.com/td512/re3.git
synced 2026-02-02 00:11:50 +00:00
Fixes and style changes from miami
This commit is contained in:
@@ -118,7 +118,12 @@ int8 cDMAudio::AutoDetect3DProviders(void)
|
||||
for ( int32 i = 0; i < GetNum3DProvidersAvailable(); i++ )
|
||||
{
|
||||
wchar buff[64];
|
||||
|
||||
|
||||
#ifdef AUDIO_OAL
|
||||
if (defaultProvider >= 0 && defaultProvider < GetNum3DProvidersAvailable()) {
|
||||
return i;
|
||||
}
|
||||
#endif
|
||||
char *name = Get3DProviderName(i);
|
||||
AsciiToUnicode(name, buff);
|
||||
char *providername = UnicodeToAscii(buff);
|
||||
|
||||
Reference in New Issue
Block a user