Skip to content

Commit

Permalink
[XAM] XHttpOpenRequest stub
Browse files Browse the repository at this point in the history
Fixed a crash with Minecraft on latest TU
  • Loading branch information
AdrianCassar committed Dec 24, 2023
1 parent 788b94b commit 9c6068e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ It should also be noted that due to the way Steam Decks handle configuration, yo
| Call of Duty 2 | ```launch_module = "default_mp.xex"``` | [Deathmatch](https://www.youtube.com/watch?v=DR9Op_f1UUw) |
| Death Tank | |
| DiRT | | [Race](https://www.youtube.com/watch?v=udMf-MUzpEc) |
| GRID | |
| GTA V Beta | Requires ```protect_zero = false``` or use patches. | [Beta Showcase](https://www.youtube.com/watch?v=nIjZ7sRGZlo), [Beta Showcase](https://www.youtube.com/watch?v=YIBjy5ZJcq4) | [TU 13](https://github.com/AdrianCassar/Xenia-WebServices/blob/main/patches/545408A7%20-%20Grand%20Theft%20Auto%20V%20(TU13).patch.toml), [TU 10](https://github.com/AdrianCassar/Xenia-WebServices/blob/main/patches/545408A7%20-%20Grand%20Theft%20Auto%20V%20(TU10).patch.toml) |
| GTA V TU 2-13 | Must complete prologue, download gamesave [here](https://cdn.discordapp.com/attachments/641360906495983616/1101132116441440366/545408A7.rar). Unstable and often crashes. | [Solo Session](https://www.youtube.com/watch?v=lap7liW6pco) |
| Gundam Operation Troy | [English Patch](https://github.com/Eight-Mansions/MSGOT/releases)
Expand Down
15 changes: 15 additions & 0 deletions src/xenia/kernel/xam/xam_net.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,21 @@ dword_result_t NetDll_XNetQosGetListenStats_entry(dword_t caller, dword_t unk,
}
DECLARE_XAM_EXPORT1(NetDll_XNetQosGetListenStats, kNetworking, kImplemented);

dword_result_t NetDll_XHttpStartup_entry(dword_t caller, dword_t reserved,
dword_t reserved_ptr) {
return TRUE;
}
DECLARE_XAM_EXPORT1(NetDll_XHttpStartup, kNetworking, kStub);

dword_result_t NetDll_XHttpOpenRequest_entry(
dword_t caller, dword_t connect_handle, lpstring_t verb, lpstring_t path,
lpstring_t version, lpstring_t referrer, lpstring_t reserved,
dword_t flag) {
XELOGI("XStorage: Requesting file: {} {}", verb, path);
return NULL;
}
DECLARE_XAM_EXPORT1(NetDll_XHttpOpenRequest, kNetworking, kStub);

dword_result_t NetDll_inet_addr_entry(lpstring_t addr_ptr) {
if (!addr_ptr) {
return -1;
Expand Down

0 comments on commit 9c6068e

Please sign in to comment.