mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-27 02:55:11 -04:00
4a875dca41
GetAvailableAudioBackends()/GetAvailableWindowBackends() can report a backend that has no entry in the static name maps (e.g. a newly added or platform- specific backend), which made audioBackendsMap.at()/windowBackendsMap.at() throw std::out_of_range and crash. Look up with find() (single lookup) and skip backends that aren't named instead of dereferencing a missing key. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>