10636 Commits

Author SHA1 Message Date
Briar
14413d896f Fix FRAME_LIMIT int not being reset on exit if the turbo hotkey is spammed 2025-04-12 20:32:22 +01:00
Briar
bf4eef8e58 android: Clean up the turbo speed hotkey implementation 2025-04-12 20:32:22 +01:00
OpenSauce04
2a7a5078fc ci: Various build workflow adjustments
- Updated to NSIS 3.11
- Updated NSIS installer download URL location
- Use wget to download NSIS setup executable
- Made `Install NSIS` step more verbose via ptime
- Only run `Install NSIS` step for tagged builds
- Reorganized build.yml to have all `if`s at start of scope
2025-04-12 13:57:09 +01:00
OpenSauce04
76a23e4c72 Revert "Removed seemingly redundant isEnabled overrides"
This reverts commit cd58ce998af1a4237e9b3ee15a13443bb0844a46.
2025-04-11 23:35:25 +01:00
David Griswold
8e477e35bb
android: Original Portrait Layout (#625)
* Original Portrait Layout

Original Portrait Layout

* type conversion fix for win

* Updated license headers

* Applied clang-format

* android: Reordered Portrait Screen Layout menu

Custom Layout is now at the bottom of the list

---------

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2025-04-11 18:23:07 +01:00
OpenSauce
89d2e67459
qt: Add quicksave / quickload hotkeys (#811)
* qt: Add quicksave / quickload hotkeys

* Adjusted strings

* main.ui: Remove stray newline

---------

Co-authored-by: David Griswold <novachild@gmail.com>
2025-04-11 17:21:49 +01:00
OpenSauce
32e378a29b
framebuffer: Add hybrid layout mode to FrameLayoutFromResolutionScale (#807)
* framebuffer: Add hybrid layout mode to FrameLayoutFromResolutionScale

* framebuffer_layout.cpp: Moved seemingly misplaced `default` case to proper location

* framebuffer_layout.cpp: Fixed incorrect calculation of framebuffer dimensions for hybrid layout

* framebuffer_layout.cpp: Made implicit cast from float to int explicit

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-11 16:16:19 +01:00
OpenSauce
12bc825b8a
android: Add isEnabled setting item conditional check (#814)
* android: Add `isEnabled` setting item conditional check

Co-authored-by: Charles Lombardo <clombardo169@gmail.com>
(Thanks to him for the idea of using DiffUtil)

Now it is possible to have a conditional check for each setting type which once met will disable itself and re-enable once the condition is unmet again in real-time

* Refactor setting checks to deduplicate repeated `isEditable && isEnabled` conditionals

This is done by adding a new value, `setting.isActive` which is equivalent to `setting.isEditable && setting.isEnabled`

* Removed seemingly redundant `isEnabled` overrides

* Updated license headers

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-11 14:35:21 +01:00
OpenSauce04
c69b642f54 Corrected minor license header inconsistency 2025-04-11 12:31:16 +01:00
OpenSauce
0e0137a9ff
Add turbo speed hotkey (#605)
* Add the turbo slider

* [WIP] Add fast forward toggle hotkey

* Make Increase/Decrease speed hotkeys change turbo key instead of `frame_limit`

* Allow non-runtime editable settings on `general` settings tab`

* `frame_limit` is now  non-runtime-editable

* Disable `toggle per game speed limit` if turbo mode is set

* Reset `frame_limit` back to initial value once the emulator closes

* Improve `AdjustSpeedLimit`

- Set frameskip value directly
- Bypass if turbo mode isn't active

* Some code cleanup

* Move `turbo_speed_slider` from UISettings to CommonSettings

Also rename to just `turbo_speed`

* android: Add turbo mode hotkey

* Fixed build failure + Applied clang-format

* configure_general.ui Make padding on right side of sliders consistent

Not sure why there's a difference here, so I just threw in a spacer

* android: Corrected build failures caused by bad merge

* Updated `turbo_speed_description` to be a little more descriptive

* android: Corrected turbo crash caused by bad JNI function names

* Updated license headers

* HotkeyFunctions.kt: Fixed minor fomatting irregularities

* Applied clang-format

---------

Co-authored-by: kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-11 12:29:07 +01:00
Gamer64
4ea8c6fda5 android: Implement support for automatic resolution scale
Available on PC, but was missing on Android.
2025-04-10 21:39:49 +01:00
Kleidis
eb310a4a60 android: Update emulation_pause icon on resume
If the fragment got paused while emualtionState also was paused manually
via the menu bar, once the fragment got unpasued , the binding would
still remain paused
2025-04-10 21:34:51 +01:00
OpenSauce04
903a9ad81f Updated license headers 2025-04-08 20:15:38 +01:00
OpenSauce04
e341dcf238 qt: For Qt 6.9.0 and above, use QImage::flipped over QImage::mirrored
The latter has been deprecated, and is causing build failures where deprecations warnings are treated as errors.
2025-04-08 20:15:38 +01:00
JP Brunache
8d769ed9cb Fix typo in README.md 2025-04-08 11:29:50 +01:00
OpenSauce04
71c9c0c924 qt: Explicitly set window icon 2025-04-07 21:35:16 +01:00
OpenSauce04
6865b4c8a7 qt: Various updates to the settings menu to improve consistency
- All buttons which open a modal interface now disable themselves until their interface is closed
- Renamed button_linked_console to button_unlink_console to better reflect what it actually does
- Changed the warning icon of the Regenerate Console ID button to be the same as the Regenerate MAC Address button
2025-04-07 21:28:35 +01:00
OpenSauce04
c0bb7abdbc qt: Corrected stray mention of Lime3DS in FFmpeg error message 2025-04-07 15:30:48 +01:00
OpenSauce04
aa58dd5f68 Suppress MSVC warnings C4711 and C5045 during compilation 2025-04-07 14:36:00 +01:00
OpenSauce04
9500859043 externals: Upgraded SDL2 to version 2.32.4
Closes #391
2025-04-03 11:30:27 +01:00
OpenSauce
93eeb501c0
android: Add uninstall game/updates/dlc and open folder entries to about game dialog (#823)
* android: Add uninstall game and open folder options

* Updated license header

* getGameDirectories: Cleanup

* Fixed "Open Updates Folder" button not working correctly

* Made "Open Extra Folder" behaviour consistent with other options when Extra folder not found

* strings.xml: Corrected double newline

* android: Adjusted about game dialog layout

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-02 18:57:04 +01:00
OpenSauce04
f298d7551c externals: Fixed CMake 4.0 compilation error when Discord RPC is enabled 2025-04-01 20:18:55 +01:00
OpenSauce
5ade69f5f4
android: Add game thumbnail to EmulationFragment nav drawer (#809)
* android: Add game thumbnail to `EmulationFragment` nav drawer

* Updated license header

* EmulationFragment.kt: Corrected formatting

* header_in_game.xml: Changed placeholder text

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-03-30 15:19:55 +01:00
OpenSauce
e6199780a5
android: Implement Expand to Display Cutout option (#597)
* android: Implement Expand to Display Cutout option

* Removed irrelevant comment

* Moved Expand to Cutout Area setting to Layout section

---------

Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
2025-03-30 14:59:46 +01:00
OpenSauce04
2c1fc0199b externals: Use azahar-emu org mirror of soundtouch 2025-03-30 10:51:37 +01:00
OpenSauce04
dec12bd54a Updated language translations via Transifex 2025-03-30 10:51:37 +01:00
PabloMK7
5c7622100b
Check that the country setting is valid for selected region (#847)
* Check that the country setting is valid for selected region

* `SystemSaveGame.checkCountryCompatibility` -> `SystemSaveGame.getCountryCompatibility`

* SettingsFragmentPresenter.kt: Moved `checkCountryCompatibility` definition out of `addSystemSettings`

* SettingsFragmentPresenter.kt: Renamed `compat` value to `compatFlags` for better readability

* configure_system.ui: Corrected indentation

---------

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2025-03-29 21:50:00 +00:00
PabloMK7
eda2d6f9fa
Mark console as "linked" when using the azahar artic setup tool (#833)
* Mark console as "linked" when using the azahar artic setup tool

* Updated strings related to console linking

---------

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2025-03-28 11:10:59 +00:00
OpenSauce04
dee576bfeb Use reverse TLD filenames for installed Linux files where appropriate 2025-03-28 00:02:10 +00:00
toksn
7dda835679 Use correct "input_type" key for AUDIO_INPUT_TYPE 2025-03-27 18:01:45 +00:00
Reg Tiangha
1de19fcbc2 android: Add Texture Sampling settings UI 2025-03-27 09:18:27 +00:00
PabloMK7
d8077fdea6 Fix fatal error caused by auto-detect region 2025-03-26 22:06:36 +00:00
OpenSauce
9203b23868
Stereoscopic 3D Enhancements (#602)
* Stereoscopic 3D Enhancements

- Increase maximum 3D depth to 255%
- Fix touch screen to only render 2D when separate window layout is used
- Cleanup some 3D option localizations

* qt: Added warning label below depth slider for values over 100%

* Fixed broken rendering for Interlaced, Reverse Interlaced and Anaglyph options when using 3D with seperate windows

* android: Added warning label below depth slider for values over 100%

* Fixed a bracket and break statement being incorrectly positioned

---------

Co-authored-by: oneup03 <oneup03@gmail.com>
2025-03-24 21:26:14 +00:00
OpenSauce04
61feb3aee2 qt: Break online LLE module checkbox text over two lines 2025-03-24 19:00:31 +00:00
OpenSauce
bd1f5b978b Bump CMake MacOS compilation target to MacOS 13
The minimum required MacOS version was already MacOS 13 due to dependencies, but until now the compilation target was set to MacOS 11
2025-03-24 17:56:24 +00:00
OpenSauce
d406c5d81e
Updated readme 2025-03-24 14:33:15 +00:00
OpenSauce04
cfa59dc0bb ci: Re-added stale workflow 2025-03-23 17:51:16 +00:00
SeppNel
8cdafaa828
Fix file read memory leak (#750)
* Fix file read memory leak

* Also fix synchronous path

* Use make_unique_for_overwrite

* License
2025-03-23 12:56:18 +00:00
OpenSauce04
f083a6e5d3 Updated French translation via Transifex 2025-03-22 21:49:19 +00:00
OpenSauce04
75918be261 Updated language translations via Transifex 2025-03-22 21:49:18 +00:00
OpenSauce04
2b0d412070 cmake: Fixed compilation failure if CMAKE_CXX_FLAGS is an empty string 2025-03-22 21:44:46 +00:00
OpenSauce04
5b910d6f0e cmake: Correctly handle _FORTIFY_SOURCE being pre-defined in CXXFLAGS 2025-03-22 21:10:56 +00:00
PabloMK7
4d04f633fa android: Show unsupported encrypted app message instead of invalid region 2025-03-22 16:55:38 +00:00
OpenSauce04
c7fe6333b5 dist: Increased resolution of azahar.png from 430x to 512x 2025-03-22 16:44:52 +00:00
OpenSauce04
16dac366cf Install 512x512 icon to CMAKE_INSTALL_PREFIX 2025-03-22 16:22:51 +00:00
OpenSauce04
860aace2f5 android: Updated notification icon to reflect Azahar's logo 2025-03-22 16:20:28 +00:00
PabloMK7
844b166fbf Fix install CIA format string 2025-03-22 15:37:06 +00:00
PabloMK7
7e9b5743fb Fix temporary frame limit 2025-03-22 00:23:40 +01:00
OpenSauce04
7920188417 Applied clang-format 2025-03-21 22:42:09 +00:00
OpenSauce04
3718bab5cb qt: Corrected broken link in .3ds/encryption warning message 2025-03-21 22:37:53 +00:00