Commit Graph

8101 Commits

Author SHA1 Message Date
Adrian
ef65c6761b [XAM] Cleanup user settings header to reduce including issues 2026-02-07 22:29:29 +01:00
goldislead
1a9613705d Rework max anisotropy override to sampler creation (D3D12/Vulkan)
Revert ac6fd65 fetch additions and implement context-sensitive AF override.
2026-02-07 17:47:12 +01:00
Margen67
60ffc2e83f [CI] Remove unneeded python-setup
The default Python version was updated so this is no longer necessary: https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md#language-and-runtime
2026-02-02 00:23:18 -08:00
Gliniak
4dd0842087 [Kernel] Fixed incorrect amount of propagated notifications on boot
- Created dedicated method: IsUIActive
2026-01-31 19:24:10 +01:00
Gliniak
7e1506ff23 [Kernel] XThread: Added mutex to set_name.
There is a small chance that game will spam requests for thread name change which will cause invalid free
2026-01-31 18:32:52 +01:00
The-Little-Wolf
78d700af41 [XAM/USER] - Add missing broadcast to XamUserWriteProfileSettings
-  Add missing broadcast to XamUserWriteProfileSettings
2026-01-30 19:06:47 +01:00
The-Little-Wolf
a8fe4666ad [XEX] - log outputs
- Finish XEX_HEADER_XBOX360_LOGO, XEX_HEADER_FILE_FORMAT_INFO, XEX_HEADER_DELTA_PATCH_DESCRIPTOR, XEX_HEADER_SYSTEM_FLAGS_32, XEX_HEADER_ENABLED_FOR_CALLCAP, and XEX_HEADER_GAME_RATINGS
- Add missing xex2_header_keys
- Add flag name outputs
- Removed magic number
- Added X_FILE_CHARACTERISTICS to X_FILE_FS_DEVICE_INFORMATION
2026-01-30 18:45:04 +01:00
The-Little-Wolf
38ccc71afa [XboxKrnl/Threading] - implement KeInitializeTimerEx
- Taken from Crispy's Nukernel build
2026-01-29 23:05:23 +01:00
Roy Stewart
e3c4b5aef5 refactor xenia-build printing functionality and add color to the outputs 2026-01-29 22:38:43 +01:00
Gliniak
603355ae5b [XAM] Fixed enumeration of achievements once again 2026-01-29 21:55:30 +01:00
Gliniak
2ba82072fc [Kernel] Added stub for: NtCancelIoFile 2026-01-29 20:41:01 +01:00
Stayd
ac6fd65385 [GPU] Add anisotropic filtering override 2026-01-28 08:28:53 +01:00
Gliniak
a74fe21f76 [CPU] Disable context promotion only for vertex type 2026-01-28 07:49:39 +01:00
Gliniak
67d80958c9 [XThread] Remove 10ms delay in thread start 2026-01-25 19:41:57 +01:00
Adrian
263e91b014 [XAM] Fixed XamUserCreateAchievementEnumerator starting index usage
Fixed Vancouver 2010 spamming XamUserCreateAchievementEnumerator
2026-01-20 08:30:25 +01:00
Gliniak
81656a9729 [XAM] Fixed issue with error code being returned for local session 2026-01-10 18:26:45 +01:00
Herman S.
4b6ac45650 [VFS/Posix] Fix Rename to properly handle guest paths
And ensure string_views aren't pointing at freed memory by saving
a reference to the result of path_to_utf8
2026-01-10 17:53:39 +01:00
Gliniak
dce4d38c0a [XAM] Fixed crash related to incorrect buffer size in UserPlaylist enum
- Replaced unk_ptr in XMP_CREATE_USER_PLAYLIST_ENUMERATOR
- Simplified logic in achievements StringBuffer
2026-01-09 09:06:14 +01:00
Adrian
4b73839bf1 [XAM] Added std::optional to SPA getters 2026-01-06 18:22:35 +01:00
Gliniak
beb52110e3 [Memory] Use randomized values for scribble_heap instead of hardcoded one
This fixes Watchman - The End is Nigh which relay on UB on boot (OOR)

They're checking in hardcoded "game:" for '/' character.
If it doesn't exist then adds 0x7FFFFFFE to start address and start searching from that location downward
2026-01-05 20:50:12 +01:00
The-Little-Wolf
2e61df76f0 [XAM/USER] - Implement XamUserIsParentalControlled
- Implement XamUserIsParentalControlled which is used in 584807F7
- Move some structs into xam.h
2026-01-05 20:30:37 +01:00
NicknineTheEagle
ccd5c50c74 [XAM] Count empty path as exit request in XamLoaderGetLaunchData 2026-01-05 20:04:59 +01:00
Adrian
b723d6e7c2 [UI] Free image data from stbi_load 2026-01-05 19:25:18 +01:00
Gliniak
b8b33ecabf [VFS] XContent: Added support for SVOD normal layout with multiple files 2026-01-05 19:04:37 +01:00
Adrian
53c0178766 [NET] Implemented XNetRandom
Fixed checkpoints in Gears of War 3
2025-12-30 23:30:53 +01:00
Herman S.
fcebdfb255 [GPU] Fix scaled resolve tracking for blocks outside write range 2025-12-27 19:02:29 +01:00
Adrian
f8fb490ef8 [APP] Disable toggle fullscreen double click while rendering dialogs 2025-12-26 21:50:41 +01:00
Gliniak
c42aeacf25 [Vulkan] Ensure entire scaled range fits within the buffer.
Fixes devices lost errors when using resolution scaling

Co-authored-by: Herman S. <429230+has207@users.noreply.github.com>
2025-12-25 14:40:33 +01:00
Adrian
594e8b8cdd [XAM] Add null terminator in UserData for WSTRING 2025-12-24 22:33:49 +01:00
Gliniak
01aec51278 [XAM] Fixed invalid xuid being returned when only online XUID is requested
- Fixes stats loading of GoW3 savefile (and maybe checkpoints)

Co-authored-by: Adrian <78108584+AdrianCassar@users.noreply.github.com>
2025-12-24 22:12:01 +01:00
Gliniak
547226fc0b [XMA] Cleanup in XmaDecoder::WriteRegister
- Replaced manual for loop with C++20 countr_zero standard call
2025-12-23 23:28:13 +01:00
Adrian
ac66db337b [XAM] Fixed size used in read_u16string_and_swap 2025-12-22 19:33:47 +01:00
Gliniak
e786d5c8c3 [XAM] Fixed potantial crash while upserting setting related to missing SPA
- Fixed OOR asssertion caused by invalid amount of characters read by from_string
2025-12-22 18:47:34 +01:00
The-Little-Wolf
169fea978a [XAM/XLIVE] - Set proper returns when offline
- Have XLive functions return their offline values.
- Have XGIUserReadStats return X_ONLINE_E_LOGON_NOT_LOGGED_ON
2025-12-22 10:31:29 +01:00
oltolm
492fa7c632 use concepts instead of SFINAE 2025-12-22 10:00:52 +01:00
oltolm
d78bc3a789 [UI]: fix ASAN errors 2025-12-18 10:15:19 +01:00
Adrian
925c59790f [XAM] Cleanup parsing gamer tile key 2025-12-18 07:45:12 +01:00
The-Little-Wolf
a89513864c [XAM/CONTENT] - Implement XamContentRegisterChangeCallback
- Implement XamContentRegisterChangeCallback
- Callback used subfunction within XContentInstall
2025-12-15 08:12:13 +01:00
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