Commit graph

915 commits

Author SHA1 Message Date
liamwhite
c90b7f3b93 Merge pull request #11946 from flodavid/gamemode
Enable (Feral Interactive) Gamemode on Linux
2023-11-29 12:33:09 -05:00
liamwhite
cec5c38362 Merge pull request #12160 from german77/mouse_constrain
yuzu: Constrain mouse in render window when emulated
2023-11-27 11:56:24 -05:00
liamwhite
3a1949d81e Merge pull request #12156 from german77/firmwarevs
yuzu: Display firmware version
2023-11-26 09:49:53 -05:00
flodavid
6bd3056c52 yuzu: create linux group in general settings
- Create files dedicated to starting and stopping gamemode functions
  - Use them in yuzu and yuzu_cmd modules
2023-11-25 19:30:37 +01:00
xcfrg
e21bdc68db yuzu: integrate gamemode support on linux 2023-11-25 19:30:29 +01:00
Narr the Reg
d1d6a2f648 yuzu: Constrain mouse in render window when emulated 2023-11-24 19:32:35 -06:00
Narr the Reg
8ea5b7163d yuzu: Display firmware version 2023-11-24 12:58:07 -06:00
t895
230bd06245 config: Unify config handling under frontend_common
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings.

As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-21 01:58:13 -05:00
Narr the Reg
1588a32251 Merge pull request #12011 from Macj0rdan/controller-applet
Implemented qlaunch version of the controller applet
2023-11-20 16:53:33 -06:00
FrozenAra
09d7bec6e1 Implemented qlaunch version of the controller applet 2023-11-19 18:38:58 +01:00
liamwhite
d8a6af571b Merge pull request #11792 from boludoz/new-shortcut
Improved shortcut: add games in applist for Windows, question for sta…
2023-11-19 09:50:49 -05:00
liamwhite
e3a8c777be Merge pull request #11990 from german77/audio
yuzu: Save mute when in background setting
2023-11-13 09:13:12 -05:00
german77
c2846bb7d4 yuzu: Keep homebrew on the recently played list 2023-11-11 10:14:11 -06:00
Narr the Reg
e19c9281db yuzu: Make mute audio persistent 2023-11-10 10:22:04 -06:00
Franco M
b703234f22 Fix out_icon_path = Common::FS::GetYuzuPath(Common::FS::YuzuPath::IconsDir); 2023-11-09 04:53:10 +00:00
Franco M
823183f817 Minor changes 2023-11-09 03:37:06 +00:00
Franco M
61263a23dd Final change, i think 2023-11-08 21:04:30 +00:00
Franco M
ca8fa2245f Fixed clang 2023-11-07 02:32:19 +00:00
liamwhite
a8eb85d23a Merge pull request #11961 from german77/recent
yuzu: Only store games in the recently played list
2023-11-05 13:15:07 -05:00
german77
de308bed13 yuzu: Only store games in the recently played list 2023-11-05 09:34:16 -06:00
Franco M
eaf037ba12 modified: src/yuzu/main.cpp 2023-11-05 00:39:43 +00:00
Franco M
c8b3dc740a Merge branch 'master' into new-shortcut 2023-11-04 21:28:16 -03:00
liamwhite
71bd608b80 Merge pull request #11885 from liamwhite/stop-nagging-me
qt: remove duplicate exit confirmation setting
2023-11-04 11:14:01 -04:00
Liam
14a1a578fb romfs: fix extraction of single-directory root 2023-10-31 23:26:51 -04:00
Liam
e219f4a771 qt: remove duplicate exit confirmation setting 2023-10-31 10:31:50 -04:00
liamwhite
9a8b013385 Merge pull request #11903 from Macj0rdan/scrollable-volume-button
Implemented wheel event for volume control in VolumeButton
2023-10-30 15:32:39 -04:00
Termynat0r
776fc2ca20 Fix macOS build
Added missing preprocessor macros for macOS analog to linux and freebsd
2023-10-30 10:49:39 +01:00
liamwhite
4940a6b310 Merge pull request #11689 from liamwhite/breakpad
qt: implement automatic crash dump support
2023-10-29 23:41:13 -04:00
FrozenAra
346d5f99ef Implemented wheel event for volume control in VolumeButton 2023-10-29 20:29:17 +01:00
Liam
62e106dbe8 kernel: update KProcess 2023-10-21 20:03:41 -04:00
boludoz
20fdb00168 Reverted dirty code in main. 2023-10-18 19:30:21 -03:00
boludoz
a67a20707e TODO: Implement shortcut creation for Apple. 2023-10-18 02:35:23 -03:00
boludoz
c7ac598b62 Useless code removed related to admin privileges, if it is not an error we can add it later, that is what git is for. 2023-10-18 01:26:50 -03:00
boludoz
ce26e78628 Deleted admin requisite (maybe it was another mistake). 2023-10-18 01:20:46 -03:00
boludoz
26ad7d3975 Final refactorization 2023-10-17 02:57:35 -03:00
boludoz
497d476285 Moved check. 2023-10-16 23:50:09 -03:00
boludoz
39aaa3c121 More @liamwhite suggestions applied. 2023-10-16 23:42:45 -03:00
boludoz
acda957df9 shortcut_stream.close(); fixed 2023-10-16 18:59:21 -03:00
boludoz
2b1ebe24d8 Comment using fmt instead qt. 2023-10-16 16:54:51 -03:00
boludoz
be76db693a .clear() instead = ""; and switch improved. 2023-10-16 16:47:21 -03:00
boludoz
f7e95e4bad More missed suggestions 2023-10-16 16:11:24 -03:00
boludoz
c3abbb6ed7 Sugestions and fixes. 2023-10-16 16:01:46 -03:00
boludoz
9126e8abd1 Some improvements (suggestions) 2023-10-16 03:26:40 -03:00
boludoz
a71d026df6 Less code, simpler, better. 2023-10-15 21:40:10 -03:00
boludoz
9a32963e1e Typing and formatting errors fixed. 2023-10-15 20:57:06 -03:00
boludoz
ec4766d6e6 Unnecessary feature removed 2023-10-15 14:44:23 -03:00
boludoz
0163900fe5 Improved shortcut: add games in applist for Windows, question for start game at fullscreen & better unicode support for some Windows path funcs. 2023-10-15 02:02:22 -03:00
liamwhite
bd2d7c4d8b Merge pull request #11159 from flodavid/master_bis
Enable to use controller to close a game
2023-10-14 09:58:03 -04:00
DanielSvoboda
7dc6c3c816 Improvement in Directory Path Detection for Shortcuts (#11749)
* 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-13 09:57:49 -06:00
flodavid
1d7739a43b yuzu: Enable to use controller to restart a game
- 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-12 01:53:54 +02:00