summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/UICommon.cpp
AgeCommit message (Collapse)Author
2026-03-30UICommon: Create User/Logs/ at startupJosJuice
We used to create User/Logs/ as a side effect of creating User/Logs/Mail/, but the creation of User/Logs/Mail/ was removed in 8cbfee2, so now nothing is creating User/Logs/ anymore. Let's explicitly create it.
2026-02-15Added Triforce supportcrediar
2026-02-03Merge pull request #13594 from jordan-woyak/state-cleanupsJordan Woyak
State: Simplify interthread communication and general cleanups.
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2026-01-19Core: Add a HookableEvent for UICommon::FlushUnsavedData.Jordan Woyak
2026-01-19Android: Detect when native code should flush unsaved dataJosJuice
2025-11-02Common: Make HookableEvent use non-static data.Jordan Woyak
Co-authored-by: Dentomologist <dentomologist@gmail.com>
2025-10-29UICommon.cpp: Revert changes from #13866Joshua Vandaële
2025-10-27PathPane: Use ConfigControls where applicableJoshua Vandaële
2025-10-27WiiPane: Use ConfigControls where applicableJoshua Vandaële
2025-10-27GameCubePane: Use ConfigControls where applicableJoshua Vandaële
2025-10-02Merge pull request #13926 from ↵Jordan Woyak
Dentomologist/settings_open_file_dialog_at_user_path Settings: Open file dialogs at user path instead of custom path
2025-09-24chore: remove unused Logs/Mail/ dirFarmerbilly27
2025-09-01Settings: Open file dialogs at user pathDentomologist
When opening a file dialog to set the location of a custom path, use the corresponding user path as the starting location instead of the current custom path. When no custom path was set the dialog would be opened with a blank path which causes Windows (not sure about other platforms) to open the dialog at the same location where the last dialog was closed, or at the current working directory if no previous dialog had been opened. If a nonempty custom path has been set then it has also set the corresponding user path, so the behavior in that case is unchanged.
2025-07-23USBUtils: Refactor USB device handlingJoshua Vandaële
2025-06-14Source: Remove redundant lambda parameter listsDr. Dystopia
2025-04-25VideoConfig: Remove ConfigChangedCallback on shutdownDentomologist
2025-04-25UICommon: Merge ConfigChangedCallbacksDentomologist
Use a single lambda as a callback which calls InitCustomPaths and RefreshConfig instead of having separate callbacks for each of them. This fixes the callback for InitCustomPaths not being removed on shutdown; the callback for the lambda (previously for RefreshConfig) is already removed in Shutdown().
2024-10-15Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivialJosJuice
Ranges Algorithms Modernization - Trivial
2024-10-10Modernize `std::replace` with rangesmitaclaw
2024-09-27linux: Use D-Bus to inhibit screensaverrobxnano
2024-08-16Merge pull request #13010 from OatmealDome/goodbye-steamTilka
Remove Steam support
2024-08-15UICommon: Remove Steam user directory logicOatmealDome
2024-08-12Detect when running inside a flatpak sandboxCarles Pastor
2024-07-04AchievementManager: Cache Badges on DiskLillyJadeKatrin
Badges are saved in /User/Cache/RetroAchievements on first download and reused from there instead of redownloaded.
2024-04-09JitCache: Software Profiling Restorationmitaclaw
Rekindle software JIT profiling with a std::chrono conversion and a config connection.
2024-02-27BranchWatchDialog: A Total Replacement for CodeDiffDialogmitaclaw
With a purpose-built Branch Watch feature built into the emulated system: BranchWatchDialog, replacing CodeDiffDialog, is now better than ever!
2024-02-07Core: Move Emulation IOS instance to System.Admiral H. Curtiss
2023-12-18UICommon: Remove global system accessor in TriggerSTMPowerEvent()Lioncache
This can be passed through via the IOS instance.
2023-12-13Parser and Assembler implementationsvyuuui
2023-08-17Use structs for config callback IDsJosJuice
This way you can't mix up regular config callback IDs and CPU thread config callback IDs. (It would be rather bad if you did!)
2023-06-18Replace std::ostringstream usage with fmt::formatget
2023-04-15Common/MathUtil: Move IntLog2 into MathUtil namespaceLioncash
Gets this out of the global namespace.
2023-02-26UICommon: Create Load/DynamicInputTextures directory on startupDentomologist
Fix console error spam on Dolphin and game startup if the directory doesn't exist.
2023-02-12Address WIL todos in UICommon.cppSilent
2023-01-31UICommon: Don't check the registry key or use the old user directory path on ↵OatmealDome
Windows builds for Steam
2023-01-31CommonPaths: Split PORTABLE_USER_DIR into "portable" and "embedded" to ↵OatmealDome
accomodate macOS
2023-01-31UICommon: Use NORMAL_USER_DIR for WindowsOatmealDome
2023-01-31CommonPaths: Rename DOLPHIN_DATA_DIR to NORMAL_USER_DIROatmealDome
2023-01-31CommonPaths: Rename USERDATA_DIR to PORTABLE_USER_DIROatmealDome
2023-01-16UICommon: Set UserConfigPath in the registry to AppData User for backwards ↵OatmealDome
compatibility
2023-01-16UICommon: Use the old User directory in Documents if it existsOatmealDome
2023-01-16UICommon: Change default User directory location to AppDataOatmealDome
2023-01-04HW/ProcessorInterface: Refactor to class, move to Core::System.Admiral H. Curtiss
2022-09-24Move a SetEnableAlert call to UICommonJosJuice
This fixes a problem where changing the Use Panic Handlers setting on Android wouldn't take effect until the app was restarted.
2022-07-17Split out controller initialization to UICommonJosJuice
2022-07-11Config and UICommon: Add config option and user path for Wii SD card sync ↵Admiral H. Curtiss
folder.
2022-07-11Treewide: Rename references to SD Card image path to clarify they mean the ↵Admiral H. Curtiss
image file, not the folder.
2022-07-08Merge pull request #10430 from OatmealDome/mac-portableJMC47
UICommon: Add support for portable.txt on macOS
2022-06-26Core: add GraphicsMod directoryiwubcode