mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-11 04:44:07 +02:00
Update to v106r52 release.
byuu says: I stand corrected, I managed to create and even larger diff than ever. This one weighs in at 309KiB `>__>` I'll have to create a changelog later, I'm too tired right now to go through all of that.
This commit is contained in:
@@ -10,8 +10,8 @@ struct AudioOpenAL : Audio {
|
||||
AudioOpenAL() { initialize(); }
|
||||
~AudioOpenAL() { terminate(); }
|
||||
|
||||
auto availableDevices() -> string_vector {
|
||||
string_vector devices;
|
||||
auto availableDevices() -> vector<string> {
|
||||
vector<string> devices;
|
||||
for(auto& device : queryDevices()) devices.append(device);
|
||||
return devices;
|
||||
}
|
||||
@@ -163,8 +163,8 @@ private:
|
||||
_buffer = nullptr;
|
||||
}
|
||||
|
||||
auto queryDevices() -> string_vector {
|
||||
string_vector result;
|
||||
auto queryDevices() -> vector<string> {
|
||||
vector<string> result;
|
||||
|
||||
const char* list = alcGetString(nullptr, ALC_DEVICE_SPECIFIER);
|
||||
if(!list) return result;
|
||||
|
Reference in New Issue
Block a user