Commit Graph

8063 Commits

Author SHA1 Message Date
Herman S.
4cbcae5b64 [Vulkan] Properly scale rectangle coordinates 2025-12-10 16:17:20 +01:00
yippeeeyay
2b77c4c08a [D3D12] Simplify Intel Arc GPU checking 2025-12-07 19:09:36 +01:00
Herman S
32889f51be Use fetch_contant_word3 for exponent bias
Previously was using word4 which is LOD bias, fixes many graphic issues
with Vulkan backend
2025-12-06 22:26:40 +01:00
Gliniak
0af253e230 [XMA] Separate error status into status and set fields
It's separate bit that defines if error is present
2025-12-05 22:29:09 +01:00
Gliniak
038b11a537 [GPU] Removed nvapi
- According to reports d3d12_nvapi_use_driver_heap_priorities give no benefit
2025-12-05 21:54:06 +01:00
Adrian
f85f4c3ca1 [Kernel] Fixed Xbox Live disconnected error code 2025-12-04 21:41:37 +01:00
Adrian
1d410f0e76 [APP] Don't delete Zar extraction folder on failure if empty 2025-12-04 21:20:19 +01:00
Gliniak
90a7cc4fee [GPU] Changed default readback_resolve to none 2025-12-04 20:12:34 +01:00
Gliniak
4494e40c71 [XMA] Added multiple versions of XMA decoders
- Fake: No decoding
- Master: 1:1 from base version of Xenia
- Old: Master with improvements
- New: Completely new decoder with better stability (but not compability)

Co-authored-by: Herman S. <429230+has207@users.noreply.github.com>
2025-12-03 20:05:41 +01:00
Anton Dorozhkin
e588a772d4 [XBDM] Implement DmQueryTitleMemoryStatistics 2025-12-03 10:05:56 +01:00
Gliniak
78e753ef52 [GPU] Added config option to enable/disable invalid memory uploads 2025-12-02 22:34:39 +01:00
Gliniak
dd29365970 [APU] Switched to New XMA decoder as default
- Added codepath for "consume only" pass. This should resolve constant clicking in Source engine games.
- Added smaller performance improvements to decoder
2025-12-01 23:58:33 +01:00
Anton Dorozhkin
dfa70b3677 [Kernel] Change _vsnprintf overflow behavior. 2025-12-01 23:06:09 +01:00
Gliniak
016797d19c [Emulator] Return error when device initialization fails
This should prevent "Install Content" option to freeze in specific scenarios
2025-12-01 18:38:18 +01:00
Herman S.
e2c33686cc [GPU] Double-buffer readback_resolve.
Introduce "fast" readback resolve that reads from previous frame's
resolve buffers, quick swap between buffers each frame to avoid
copies so minimal performance impact and mostly correct bahavior.
Checks if previous frame had a buffer for the current resolve and
falls through to the slow path, which also allows to support
"screenshot" features in the games that do that without stalling
on normal resolve operations.

Re-enabled readback_memexport as separate feature, was previously
bundled with readback_resolve (probably not intentionally) and
ensures destination address is writeable to avoid memory access
related crashes and unnecessary work.

