1872 Commits

Author SHA1 Message Date
Reg Tiangha
19eeb949a1 citra_qt: Build fixes for QT 6.8 (#441)
* citra_qt: Build fixes for QT 6.8

Replace deprecated `stateChanged` function with `checkStateChanged` that was first introduced in QT 6.7.

* citra_qt: Use macros to detect QT version

* citra_qt: Group QT macro version checks together
2024-11-15 16:56:48 +00:00
OpenSauce04
fd55b4fd6c Applied clang-format-18 to codebase 2024-11-10 21:02:54 +00:00
OpenSauce04
3e02c29225 citra_qt: Fixed desktop shortcuts incorrectly including -g
This argument has a new meaning since the frontend merge, and is no longer needed in this instance
2024-11-10 20:54:05 +00:00
OpenSauce04
08605cc5df citra_qt: Use non-breaking spaces+hyphens in command output message boxes 2024-11-10 20:53:53 +00:00
David Griswold
43c4d3981d Added "Small Screen Position" feature
* error checking for layout value from older config

* rename enum and update aspect ratio code

* rewrite LargeFrameLayout to support multiple positions

* add settings for smallscreenposition, fix minsize function

* fixed framebuffer from res scale (screenshots)

* add desktop UI for small screen position

* small screen position submenu on desktop

* fix int-float conversion warning

* rename Above and Below to hopefully fix linux issue

* Add Small Screen Position Setting to android settings menu

* fix sliders to work with floats, mostly

* fix android slider textinput ui

* change None enums in settings and cam_params

* Apply clang-format-18

* SettingsAdapter.kt: Make more null pointer exception resistant

* Updated license headers

* Code formatting nitpicks

* fix bug in main.ui that was hiding menu

* replace default layout with a special call to LargeFrame (like SideBySide does)

* fix bug when "large screen" is actually narrower

* edit documentation for LargeScreenLayout

* update PortraitTopFullFrameLayout to use LargeFrameLayout

* fix unary minus on unsigned int bug

* Applied formatting correction

* Added `const`s where appropriate

* android: Add mention of the bottom-right small screen position being the default

* review fixes + more constants

* refactor all Upright calculations to a reverseLayout method, simplifying code and reducing bugs

* Removed stray extra newline

* SettingsAdapter.kt: Fixed some strange indentation

* Removed unnecessary `if` in favour of direct value usage

---------

Co-authored-by: Reg Tiangha <rtiangha@users.noreply.github.com>
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-11-10 20:41:28 +00:00
Kleidis
0a3cb3a4dc citra_qt: Add diagonal directional input bindings for circlepad and c-stick (#404)
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-11-10 20:32:42 +00:00
OpenSauce04
00fe25b299 citra_qt: Fixed strange compilation failure
Possibly related to https://bugreports.qt.io/browse/QTBUG-111968
2024-11-10 20:31:25 +00:00
OpenSauce04
c399783266 Merged the SDL and Qt frontends together into a single unified executable 2024-11-10 19:28:04 +00:00
OpenSauce04
cc2146a880 citra_qt: Fixed Close Movie button being clickable when no movie is opened 2024-11-10 19:26:26 +00:00
OpenSauce04
22876b186b citra_qt: Moved command line option checking to earlier in execution, improving response time 2024-11-10 19:26:14 +00:00
OpenSauce04
fb71e9977c citra_qt: Text output for -h, -v and -i options are displayed using a Qt message box on Windows 2024-11-10 19:26:01 +00:00
OpenSauce04
471d3e035c citra_qt: Removed old -g option; Software path is now passed as the last parameter instead 2024-11-10 19:25:49 +00:00
OpenSauce04
4cdb3b063c citra_qt: Added -d option for dumping video 2024-11-10 19:25:39 +00:00
OpenSauce04
485f627edb citra_qt: Added -r and -p options for recording and playing TAS movies respectively 2024-11-10 19:25:25 +00:00
OpenSauce04
5a462b84b3 citra_qt: Added -i option for installing CIAs 2024-11-10 19:25:15 +00:00
OpenSauce04
7bed6eda64 citra_qt/main.cpp: Put options in alphabetical order 2024-11-10 19:25:01 +00:00
OpenSauce04
44cd78e005 citra_qt: Added -v and -h options 2024-11-10 19:24:31 +00:00
Reg Tiangha
2a65644d27 lime_qt: Fix order of Texture Filter drop-down menu (#454) 2024-11-10 19:01:21 +00:00
OpenSauce04
84fce39a2d Fixed hotkey_groups shortcuts not being assigned correctly 2024-11-10 18:16:50 +00:00
OpenSauce04
9da0b8f9ad Added "Reverse Side by Side" Sterioscopic 3D mode 2024-11-10 18:16:50 +00:00
OpenSauce04
f0d22a9800 Removed redundant cmake options related to the compatibility list 2024-11-10 18:16:50 +00:00
OpenSauce04
d8643b2f75 main.cpp: Fixed compilation failure on MSYS2 2024-11-10 18:16:50 +00:00
OpenSauce04
a3a6aed9be Fixed incorrect applications directory path while using Flatpak build 2024-11-10 18:16:50 +00:00
OpenSauce04
6d37ef8b27 Fixed shortcuts generated via Flatpak not working 2024-11-10 18:16:50 +00:00
OpenSauce04
1c75bf4b7f Fixed shortcut creation failing if icons directory structure doesn't already exist 2024-11-10 18:16:50 +00:00
David Griswold
e884d5f3f3 android: Implemented custom layout customization GUI
This commit also changes the name of the 'Portrait' landscape layout to 'Original'

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-11-10 18:16:50 +00:00
David Griswold
b293a253f5 Refactored layout code in preparation for Android custom layout GUI 2024-11-10 18:16:50 +00:00
David Griswold
c78e893cd7 android: Updated custom layout coordinate system to match desktop 2024-11-10 18:16:50 +00:00
David Griswold
6cb61c8ff7 android: Added portrait-specific config values for custom layouts 2024-11-10 18:16:50 +00:00
OpenSauce04
f8e9e459fe Changed how pausing the emulator is handled to allow frame advancing
Where previously the emulator thread was halted, frame advancing mode is now enabled instead

This commit also removes the "Enable Frame Advancing" option due to being obsolete
2024-11-10 18:16:50 +00:00
OpenSauce04
358b7c8713 main.cpp: Removed unnecessary QStrings 2024-11-10 18:16:50 +00:00
OpenSauce04
eb69aff2d9 main.cpp: Toggle Screen Layout hotkey now uses connect_shortcut 2024-11-10 18:16:50 +00:00
OpenSauce04
0a52abb3f8 main.cpp: Reorganized GMainWindow::InitializeHotkeys 2024-11-10 18:16:50 +00:00
OpenSauce04
19fc3bf0a4 main.cpp: connect_shortcut now also connects to the secondary window 2024-11-10 18:16:49 +00:00
OpenSauce04
28823b10f5 Fixed HotkeyRegistry::GetHotkey locking shortcuts to the first widget that calls it 2024-11-10 18:16:49 +00:00
OpenSauce04
991316494d Don't tie hotkeys to only the main window by default
An optional boolean `primary_only` has been added to `link_action_shortcut` when it is necessary to seperate primary and secondary window hotkeys.
Currently this is only used for the fullscreen binding, as a different prodedure is used for each window.
2024-11-10 18:16:49 +00:00
OpenSauce04
b48962db21 Fixed secondary window hotkeys not working after applying settings 2024-11-10 18:16:49 +00:00
OpenSauce04
12c455bf09 Removed 'Navigate to GameDB entry' context menu option
The site this option points to no longer exists

Closes #268
2024-11-10 18:16:49 +00:00
OpenSauce04
91199197ab configure_debug.ui: Fixed duplicate element name 2024-11-10 18:16:49 +00:00
OpenSauce04
8ef2008b2a Use archive.org snapshots of remaining Citra links for now
Should be changed out for appropriate replacements when they are available

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2024-11-10 18:16:49 +00:00
OpenSauce04
6808d35845 configure_layout.ui: Fix duplicated element names 2024-11-10 18:16:49 +00:00
OpenSauce04
5bb5749912 Made Single Screen Layout config require relevant layout to be selected 2024-11-10 18:16:49 +00:00
OpenSauce04
539fff882b Added Single Screen layout configuration options
These settings also affect the Separate Windows layout

This commit also restructures the Layout tab of the configuration menu
2024-11-10 18:16:49 +00:00
OpenSauce04
8debabaeb3 Removed stray text from poor conflict resolution 2024-11-10 18:16:49 +00:00
OpenSauce04
56683720c6 Large Screen Proportion config is greyed out when Large Screen is not selected 2024-11-10 18:16:49 +00:00
OpenSauce04
779a0f4af2 Updated custom layout value names to be more accurate 2024-11-10 18:16:49 +00:00
OpenSauce04
90c64a4e0a Custom Layout options now uses X, Y, Width Height
Previously used Left, Top, Right, Bottom positions
2024-11-10 18:16:49 +00:00
Reg Tiangha
b62d910fbf citra_qt: Fix Hybrid Screen layout menu option 2024-11-10 18:16:49 +00:00
Reg Tiangha
224ffafd41 citra_qt: Add Layout tab to in-game settings 2024-11-10 18:16:49 +00:00
Reg Tiangha
c2da4c16df citra_qt: Tidy up Layout tab 2024-11-10 18:16:49 +00:00