Commit Graph

7670 Commits

Author SHA1 Message Date
Gliniak 11f14e8488 [HID] Fixed spam caused by incorrect controller visibility
- Little cleanup in HID related code
2024-12-21 19:51:01 +01:00
Adrian 3d79874828 [XAM] Fixed profile setting for preferred color
Fixes Supreme Commander from crashing.
2024-12-21 14:58:16 +01:00
The-Little-Wolf 919f7403e2 [Xam/UI] - Implement XamShowMarketplaceUIEx & XamShowForcedNameChangeUI
Xam version 4548 and up XamShowMarketplaceUI transfers its params to XamShowMarketplaceUIEx.
2024-12-20 08:00:43 +01:00
Gliniak 263c722a40 [XAM] Added X_ACHIEVEMENT_UNLOCK_TIME ctor to support unix timestamp 2024-12-18 20:59:27 +01:00
Gliniak b98ff2d278 [XAM] Added specific ctor for X_ACHIEVEMENT_UNLOCK_TIME
Added method X_ACHIEVEMENT_UNLOCK_TIME::to_time_point
2024-12-18 20:32:52 +01:00
Gliniak ef8619b0a8 [HID] Fixed issue with controller input introduced in previous commit.
Added option to switch keyboard working mode.
2024-12-18 20:11:38 +01:00
Gliniak f6ae651cc2 [HID] Enable Keyboard Passthru
Thanks Adrian for figuring out missing XINPUT_KEYSTROKE_VALIDUNICODE flag.
Thanks Clippy95 for figuring out shift and capslock
2024-12-17 08:59:13 +01:00
Margen67 2596aef111 [CI] Use main branch of actions 2024-12-16 19:49:10 -08:00
Gliniak b187ffeef7 [UI] Fixed crash while opening titles menu while not being logged in 2024-12-16 19:36:33 +01:00
Xphalnos c8c62fc07c [Base] Fixed compilation error in math.h 2024-12-16 18:55:46 +01:00
Gliniak cfd965342a [XAM] Fixed issue with lack of loaded achievements while switching profile in-game 2024-12-15 14:16:17 +01:00
Gliniak b449937553 [CI] Removed VS2019 build from CI
Build on VS2022 is finally marked as clean, so there is no need to waste resources to generate 2019 and 2022 builds
2024-12-14 23:01:33 +01:00
Gliniak 2fc36721b4 [Kernel] Removed useless GameInfoWrapper class
It was added back in 2016 and never really used.
I tested few games and never saw GameInfo.bin in XNA games or any other game
2024-12-14 20:51:16 +01:00
Gliniak e8a92c1073 [Kernel] Split achievements backends from manager and interface 2024-12-14 18:32:53 +01:00
Gliniak 45332299b2 [UI] Added played game list and achievements UI.
This will be functional after GPD & SPA implementation, for now shows info about currently booted title
2024-12-14 18:18:35 +01:00
Margen67 d94940f850 Replace /GS- with NoBufferSecurityCheck
This is how it's supposed to be done.
Stops this from being spammed:
cl : command line  warning D9025: overriding '/GS' with '/GS-' [D:\a\xenia-canary\xenia-canary\build\glslang-spirv.vcxproj]
2024-12-13 13:01:07 -08:00
Margen67 3acf3fdcd1 Never specify /O1
Leaving it as /O2 might improve performance.
Stops this from being spammed:
cl : command line  warning D9025: overriding '/O2' with '/O1' [D:\a\xenia-canary\xenia-canary\build\glslang-spirv.vcxproj]

/Os is implied by /O1;
https://learn.microsoft.com/en-us/cpp/build/reference/o1-o2-minimize-size-maximize-speed?view=msvc-170
2024-12-13 13:01:06 -08:00
Margen67 1d51ff5bfd Replace invalid vectorextensions
IA32 never existed for x64, see:
https://learn.microsoft.com/en-us/cpp/build/reference/arch-x64?view=msvc-140#syntax
Fixes this:
cl : command line  warning D9002: ignoring unknown option '/arch:IA32' [D:\a\xenia-canary\xenia-canary\build\xenia-app.vcxproj]
2024-12-13 11:03:07 -08:00
Margen67 0132cb9a14 Add /Ob3, remove /Oy
/Ob3 might improve performance;
https://learn.microsoft.com/en-us/cpp/build/reference/ob-inline-function-expansion?view=msvc-170
/Oy is implied by /O2;
https://learn.microsoft.com/en-us/cpp/build/reference/o1-o2-minimize-size-maximize-speed?view=msvc-170
2024-12-13 11:03:07 -08:00
Gliniak a295ec1bbd [Base] Removed useless path_to_utf8 conversion while using fmt
Default filesystem::path formatter was added to fmt around 2022
2024-12-13 19:04:31 +01:00
Gliniak 3318ab5d4c [3PP] Uplifted FMT version and adjusted messages 2024-12-12 20:28:11 +01:00
Adrian 41771055f8 [XAM] Fixed datatype for uint32_t user settings 2024-12-12 10:31:56 +01:00
Gliniak e93373660f [Kernel] AchievementManager: Added Interface for attaching custom implementations 2024-12-10 22:21:24 +01:00
Gliniak 0368e06b71 [XDBF] Added option to read XTHD section
This will be useful as it contains title id and version
2024-12-10 19:10:17 +01:00
Gliniak c7c5aed948 [UI] Install Content: Install savefiles to profile signed to first slot.
This will prevent installation of savefiles to non-existing profiles
2024-12-09 19:52:21 +01:00
Gliniak fadc8d5a4d [XAM/UI] Simplified profile menu drawing logic
- Removed size precalculation.
- Fixed image ratio to 1:1.
- Removed scaling code that doesn't work anyway.
  If scaling is needed then it is in achievement earned notification code.
