Commit graph

10550 commits

Author SHA1 Message Date
OpenSauce04
43c93cccb0 lime: Target now utilizes precompiled headers
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run
2024-10-30 00:03:59 +00:00
OpenSauce04
36a3d92e60 lime: Reworded missing SDL frontend error message 2024-10-29 21:26:00 +00:00
David Griswold
ff98896782
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-10-29 21:22:51 +00:00
Kleidis
21aec70f67
lime_qt: Add diagonal directional input bindings for circlepad and c-stick (#404)
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-10-29 19:15:51 +00:00
OpenSauce04
da2912e75f lime_sdl: Fixed -a and -d short options being considered invalid (#508 2/2)
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run
This is a purely cosmetic issue which caused a warning to appear in stdout
2024-10-28 18:30:28 +00:00
OpenSauce04
563089d792 Merged the SDL and Qt frontends together into a single unified executable (#508 1/2) 2024-10-28 18:27:00 +00:00
Reg Tiangha
48447fc8c5
lime_qt: Build fixes for QT 6.8 (#441)
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled
* lime_qt: Build fixes for QT 6.8

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

* lime_qt: Use macros to detect QT version

* lime_qt: Group QT macro version checks together
2024-10-15 11:40:46 +01:00
Kleidis
d739ef13ab
android: Add screen orientation presets to layout settings (#420)
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-10-14 23:18:25 +01:00
OpenSauce04
0a5536aebe Revert "bundle qt wayland into appimage by rtiangha (#212)"
This reverts commit 8fd0fb8bf0.

See #496 for more details
2024-10-14 22:11:31 +01:00
Kleidis
3d1936cf5c
android: Add game shortcuts to about game dialog (#313)
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled
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-10-13 13:49:53 +01:00
OpenSauce04
973faeb9d7 lime_qt: Fixed Close Movie button being clickable when no movie is opened
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled
2024-10-10 19:33:27 +01:00
OpenSauce04
79f9fc30fe lime_qt: Moved command line option checking to earlier in execution, improving response time 2024-10-10 19:33:27 +01:00
OpenSauce04
d4edbb1eb2 lime_qt: Text output for -h, -v and -i options are displayed using a Qt message box on Windows 2024-10-10 19:33:27 +01:00
OpenSauce04
38cbf4a069 Fixed late-night copy paste fail 2024-10-10 19:33:27 +01:00
OpenSauce04
bc83c922a1 Fixed compilation issues on Windows 2024-10-10 19:33:27 +01:00
OpenSauce04
7f78ea74ca lime_qt: Added -g option for enabling GDB stub 2024-10-10 19:33:27 +01:00
OpenSauce04
6febd56518 lime_qt: Removed old -g option; Software path is now passed as the last parameter instead 2024-10-10 19:33:27 +01:00
OpenSauce04
60a7697982 lime_qt: Added -d option for dumping video 2024-10-10 19:33:27 +01:00
OpenSauce04
0d8c6cdfb0 lime_qt: Added -r and -p options for recording and playing TAS movies respectively 2024-10-10 19:33:27 +01:00
OpenSauce04
ffa5c903a7 lime_qt: Added -i option for installing CIAs 2024-10-10 19:33:27 +01:00
OpenSauce04
ca5dde64ec lime_qt/main.cpp: Put options in alphabetical order 2024-10-10 19:33:27 +01:00
OpenSauce04
b7f9daab8a lime_qt: Added -v and -h options 2024-10-10 19:33:27 +01:00
OpenSauce04
1831a47e1b Fixed lime-qt not linking SDL2 library if it is available 2024-10-10 19:33:27 +01:00
Reg Tiangha
d01e48c5d1 gl_driver.cpp: Minimum OpenGLES version is actually 3.2
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled
2024-10-07 16:07:18 -07:00
David Griswold
af7ccc1955 Add header descriptions for dpad axis and dpad button bindings
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-09-27 12:02:19 +01:00
David Griswold
8b800e58f6 Update Header Setting to allow for a description under the title
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-09-27 11:57:14 +01:00
Reg Tiangha
47b487ff65
lime_qt: Fix order of Texture Filter drop-down menu (#454) 2024-09-27 09:27:15 +01:00
OpenSauce04
161bd8b3a6 Windows installer filename now has an suffix 2024-09-26 17:20:32 +01:00
OpenSauce04
675f2bf89c Re-added Windows zip distribution 2024-09-26 16:39:25 +01:00
OpenSauce04
ec68118cdd android: Added string translations for Polish 2024-09-25 19:05:51 +01:00
OpenSauce04
c418a6dc8a Updated translations via Transifex 2024-09-25 18:30:50 +01:00
OpenSauce04
b97f9cbb4e Updated compatibility data 2024-09-25 18:26:03 +01:00
OpenSauce04
df60fd91a8 Revert "Android: Android 15 URI fixes"
This reverts commit 620abbc8dd.
2024-09-25 18:12:31 +01:00
OpenSauce04
0a164af12e android: Updated about screen strings 2024-09-25 17:15:03 +01:00
OpenSauce04
fe3de1a6e9 am.h: Minor formatting correction 2024-09-25 16:48:24 +01:00
PabloMK7
c2cd5e17b4 Fix HTTP RequestState values (fixes Pretendo Network support with HLE http)
de1f082e75
2024-09-25 16:48:24 +01:00
PabloMK7
3718435301 Allow loading IPS files from Luma3DS folders
b1e5485058
2024-09-25 16:48:24 +01:00
PabloMK7
8c15efb74f Add console unique data (SecureInfo, LocalFriendCodeSeed, CTCert)
813d0c2a30

Co-authored-by: Daniel López Guimaraes <112760654+DaniElectra@users.noreply.github.com>
2024-09-25 16:48:24 +01:00
OpenSauce04
1006af597c Added .kts file extension to license header checker 2024-09-24 00:55:11 +01:00
OpenSauce04
a58262d270 app/build.gradle.kts: Nitpicky formatting tweak 2024-09-24 00:52:40 +01:00
OpenSauce04
65c4c6ec4e android: Updated AGP to 8.6.1 2024-09-24 00:52:34 +01:00
Jarrod Norwell
620abbc8dd Android: Android 15 URI fixes 2024-09-24 00:52:21 +01:00
Reg Tiangha
73774333da Android: Update androidx.navigation:navigation-safe-args-gradle-plugin from 2.7.7 to 2.8.0 2024-09-24 00:52:21 +01:00
Reg Tiangha
0330a917fd Android: Update gradle from 8.10 to 8.10.1 2024-09-24 00:52:21 +01:00
Reg Tiangha
9397d83c1a 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-09-24 00:52:21 +01:00
Reg Tiangha
df78dc197a Update file license headers 2024-09-24 00:52:21 +01:00
Reg Tiangha
953919a62c ndk_motion.cpp: Use ALooper_pollOnce instead of ALooper_pollAll
ALooper_pollAll is deprecated in Android NDK 27.
2024-09-24 00:52:21 +01:00
Reg Tiangha
e6636469d8 Android: Update activity-ktx from 1.8.2 to 1.9.2 2024-09-24 00:52:21 +01:00
Reg Tiangha
3f28efd8b2 Android: Update various dependencies 2024-09-24 00:52:21 +01:00
Reg Tiangha
e469155d67 Android: Change target from Android 14 to 15 2024-09-24 00:52:21 +01:00