aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
AgeCommit message (Collapse)Author
2023-10-13Improvement in Directory Path Detection for Shortcuts (#11749)DanielSvoboda
* Improvement in Directory Path Detection for Shortcuts This pull request updates how the directory path for shortcuts is determined. The main changes are: 1. Replaced the use of environment variables to determine the path of the desktop and applications menu with `QStandardPaths::writableLocation`. This change addresses an issue where the desktop path was not correctly identified when its location was customized, as shown in the attached screenshot. 2. Added conversion from `QString` to `std::string` using `toUtf8()`, which correctly handles non-ASCII characters in directory paths. This change ensures that directory paths containing Portuguese words like "Área de trabalho" are supported. 3. Replaced directory checking using `Common::FS::IsDir()` with `QDir::exists()`. These changes should improve cross-platform compatibility and code robustness. Because it couldn't locate my desktop, which wasn't on the C drive, but on the F, and even though localization wouldn't work because it was setting it to find the 'Desktop' folder and in the computer's language it says 'Área de trabalho', that will fix for other languages too. * Update main.cpp * formatting * Update src/yuzu/main.cpp Co-authored-by: Tobias <thm.frey@gmail.com> * Update src/yuzu/main.cpp Co-authored-by: Tobias <thm.frey@gmail.com> * Update main.cpp * Update main.cpp * Update main.cpp desktopPath > desktop_Path applicationsPath > applications_Path * Update main.cpp * formatting * Update main.cpp This code will attempt to use QStandardPaths to find the applications directory. If that fails, it will resort to using the ~/.local/share/applications directory, which is a common location for application shortcuts in Linux. * Update main.cpp * formatting --------- Co-authored-by: Tobias <thm.frey@gmail.com>
2023-10-12yuzu: Enable to use controller to restart a gameflodavid
- Show the right confirm dialog if wanted - Create generic method to ask close confirmation - Add "R + Plus + Minus" default shortcut to Restart emulation
2023-10-12yuzu: Use new setting method for stop emulationFlorian
2023-10-12yuzu: Enable to use controller to close a gameflodavid
- Add General setting to choose if a confirm dialog is shown when stopping - Show the right confirm dialog if wanted - Reuse dialog window that ask to close the game - Add "L + Plus + Minus" default shortcut to Stop emulation - Create generic question dialog based on TAS dialog - It allows controller interaction on most dialogs
2023-10-10Merge pull request #11650 from german77/lle_albumFernando S
service: am: Add support for LLE Album Applet
2023-10-08Merge pull request #11705 from FearlessTobi/windows-scliamwhite
yuzu: Add desktop shortcut support for Windows (continuation of #11344)
2023-10-08Merge pull request #10519 from mdmrk/masterliamwhite
yuzu-qt: Track play time
2023-10-08qt: implement automatic crash dump supportLiam
2023-10-07yuzu: Add desktop shortcut support for WindowsFearlessTobi
Allows creating desktop shortcuts with icons for yuzu games. Co-Authored-By: Jeroen van Schijndel <13182141+roenyroeny@users.noreply.github.com>
2023-10-03yuzu: Fix mute when in background settingNarr the Reg
2023-10-02yuzu: Allow to launch album applet from firmwareNarr the Reg
2023-10-02qt: add additional romfs dump targetsLiam
2023-10-01service: am: Set push in arguments according to the launched appletNarr the Reg
2023-10-01yuzu: Allow to launch cabinet applet from firmwareNarr the Reg
2023-09-26Qt: Remove ability to install xci filesCharles Lombardo
2023-09-23yuzu: Add button to boot mii edit from firmwaregerman77
2023-09-14debug: Add renderdoc capture hotkeyGPUCode
2023-09-13Merge pull request #11486 from liamwhite/system-verificationliamwhite
qt: add verification for installed contents
2023-09-13Merge pull request #11473 from liamwhite/fix-launch-paramliamwhite
am: Implement UserChannel parameters
2023-09-12qt: add verification for installed contentsLiam
2023-09-10am: Implement UserChannel parametersFearlessTobi
Used by the Super Mairo 3D All-Stars collection.
2023-09-10Merge pull request #11450 from lat9nq/no-vk-device-fixliamwhite
configure_graphics: Fix handling of broken Vulkan
2023-09-10Merge pull request #11456 from liamwhite/worse-integrity-verificationliamwhite
core: implement basic integrity verification
2023-09-06core: implement basic integrity verificationLiam
2023-09-05yuzu-qt: Use Null when OpenGL is not compiledlat9nq
2023-09-05yuzu-qt: Update API Text for broken Vulkanlat9nq
Otherwise caused a blue Vulkan badge to appear in the status bar.
2023-09-02qt: measure romfs dump completion by bytes readLiam
2023-09-02Merge pull request #11381 from liamwhite/romfs-dumpliamwhite
qt: fix romfs dumping for multiprogram applications
2023-09-02Merge pull request #11384 from liamwhite/am-shutdownliamwhite
am: shorten shutdown timeout when lock is not held
2023-08-28qt: ensure packed update nca is applied to the correct baseLiam
2023-08-28qt: fix romfs dumping for multiprogram applicationsLiam
2023-08-27Address review commentsLiam
2023-08-26yuzu-qt: Track play timeMario
2023-08-26Merge pull request #11356 from lat9nq/console-mode-pgliamwhite
general,config-qt: Present Console Mode as an enum with separate options in game properties
2023-08-26am: shorten shutdown timeout when lock is not heldLiam
2023-08-24yuzu/main: Ensure NCAs are registered in content provider when launching ↵FearlessTobi
from CLI Fixes updates and DLC not being loaded when launching yuzu from the command line. Similar to https://github.com/yuzu-emu/yuzu/pull/11357. Fixes https://github.com/yuzu-emu/yuzu/issues/8352,
2023-08-23main: Fix docked mode button, clang 14 errorlat9nq
2023-08-22main: Access by referencelat9nq
Old Clang is fussy about this.
2023-08-22general: Use console mode helper across projectlat9nq
2023-08-22general: Convert use_docked_mode to an enumerationlat9nq
Allows some special interactions with it in the Qt frontend.
2023-08-15vfs: expand support for NCA readingLiam
2023-07-21settings,opengl,yuzu-qt: Fix AA, Filter maximumslat9nq
The new enum macros don't support setting values directly. For LastAA and LastFilter, this means we need a simpler approach to loop around the toggle in the frontend...
2023-07-21settings,general: Rename non-confirming enumslat9nq
2023-07-06main: Use 1_MiB as a constant for copy buffer sizeMorph
2023-07-06main: Fix install progress calculationMorph
The increased buffer size means that that progress bar size has to be adjusted
2023-07-03Use `toUtf8()` for string passed to DBuszeltermann
2023-07-02core_timing: Remove GetCurrentTimerResolution in CoreTiming loopMorph
Other programs may change this value, but if thousands of syscalls in this loop is undesirable, then we can just set this once.
2023-06-27yuzu: Fix clang formatgerman77
2023-06-27Merge pull request #9663 from EBADBEEF/disable-controller-appletNarr the Reg
qt: add option to disable controller applet
2023-06-24Only use SDL wakelock on Linuxzeltermann
SDL has internally fixed shenanigans related to wakelocking through DBus from inside sandboxes from around August 2022, so we can now remove the workaround we used since 2021.