Commit graph

24003 commits

Author SHA1 Message Date
Pavel Barabanov
37a508c3ba Add USE AUTO STUB to Android 2025-04-30 03:00:46 +03:00
Pavel Barabanov
56e619c872 Remove the stub for GetCradleFwVersion 2025-04-30 02:52:04 +03:00
MrPurple666
449a2497ea Initial MMO implementation
MMO (Multithreaded Memory Operations)
2025-04-28 16:44:35 -03:00
MrPurple666
4e7f6ef694 Better FastMemcpy and FastMemset
Use 16-byte copy paths
2025-04-28 16:44:21 -03:00
MrPurple666
476e0fe432 Use 4MB cache size instead of 1MB 2025-04-28 16:38:44 -03:00
MrPurple666
0b35e89ab9 Some RAII fixes 2025-04-28 16:27:54 -03:00
MrPurple666
a58799aca7 Initial RAII implementation 2025-04-28 16:27:42 -03:00
MrPurple666
abc7e71ecd Replace std::memcpy/memset with intrinsics on known sizes 2025-04-28 16:27:30 -03:00
MrPurple666
b695ca5a2a Revert some wip changes 2025-04-28 16:14:42 -03:00
swurl
808276b48a Dynamic State Fixes (#57)
- Forcefully disabled dynamic state extensions if Vulkan reports that
  the device doesn't support it (need to update UI for this)
- Adds some more supported state 3 extensions
- Adds back stencil reinterpretation
- default to 0 on Android and 1 on desktop

Signed-off-by: swurl <swurl@swurl.xyz>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/57
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
2025-04-27 17:07:49 -04:00
swurl
de2009575e fix cmake formatting
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 16:19:38 -04:00
swurl
a8f105d4ff Merge branch 'game-warnings'
Closes #55

Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 16:00:29 -04:00
swurl
9f806138ab Merge branch 'log-by-line'
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 15:58:49 -04:00
CamilleLaVey
30670bd92a Merge pull request 'Add configurations for VkExtendedDynamicState extensions' (#53) from crueter/eden:dynamic-state-config into master
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/53
2025-04-24 19:55:58 +00:00
CamilleLaVey
fa950aaeca Merge pull request 'Fix Qt <6.7 build and allow speed limit to be saved' (#52) from crueter/eden:fix-limit-speed into master
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/52
2025-04-24 19:55:16 +00:00
swurl
7a9011b82d add tick marks to desktop slider
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 15:32:42 -04:00
Briar
13eb5e1be4 android: Add dyna_state setting to UI 2025-04-24 21:20:49 +02:00
swurl
c5f98d0388 switch bad updates list to hex
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 13:40:43 -04:00
swurl
01065a89a5 fix android setting
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 12:09:59 -04:00
swurl
83cf9774e1 switch dynamic state to a slider
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 12:08:01 -04:00
swurl
e8ad10350e Warn about updates for affected games
Some games suck with updates on Yuzu, this lets the user know about it.
Currently, only Tears of the Kingdom is known to be affected, but this
can easily be expanded to include more games.

Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 11:55:19 -04:00
swurl
c140529a75 add notice for extensions
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 11:07:17 -04:00
swurl
918d6d3514 proper placement of clip distance init
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 11:00:28 -04:00
swurl
9cb03cd007 Log by line compilation option
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-24 10:58:22 -04:00
swurl
eb90246803 use macro to remove eye destruction
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 22:14:57 -04:00
swurl
b47c0e07a3 Proper linking between states
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 21:58:06 -04:00
swurl
a137760b48 add dynamic state settings to android settings
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 21:09:45 -04:00
swurl
1949e7c438 Add dynamic state extension configs
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 20:57:53 -04:00
swurl
446e362530 remove duplicate code in statusbar
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 20:09:59 -04:00
swurl
8795b96d46 Fix Qt <6.7 build and allow speed limit to be saved
Signed-off-by: swurl <swurl@swurl.xyz>
2025-04-23 18:36:39 -04:00
JPikachu
c64c404a2f Enable ExtendedDynamicState 3 2025-04-23 19:01:56 +01:00
edendev
e96383615b Fixed typo 2025-04-22 21:02:48 -07:00
edendev
8823f12f18 Enable ExtendedDynamicState 2 and other features 2025-04-22 20:59:02 -07:00
edendev
5080513a5e Enable ExtendedDynamicState 1 across platforms 2025-04-22 18:22:25 -07:00
JPikachu
c64f1994c7 Fix complination issues by making clip_distance_written static 2025-04-21 13:34:28 -04:00
JPikachu
fc1a3b6310 shader compiler: Ensure all clip distances are initialized when used
Thank you to Ryujinx (riperiperi specifically) for the pointer towards clip distances
Huge thanks to crueter for finding where the code works and Camille for giving pointers along the way.
2025-04-21 13:34:24 -04:00
MrPurple666
52a692b73a Merge branch 'purple' of https://git.eden-emu.dev/MrPurple666/eden into purple 2025-04-19 19:27:01 -03:00
MrPurple666
7a62776d11 fix duplicated on merge 2025-04-19 19:26:04 -03:00
MrPurple666
f65c3042c4 Merge branch 'master' into purple 2025-04-19 21:54:56 +00:00
MrPurple666
6ac5eaea11 Merge https://git.eden-emu.dev/eden-emu/eden into purple 2025-04-19 18:53:45 -03:00
swurl
f2db4dd3a1 Fix CI Building For Windows, Android & Linux 2025-04-19 14:46:06 -07:00
EmulationEnjoyer
fcec7995af feat(shader): implement geometry shader invocation info
- Update EmitInvocationInfo in SPIRV backend to handle geometry shader stage

ref: 1266fad681 (diff-4cbf73a98ed4ad649a4a6f38b569bc31fcf68cf7)
2025-04-19 18:05:29 -03:00
MrPurple666
44dc152a2b Add InputTopologyVertices from torzu adapted to eden 2025-04-19 17:56:48 -03:00
FireBurn
b03d51f06f Include memory header
This stops build failures for missing std::shared_ptr which is in multiple files

Signed-off-by: FireBurn <mike@fireburn.co.uk>
2025-04-19 17:56:48 -03:00
EmulationEnjoyer
a5a7cb8a24 chore(HLE): Update HLE API version constants
- Updated Horizon OS version to 19.0.1 and NintendoSDK version to 1.0. Adjusted `VERSION_HASH`, `DISPLAY_VERSION`, and `DISPLAY_TITLE` to match the new firmware versions.

ref: fcb6444037
2025-04-19 17:56:48 -03:00
EmulationEnjoyer
cb135ba86f shader/recompiler: Revert NVN storage buffer bias range
- Return to original NVN bias values which better cover the full range of storage buffer accesses:
- offset_begin: 0x110 -> 0x100
- offset_end: 0x610 -> 0x700

The wider range ensures we catch all valid storage buffer accesses
while maintaining the same alignment requirements.

ref: 2564e721df
2025-04-19 17:56:48 -03:00
EmulationEnjoyer
e6d0c5ea42 arm: Skip duplicate consecutive addresses in backtrace output
ref: aa56430f2a
2025-04-19 17:56:48 -03:00
Zephyron
cf1bcb02c5 service/vi: Improve OpenDisplay validation
Updates the OpenDisplay function in IApplicationDisplayService to properly
validate display names. Instead of only accepting "Default", now validates
against all known valid display names: "Default", "External", "Edid",
"Internal", and "Null".

- Changes log level from WARNING to DEBUG since this is no longer stubbed
- Adds proper validation for all valid display names
- Returns ResultOperationFailed for invalid display names
- Improves logging by including the requested display name
2025-04-19 17:19:38 -03:00
Zephyron
728de0406e vulkan: Improve memory allocation robustness
Enhances the Vulkan memory allocator with better OOM handling and memory
alignment:

* Add memory recovery by cleaning up empty allocations before failing
* Implement proper fallback to non-device-local memory
* Simplify memory alignment handling for different vendors
* Add better error logging for allocation failures
* Add IsEmpty() helper to track unused allocations
* Fix alignment requirements for Adreno (4KB) vs other vendors

These changes improve the robustness of memory allocation, particularly
in low-memory situations, and streamline vendor-specific alignment
requirements.
2025-04-19 17:19:16 -03:00
Laconix
ee384f57c2 Turn off predictive back gesture to fix hardware back button not working in android 13 or higher 2025-04-18 15:59:59 +01:00