mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
sdl: log version
This commit is contained in:
parent
213674511e
commit
c45deb3f87
@ -237,6 +237,18 @@ bool sdl_pad_handler::Init()
|
||||
}
|
||||
}
|
||||
|
||||
SDL_version version{};
|
||||
SDL_GetVersion(&version);
|
||||
|
||||
if (const char* revision = SDL_GetRevision(); revision && strlen(revision) > 0)
|
||||
{
|
||||
sdl_log.notice("Using version: %d.%d.%d (revision='%s')", version.major, version.minor, version.patch, revision);
|
||||
}
|
||||
else
|
||||
{
|
||||
sdl_log.notice("Using version: %d.%d.%d", version.major, version.minor, version.patch);
|
||||
}
|
||||
|
||||
m_is_init = true;
|
||||
enumerate_devices();
|
||||
|
||||
|
@ -962,7 +962,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||
const std::string selected_device = m_emu_settings->GetSetting(emu_settings_type::AudioDevice);
|
||||
int device_index = 0;
|
||||
|
||||
for (auto& dev : dev_array)
|
||||
for (const audio_device_enumerator::audio_device& dev : dev_array)
|
||||
{
|
||||
const QString cur_item = qstr(dev.id);
|
||||
ui->audioDeviceBox->addItem(qstr(dev.name), cur_item);
|
||||
|
Loading…
Reference in New Issue
Block a user