10234 Commits

Author SHA1 Message Date
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
Kleidis
f939b981a0 android: Add screen orientation presets to layout settings (#420)
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-11-10 19:27:51 +00:00
Kleidis
083390901b android: Add game shortcuts to about game dialog (#313)
Adapted from https://github.com/mandarine3ds/mandarine/pull/47

Co-authored-by: Charles Lombardo <clombardo169@gmail.com>
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-11-10 19:26:42 +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
b6dbb2f6dd gl_driver.cpp: Minimum OpenGLES version is actually 3.2 2024-11-10 19:01:21 +00:00
OpenSauce04
f6362f72e2 android: Updated dpad header descriptions 2024-11-10 19:01:21 +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
260b5370b3 Windows installer filename now has an suffix 2024-11-10 19:01:21 +00:00
OpenSauce04
c204adc9fb android: Added string translations for Polish 2024-11-10 19:01:21 +00:00
OpenSauce04
5d3a02b9bf am.h: Minor formatting correction 2024-11-10 19:01:21 +00:00
OpenSauce04
fa6ef8e9aa android: Updated AGP to 8.6.1 2024-11-10 19:01:21 +00:00
Reg Tiangha
f39e4fc7f9 Android: Update androidx.navigation:navigation-safe-args-gradle-plugin from 2.7.7 to 2.8.0 2024-11-10 19:01:21 +00:00
Reg Tiangha
8ba9ddd800 Android: Update gradle from 8.10 to 8.10.1 2024-11-10 19:01:21 +00:00
Reg Tiangha
37617cf31b Android: Support flexible page sizes in Android 15
Android 15 will allow OEMs to ship arm64-v8a devices with 16KiB page sizes. Devices that use this configuration will not be able to run existing apps that use native code. To be compatible with these devices, applications will need to rebuild all their native code to be 16KiB aligned, and rewrite any code which assumes a specific page size.

This commit sets `-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON` and updates `libadrenotools` to replace `PAGE_SIZE` with `getpagesize()` in order to dynamically determine a device's page size.
2024-11-10 19:01:21 +00:00
Reg Tiangha
e08e1dff61 ndk_motion.cpp: Use ALooper_pollOnce instead of ALooper_pollAll
ALooper_pollAll is deprecated in Android NDK 27.
2024-11-10 19:01:21 +00:00
Reg Tiangha
146c63c155 Android: Update activity-ktx from 1.8.2 to 1.9.2 2024-11-10 19:01:21 +00:00
Reg Tiangha
561bfc3d70 Android: Update various dependencies 2024-11-10 19:01:21 +00:00
Reg Tiangha
8e5bb7aa8a Android: Change target from Android 14 to 15 2024-11-10 19:01:21 +00:00
Reg Tiangha
daafef9894 Android: Update NDK from r26d to r27b 2024-11-10 19:01:21 +00:00
Reg Tiangha
7142e4f0e5 cmake: Update aqtinstall to v3.1.18 2024-11-10 19:01:21 +00:00
OpenSauce04
790e41f4bc Implemented NSIS installer for Windows 2024-11-10 19:00:58 +00:00
OpenSauce04
3aaa254f9d Renamed dedicated_room to citra_room 2024-11-10 18:16:50 +00:00
OpenSauce04
f34d1b1ea8 Distribute MacOS build as a zip archive 2024-11-10 18:16:50 +00:00
OpenSauce04
84fce39a2d Fixed hotkey_groups shortcuts not being assigned correctly 2024-11-10 18:16:50 +00:00
Reg Tiangha
bdff6321ab Android: Fix Cardboard VR and update render_3d descriptions 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
c4583264c9 Fixed swapping screens on landscape displays forcing portrait layout 2024-11-10 18:16:50 +00:00
OpenSauce04
3e5306e347 Store frame_limit config value as a double
This allows fractional values to be used for the game speed
2024-11-10 18:16:50 +00:00
David Griswold
42a0a72c96 android: Refactor layout code to use LargeScreen layout instead of MobileLandscape 2024-11-10 18:16:50 +00:00
kleidis
10bf612cb0 android: Add static color theme option 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
8efd959847 android: Removed foreground service leftovers 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
OpenSauce04
03630b547c SettingsAdapter.kt: Removed duplicate string 2024-11-10 18:16:50 +00:00
OpenSauce
67ca752c91 SettingsAdapter.kt: Removed stray commented code 2024-11-10 18:16:50 +00:00
Gamer64
699d31c033 Android: Fix buttons scale reset 2024-11-10 18:16:50 +00:00