eden/src/frontend_common
crueter 027085e5ba
[desktop] fix audio output engine not saving (#3083)
This issue has like 15 different causes, and I'm surprised it took this
long to pop up.

1. LoadString had a hack *specific* to the AudioEngine enum. Why?
   Solving this was easy, just use the explicit type ctor. -_-
2. The LoadString hack was abused in configure_audio.cpp to get around
   the canonicalization infrastructure that was explicitly put in to
   make this exact operation easier. Why?
3. ToString was also broken because of LoadString's garbage output.
   Technically it might work now, but it's better to just use the
   canonicalization infrastructure that was made specifically for this
   purpose.

Also did a few tiny optimizations in config/settings cuz wynaut.

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3083
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
2025-11-25 00:20:16 +01:00
..
CMakeLists.txt [externals] FFmpeg -> v8.0-be99d2c0b2, OpenSSL -> v3.6.0-e3608d80df, SDL2 -> 2.32.10-38e0094637 (#3003) 2025-11-16 04:59:30 +01:00
config.cpp [desktop] fix audio output engine not saving (#3083) 2025-11-25 00:20:16 +01:00
config.h [frontend] fix Simpleini warnings SI_NO_CONVERSION macro being redefined when provided by cmdline (freebsd, linux, etc) (#2877) 2025-10-29 03:23:46 +01:00
content_manager.h [common, fs] Use std::string_view instead of std::string&; inline functions that are used rarely (#330) 2025-08-27 22:21:04 +02:00
data_manager.cpp [qt] Ryujinx save data link (#2815) 2025-10-28 03:46:47 +01:00
data_manager.h [qt] Ryujinx save data link (#2815) 2025-10-28 03:46:47 +01:00
firmware_manager.cpp [hle, kernel] Add support for FW21 and kernel changes (#3004) 2025-11-16 22:15:09 +01:00
firmware_manager.h [hle, kernel] Add support for FW21 and kernel changes (#3004) 2025-11-16 22:15:09 +01:00
play_time_manager.cpp [frontend] use hh:mm:ss for playtime so we don't have to translate h,m or s suffixes (#3065) 2025-11-21 19:28:26 +01:00
play_time_manager.h [core, android] Initial playtime implementation (#2535) 2025-10-17 22:47:43 +02:00
update_checker.cpp [qt] fix Discord RPC by using httplib (#2825) 2025-10-25 07:28:08 +02:00
update_checker.h [frontend, android] Move update_checker to frontend_common and add Android support (#2687) 2025-10-21 23:36:35 +02:00