mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
Fix a clear bug in aldlist.cpp.
Properly clears itself now.
This commit is contained in:
parent
866cdc5961
commit
1cf7cbb936
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ ALDeviceList::ALDeviceList()
|
||||||
const char *actualDeviceName = NULL;
|
const char *actualDeviceName = NULL;
|
||||||
|
|
||||||
// DeviceInfo vector stores, for each enumerated device, it's device name, selection status, spec version #, and extension support
|
// DeviceInfo vector stores, for each enumerated device, it's device name, selection status, spec version #, and extension support
|
||||||
vDeviceInfo.empty();
|
vDeviceInfo.clear();
|
||||||
vDeviceInfo.reserve(10);
|
vDeviceInfo.reserve(10);
|
||||||
|
|
||||||
defaultDeviceIndex = 0;
|
defaultDeviceIndex = 0;
|
||||||
|
@ -151,7 +151,7 @@ ALDeviceList::~ALDeviceList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vDeviceInfo.empty();
|
vDeviceInfo.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue