gibbed
997d0555db
Lint/format .inc files.
2021-06-28 20:32:52 -05:00
gibbed
5826b13899
[XAM] Flag NetDll_WSARecvFrom as high frequency.
2021-06-28 20:32:52 -05:00
Cancerous
afde40ab6c
XAM fixes.
...
Updated PR from Permanulled PR #1150 .
- [XAM] Stub XGI messages.
- [XAM] Stub XLiveBase GetServiceInfo message.
- [XAM] Stub error out of NetDll_WSARecvFrom.
- [XAM] Stub XamSessionRefObjByHandle.
Improves Aegis Wings, Jetpac, Metal Slug 3, and State of Decay.
Co-authored-by: PermaNulled <crich@thedefaced.org >
2021-06-28 09:51:15 -05:00
Joel Linn
d87bf995e1
Satisfy linter
...
Apply changes suggested by clang-format-12
2021-06-27 16:33:35 -05:00
Triang3l
fa653cce5d
[Kernel] Fix a comment length lint issue
2021-06-26 16:19:41 +03:00
emoose
89e26d7b2b
[Kernel] XamContentCreate*: pass XCONTENT_DATA size along to main content-creation func
...
This lets funcs like XamContentCreateInternal pass along a different XCONTENT_AGGREGATE_DATA struct, which the main func will know what to do with
2021-06-25 23:48:25 -05:00
emoose
9503c9efaf
[Kernel] Move title_id field in XCONTENT_AGGREGATE_DATA struct
...
XamAppEnumerateContentAggregate seems to store title_id at 0x140, so I've moved title_id to there, now AGGREGATE_DATA seems to match the size of the struct used by XamContentCreateInternal.
Also removed unneeded/useless checks inside XamAppEnumerateContentAggregate.
2021-06-25 23:48:25 -05:00
emoose
716d4c412a
[Kernel] Let XamContentAggregate.. make use of XEX alt-title-ids header
2021-06-25 23:48:25 -05:00
emoose
fbf9c4630f
[Kernel] Use XCONTENT_AGGREGATE_DATA in all ContentManager funcs
...
Since AGGREGATE_DATA contains extra info about title_id, and can be easily converted to/from XCONTENT_DATA.
2021-06-25 23:48:25 -05:00
emoose
13f30d3492
[Kernel] Merge Content*Data structs into XCONTENT*_DATA
...
Also moved XContentType to xbox.h so code can make use of it without needing to include STFS stuff
2021-06-25 23:48:25 -05:00
madmodder123
e8dde519cc
[XAM] XamShowSigninUI: Fix issue with loading profile(s)
2021-06-25 23:42:00 -05:00
Joel Linn
6d548f51b3
[Kernel] net: name anonymous struct
...
- fixes GCC compilation error due to
"member with constructor in anonymous struct"
2021-06-02 22:28:43 -05:00
Joel Linn
a86d7173e1
Refactor FourCC magic uses
...
- Use new fourcc_t type
- Improves compiler compatibility by removing multi chars
2021-06-02 22:28:43 -05:00
Gliniak
fbc31652e0
[XAM/Net] inet_addr: Handle edge cases
2021-05-27 16:16:56 -05:00
Gliniak
29f7987401
[XAM] XamReadTileToTexture: tile_id safety check
2021-05-27 16:16:20 -05:00
Gliniak
29f28b8b60
[Kernel/XAM] CloseContent: Close files related to closed content
2021-05-27 16:16:01 -05:00
Gliniak
f298d7620a
[Kernel/XAM] XamContentGetCreator: Added check for existing content
2021-05-27 16:11:35 -05:00
Gliniak
a69a058991
[XAM/App] Fixed issue when error code was handled as success
2021-05-13 23:08:02 -05:00
Gliniak
93c97fdbda
[XAM/Content] Provide title ID for aggregate content
2021-05-13 23:08:02 -05:00
gibbed
21c28a07f1
[XAM] Write stub buffer in XamReadTileToTexture.
...
[XAM] Write stub texture buffer (white) in XamReadTileToTexture.
2021-05-08 11:13:30 -05:00
gibbed
8d8bab853d
[XAM] Define unknown args for XamReadTileToTexture.
2021-05-08 11:13:30 -05:00
gibbed
37a733e33a
[XAM] More values for dummy achievement details.
...
[XAM] Provide image ID and flags for dummy achievement details.
2021-05-08 11:13:30 -05:00
gibbed
0f6bfcf0d5
[XAM] Base dummy achievement details at ID 1.
2021-05-08 11:13:30 -05:00
gibbed
5d778cfef6
[XAM] Better text for dummy achievement details.
2021-05-08 11:13:30 -05:00
gibbed
b2011453cc
[XAM] Cap dummy achievement details to 100.
2021-05-08 11:13:30 -05:00
gibbed
b735e3f40d
[XAM] Fix dummy achievement details count.
2021-05-08 11:13:30 -05:00
gibbed
cf2037cdf6
[XAM] Cap the number of dummy achievement details.
2021-05-08 09:10:28 -05:00
gibbed
1c78c9d75d
[XAM] Fix adding dummy achievement details.
...
[XAM] Fix infinite loop in adding dummy achievement details when
count>255.
2021-05-08 09:10:28 -05:00
gibbed
084b8c5dbe
[XAM] Fix missing buffer check on XamEnumerate.
2021-05-08 09:10:28 -05:00
Gliniak
d2ca54d909
[Kernel/XAM] Dummy X_ACHIEVEMENT_DETAILS support
...
Co-authored-by: gibbed <rick@gibbed.us >
2021-05-08 07:47:03 -05:00
emoose
ce19d948f0
[Base] Move XdbfLocale to xbox.h as XLanguage, let STFS headers use it
...
Renamed to XLanguage because AFAIK locale on Xbox is a different concept involving countries, this enum only involves languages though.
2021-05-05 12:35:51 -05:00
Gliniak
1f658f9b32
[XAM/Content] Prevent deletion of open packages
2021-05-02 10:46:20 -05:00
Gliniak
d4c3d665d5
[XAM/Content] Set disposition for overlapped cases
2021-04-30 20:12:56 -05:00
Gliniak
010f0aa517
[XAM/Party] Added stubs for:
...
- XamPartyGetUserList
- XamPartySendGameInvites
- XamPartySetCustomData
- XamPartyGetBandwidth
2021-04-06 23:39:40 -05:00
Gliniak
6c9662d17e
[XAM/UI] Added Stubs For:
...
- XamShowPartyUI
- XamShowCommunitySessionsUI
2021-04-06 23:39:40 -05:00
Gliniak
a6954aced3
[Kernel/XAM] XamContentCreateEx - Extended Error Support
2021-01-31 23:58:07 -06:00
emoose
690b0d9197
[Kernel/XAM] Prevent Sleep from being used on main thread, fixes #1749
2021-01-31 23:39:13 -06:00
emoose
57764f6bea
[Kernel/XAM] Improve NetDll_XNetQosServiceLookup stub, implement NetDll_XNetQosRelease
...
Needed for Saints Row 1 (TU1) to start up properly
2021-01-31 23:26:47 -06:00
Radosław Gliński
d2cf0167fd
[XAM/User] Added flag for local profile
...
It should fix games where right now there is no profile found.
Example: EA Sports games
2020-12-03 01:21:33 -06:00
Gliniak
c3d48eb2fa
[XAM/Net] Implemented WSASetLastError
2020-11-29 10:48:29 -06:00
gibbed
215f2a340b
[XAM] Ensure items returned is set in enumerate.
...
[XAM] Ensure items returned is set in xeXamEnumerate.
2020-11-29 02:03:44 -06:00
gibbed
319699130a
[XAM] Improvement rollup. Content, enumerators...
...
- [Kernel] Create guest object for XEnumerator.
- [XAM] Split content data into host/guest variants.
- [XAM] Correct message return type from RESULT to HRESULT.
- [XAM] Add a new dummy content device for ODD.
- [XAM] Implement XamContentAggregateCreateEnumerator.
- [XAM] Implement XamGetPrivateEnumStructureFromHandle.
- [XAM] Implement XMsgCompleteIORequest (sketchy).
- [XAM] Implement XamGetOverlappedResult (sketchy).
- [XAM] Implement XamTaskSchedule (sketchy).
2020-11-27 14:19:30 -06:00
gibbed
5328b72268
[XAM] Split content device exports to a new file.
2020-11-27 14:19:30 -06:00
gibbed
f8d663cd1e
[XAM] Rename NUI export group.
2020-11-27 14:19:30 -06:00
gibbed
1481735d36
[XAM] Rework how export groups are registered.
2020-11-27 14:19:30 -06:00
gibbed
42b1427087
[XAM] Split enum exports to a new file.
2020-11-27 14:19:30 -06:00
gibbed
dd25e69e66
[HID] Pass 'is active' callback to input drivers.
2020-11-27 05:23:21 -06:00
gibbed
f8e6ac4108
Defer XAM UI functions & other improvements.
...
- [Kernel] Fix global locking in kernel dispatch thread.
- [Kernel] Improve CompleteOverlappedDeferred/CompleteOverlappedDeferredEx.
- [XAM] Identify unknowns in XamNotifyCreateListener/XNotifyListener.
- [XAM] Defer XamShowMessageBoxUI.
- [XAM] Defer XamShowKeyboardUI.
- [XAM] Fix cancel handling in XamShowKeyboardUI.
- [XAM] Defer XamShowDeviceSelectorUI.
- [XAM] Defer XamShowDirtyDiscErrorUI.
2020-11-27 05:15:17 -06:00
gibbed
49dc0e9c39
[XAM] Rollup of user fixes.
...
- [XAM] Fix XamUserGetXUID type mask handling.
- [XAM] Fix XamGetUserName return values.
- [XAM] Fix XamGetUserName copy size.
- [XAM] Implement XamGetUserGamerTag.
- [XAM] Fix XamUserCheckPrivilege handling of all users.
- [XAM] Stub XamUserGetMembershipTier.
2020-11-17 19:58:30 -06:00
Cancerous
94b9616b3a
[XAM] Raise the size of the dummy HDD to 20GB.
...
- [XAM] Raise the size of the dummy HDD to 20GB.
- [XAM] Rename unknown field to device_type in X_CONTENT_DEVICE_DATA.
2020-11-15 15:04:40 -06:00