readback_resolve cvar changes from bool to string ternary with
"none", "fast" and "full" options, defaulting to the new "fast"
mode.
2025-12-01 17:38:34 +01:00
Herman S.
93adb2bb95 [Config] Gracefully handle type mismatches in cvars.
Detect cvar type mismatch and reset to default value, as well
as show message to the user that the cvar from the config has
been updated.
2025-12-01 17:38:34 +01:00
Gliniak
70e44ab6ec [APP] Added config option to disable fullscreen mode on mouse double-click 2025-11-29 23:25:08 +01:00
Herman S.
ce5100cbf3 [Build] Hack to support VS 2026 preview in the build
Simply force version detection to id it as 2022 for now
until there is an official target for vs2026
2025-11-29 05:27:01 -08:00
Herman S.
f2554eb742 [GPU] Fix variable shadowing for SV_SampleIndex semantic name 2025-11-29 09:52:04 +01:00
Adrian
10bfc92d9a [XAM] Stubbed XMPCreateUserPlaylistEnumerator
Fixed 545408C0 freezing at main menu.
2025-11-28 22:46:39 +01:00
Adrian
2997b91493 [XAM] Fixed misc returns 2025-11-28 18:30:01 +01:00
Gliniak
6437c498bd [XAM] Allow savefile content being saved in common directory if requested 2025-11-28 11:19:18 +01:00
Gliniak
529e10f128 [XAM] Fixed license_mask config option not being applied to content (DLCs) 2025-11-24 19:29:50 +01:00
Adrian
81871e7dc8 [XSocket] Fixed setting native_level in SetOption 2025-11-24 13:57:13 +01:00
Adrian
481ab595ce [Kernel] ObReferenceObjectByHandle Cleanup 2025-11-23 21:45:39 +01:00
Adrian
e7d08b8e8e [XAM] Improved writing struct for XEnumerateCrossTitle 2025-11-23 19:40:06 +01:00
Adrian
6783bea223 [XAM] Implemented SPA XMAT 2025-11-23 19:17:39 +01:00
Gliniak
520353e95a [SDL] Fixed spam caused by infinitely increasing packet count
It was incremented with each GetState instead of controller state update
2025-11-23 18:24:01 +01:00
Adrian
07501cfcb9 [XAM] Fixed XEnumerateCrossTitle corrupt items_returned_ptr
Fixed Halo: Reach from crashing when accessing The Armory
2025-11-22 22:29:05 +01:00
Adrian
d915dd808d [XAM] Implemented SPA XRPT 2025-11-22 21:19:49 +01:00
Margen67
605bfd0e72 [premake] Remove redundant vectorextensions
Make clang version into a variable.
2025-11-20 03:53:43 -08:00
Margen67
42ac52882b [xb] Fix xb symbolic link 2025-11-20 03:53:43 -08:00
Margen67
79e1a2b866 Require Python 3.10+
3.9 is EOL.
2025-11-20 03:53:41 -08:00
Adrian
eb6221d631 [XAM] Added is_system_property util to UserData 2025-11-19 21:50:37 +01:00
Gliniak
1bf98e9354 [D3D12] Restored memory access safeguard 2025-11-18 23:01:28 +01:00
Adrian
243178a310 [XAM] Implemented SPA Stats Views 2025-11-18 21:27:45 +01:00
Gliniak
4ebf8994de [XMA] Revert changes in old XMA decoder to state from master repository.
- If you have new issues with sound it is recommended to switch to new decoder.
2025-11-17 18:29:33 +01:00
Gliniak
c6be50165f [3PP] Uplifted FMT to 12.1 2025-11-17 13:36:25 +01:00
Gliniak
56697f1be6 [VFS] Fixed invalid read size when extracting memory mapped files 2025-11-17 08:51:45 +01:00
Radosław Gliński
09b9e37c4f Revert "[Kernel] Fixed invalid address of a native object pointer"
This reverts commit 68b3490c8b.
2025-11-13 18:19:03 +01:00
Adrian
44c2882e9e [XAM] Mark XamGetPrivateEnumStructureFromHandle as Implemented 2025-11-11 00:04:24 +01:00
Adrian
58a38ba290 [NET] Match WSAStartup behaviour to console 2025-11-10 20:12:26 +01:00
Gliniak
68b3490c8b [Kernel] Fixed invalid address of a native object pointer 2025-11-10 01:00:03 +01:00
Gliniak
702fbc8adb [CPU/X64] Fixed random on boot crashes related to rsp not being aligned
vmovaps returns failure if it encounters unaligned memory.
Alignemnt must be done on 16 bytes, but sometimes rsp ends with 8
2025-11-09 21:59:46 +01:00
Adrian
e3f8ec70bb [UI] Allow gamepad to open profile context menu 2025-11-09 16:33:51 +01:00
Twig6943
0e51e33b83 Allow user to use wayland backend of gdk
Users can set GDK_BACKEND by themselves which will override the default x11 value
2025-11-09 14:40:05 +01:00
Adrian
48c854f783 [UI] Added online label for achievements unlocked online 2025-11-05 22:42:15 +01:00
Gliniak
efa0a8bb39 [XBDM] Added sketchy implementation of DmPMCGetCounterName and DmPMCInstallAndStart 2025-11-03 22:42:43 +01:00
Gliniak
892aa85913 [Premake] Remove AVX2 requirement from linux build
Co-authored-by: has207 <429230+has207@users.noreply.github.com>
2025-11-03 22:17:45 +01:00
Gliniak
3252d256ca [Emulator] Removed windows rdrand ntdll patch 2025-11-03 20:10:36 +01:00