196 Commits

Author SHA1 Message Date
OpenSauce04
f94e28335c Changed old log filename extension from .txt.old.txt to just .old.txt 2024-11-21 21:35:14 +00:00
PabloMK7
758ded7fae renderer: Add disable right eye performance hack 2024-11-19 16:36:24 +00:00
OpenSauce04
fd2fa5a1bb android: Updated AGP to 8.7.2 2024-11-10 22:24:13 +00:00
OpenSauce04
3105eb8ae7 AndroidManifest.xml: Set android:appCategory to game
Citra previously used the `android:isGame` property, however this has since been deprecated.

The previously set `android:isGame` property has been removed from the manifest as a result.
2024-11-10 22:07:20 +00:00
OpenSauce04
fd55b4fd6c Applied clang-format-18 to codebase 2024-11-10 21:02:54 +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
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
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
c204adc9fb android: Added string translations for Polish 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
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
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
8efd959847 android: Removed foreground service leftovers 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
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
b89991de61 android: Implemented about game dialog (#304)
This feature is accessible by long-pressing on a game card, replacing the old method of accessing the cheats menu

The cheats menu is now accessed from within the about game dialog

Adapted from 69c323289f

Co-authored-by: Ishan09811 <156402647+ishan09811@users.noreply.github.com>
Co-authored-by: kleidis <167202775+kleidis@users.noreply.github.com>
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
kleidis
f84503cf8c android: Implement Adreno Turbo setting for eligible GPUs (#227)
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-11-10 18:16:49 +00:00
OpenSauce04
6a8fa2c402 android: Gamepads can now control the in-game menu 2024-11-10 18:16:49 +00:00
OpenSauce04
61c4d324a9 android: Rework settings UI (#226)
Co-authored-by: Ishan09811 <156402647+ishan09811@users.noreply.github.com>
Co-authored-by: kleidis <167202775+kleidis@users.noreply.github.com>
2024-11-10 18:16:49 +00:00
OpenSauce04
d0b03cc9c5 Fixed minor formatting discrepancies 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
Gamer64ytb
6f1d10264f Android: Fixed non-runtime settings sometimes not being changeable after closing a game
Co-Authored-By: Ishan09811 <156402647+ishan09811@users.noreply.github.com>
2024-11-10 18:16:49 +00:00
OpenSauce04
aa06b58523 Android: Removed nightly and canary build flavours as they are now obsolete 2024-11-10 18:16:49 +00:00
OpenSauce04
d9e80c0285 Updated name and description of realtime audio setting 2024-11-10 18:16:49 +00:00
OpenSauce04
c07b23b1d0 Implemented Citra Enhanced's realtime audio option
Co-authored-by: Gamer64ytb <76565986+Gamer64ytb@users.noreply.github.com>
2024-11-10 18:16:49 +00:00
OpenSauce04
71088a63be Android resolution setting now matches the desktop interface
- Now has a radio button interface instead of a slider
- Now shows resolution alongside multiplier
2024-11-10 18:16:49 +00:00
OpenSauce04
9195185654 Android: Corrected overlay joystick draw order 2024-11-10 18:16:49 +00:00
gperrio
3c5d828a3b Android: Scale of individual buttons in the overlay can now be customized (#69) 2024-11-10 18:16:49 +00:00
OpenSauce04
e6bc49c8d8 Removed seemingly redundant opacityId value 2024-11-10 18:16:49 +00:00
OpenSauce04
c8bb7657bf Updated default opacity to 50%
This change accounts for the change in overlay image opacity to roughly equal how the overlay looks in 2108
2024-11-10 18:16:49 +00:00
OpenSauce04
14717600a3 Android: Increase opacity of button overlay images 2024-11-10 18:16:49 +00:00