- Removed hardcoded -1 in user_index comparation.
2024-12-04 09:53:26 +01:00
The-Little-Wolf 6a380bcd91 [Xam/Info] - Fix XamGetLanguage & XGetLanguage Implementation
XamGetLanguage:
 - Language values that are returned must match Xlanguage values
XGetLanguage:
 - Return values above 9 will default to japanese, korean, or english depending on game region
2024-12-03 15:13:32 +01:00
Adrian 61b2e15666 [XAM] Fix error code for XamUserGetIndexFromXUID 2024-12-03 14:51:25 +01:00
Adrian cfd7da696f [App] Reset dialogs on refresh 2024-12-03 14:38:47 +01:00
The-Little-Wolf c71649161e [XAM] Implemented XamUserGetIndexFromXUID
Implement XamUserGetIndexFromXUID
2024-11-29 20:42:13 +01:00
The-Little-Wolf 1a98a6eaf3 [Xam/User] - Stub XamUserCreateTitlesPlayedEnumerator
Stub of XamUserCreateTitlesPlayedEnumerator in preparation for future GPD support
2024-11-29 09:19:42 +01:00
Adrian 3ab712824e [XAM] Maintain usage of constant XUserIndexAny 2024-11-27 19:41:10 +01:00
Gliniak 2b49fc2ddc [XAM] ProfileManager: Renamed GetProfiles to GetAccounts
This is to prevent confusion between signed-in accounts (aka. Profiles) and all entries (Accounts)

Also added GetAccount to get specific instead of all of them when not needed
2024-11-26 20:28:01 +01:00
Adrian b17faf84f2 [XAM] Improve XamUserGetSubscriptionType 2024-11-25 22:18:19 +01:00
Adrian d516e8091c [XAM] XamGetStagingMode Stub 2024-11-25 22:17:20 +01:00
Adrian 4d44856b2b [XAM] Implemented XamProfileFindAccount 2024-11-25 20:46:54 +01:00
Adrian d0b15ff8c9 [Kernel] Check null pointer in RtlImageXexHeaderField 2024-11-25 19:30:11 +01:00
Xphalnos 2300b8455c [Tools] Updating: vswhere.exe and premake5.exe 2024-11-25 09:11:26 +01:00
¥IGA 7706c481b6 Update Workflows 2024-11-25 09:10:37 +01:00
Adrian feafc3809c [XAM] Implemented XamProfileCreateEnumerator & XamProfileEnumerate 2024-11-25 08:49:38 +01:00
Adrian 3096bb87d4 [XAM] Improve XamUserIsUnsafeProgrammingAllowed Stub
Co-Authored-By: Pipi86 <66808852+Pipi86@users.noreply.github.com>
2024-11-25 08:48:13 +01:00
Adrian 05ae4ac6e9 [XAM] Implemented XamUserGetUserFlags & XamUserGetUserFlagsFromXUID 2024-11-25 08:47:46 +01:00
Adrian c06b1f6e98 [XAM] Correct XUID type in XamUserCreateAchievementEnumerator 2024-11-24 11:00:21 +01:00
Adrian a4156abed7 [XAM] XamGetLanguage Stub 2024-11-24 10:53:15 +01:00
Adrian 1333b4dc98 [XAM] Correct error code in XamUserGetGamerTag 2024-11-24 10:51:38 +01:00
Adrian a7a981105a [Core] Add XUID validation functions to xbox.h 2024-11-24 10:44:52 +01:00
Xphalnos fbad66e5bc [imgui] Clean implementation of rounded edges 2024-11-03 20:07:58 +01:00
Gliniak 464e9a1645 [XMP] Disable switching back to system client mode 2024-11-02 21:39:22 +01:00
Gliniak d393725353 Revert "[VFS] Fixed crash on filename extraction from path."
This reverts commit 02f5316562.

It's not needed anymore thanks to 6cba5ba7e6
2024-11-02 19:54:16 +01:00
Gliniak 35cc2ccd7a [XMP] Fixed issues with lack of state change and premature audio cut 2024-11-02 19:08:40 +01:00