Commit graph

187 commits

Author SHA1 Message Date
Henrik Rydgård
0349f91a9e Add "dyndns" or DNS server lookup by domain name as requested by ablondel.
JSON updated.
2025-01-12 17:55:42 +01:00
Henrik Rydgård
ae15cba56c Move the logic for loading the json file to the function. Minor cleanup. 2025-01-12 17:25:59 +01:00
Henrik Rydgård
05906bc8f3 Finish the format, actually use the things from it 2025-01-12 17:25:59 +01:00
Henrik Rydgård
608ff2ff39 Initial custom DNS config json parsing 2025-01-12 17:25:59 +01:00
Henrik Rydgård
c5cde0f218 Remove "Secondary DNS" as a setting. 2025-01-12 17:25:57 +01:00
Henrik Rydgård
1013be090c sceNetInet: Refactor errno handling and logging, so we always see how it changes 2025-01-12 14:57:51 +01:00
Henrik Rydgård
3e8b1564e2 Remove more UNTESTED tags in sceNetApctl 2025-01-11 10:22:23 +01:00
Henrik Rydgård
54581441ea Start cleaning up logging in sceNetInet 2025-01-11 10:22:21 +01:00
Nemoumbra
ef11d80b84 UPnP logs, wrong NpMatching2 syscall name, more names 2025-01-10 23:34:11 +03:00
AdamN
71fc03231f
Allow to get Apctl Info even when Apctl not inited yet. 2025-01-10 01:05:32 +07:00
Henrik Rydgård
2a0e3b1084 Move out a utility function to Common/Net 2025-01-09 09:23:33 +01:00
Henrik Rydgård
5e50a1777a Move out unused function from sceNet 2025-01-09 09:23:20 +01:00
Henrik Rydgård
b13987e233 Move some code out from sceNet into sceNp and sceNp2 2025-01-09 09:06:23 +01:00
Henrik Rydgård
c3aa0f7452 Centralize socket-related includes, introduce socket_errno
This resolves some weird inconsistentes and include order problems
related to errno. Needed for the next steps.
2025-01-08 12:42:45 +01:00
Henrik Rydgård
9b82a9f180 Move all the Inet enum mappers to Core/HLE/NetInetConstants. Other cleanup. 2025-01-07 19:45:16 +01:00
Henrik Rydgård
895d8eb7fa Try ANR2ME's sceNetInet implementation 2025-01-07 10:31:32 +01:00
Henrik Rydgård
ee2b47d6cc Remove variable that was previously refactored away (not sure if that was a good idea) 2025-01-06 15:21:12 +01:00
Henrik Rydgård
40e6e03ed5 Transfer some more Apctl functionality 2025-01-06 15:02:00 +01:00
AdamN
f77f3016b7 Add the new DNS config settings, make use of them in NetApctl_InitInfo 2025-01-06 14:38:57 +01:00
AdamN
98dba643f4 Just the sceUtility changes from ANR2ME's branch 2025-01-06 14:38:45 +01:00
Henrik Rydgård
56dd10f283 Fix savestates 2025-01-05 00:00:06 +01:00
Henrik Rydgård
f4ee69f7be Buildfixes 2025-01-04 20:04:35 +01:00
White Blood Cell
ee0b0fce6c sceNetInet and sceNetResolver support.
Co-authored-by: AdamN <anr2000@gmail.com>
2025-01-04 17:28:36 +01:00
Nemoumbra
96f9749e2e Split out the matching code from sceNetAdhoc.cpp 2025-01-03 04:59:26 +03:00
Henrik Rydgård
5926886c0c Some include cleanup, delete some obsolete code 2024-07-25 14:52:41 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Brad Smith
3518abb47d Build fixes for OpenBSD 2023-05-19 22:04:36 -04:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
Unknown W. Brackets
8f96405ee5 Net: Remove usage of Memory::WriteStruct().
This also validates pointer write size better.
2022-09-03 10:44:11 -07:00
Henrik Rydgård
e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00
ANR2ME
6d1a069248 Added another returned error code on PdpCreate 2021-12-08 08:45:46 +07:00
Unknown W. Brackets
82087ccbb7 Common: Reduce some log levels.
Take off a few messages during startup and shutdown.
2021-08-28 09:14:53 -07:00
ANR2ME
951080991a Forgot to return on invalid address, and moving reusable code out of HLE to prevent generating confusing logs 2021-04-05 04:56:11 +07:00
ANR2ME
89ca70a141 Ooops wrong way to do random range 2021-04-05 04:44:29 +07:00
ANR2ME
9e64eed432 minor fix 2021-04-05 04:44:29 +07:00
ANR2ME
824fedbef6 Randomize signal strength between 1%~99% since games like MGS:PW are using signal strength to determine the strength of the recruit 2021-04-05 04:44:28 +07:00
ANR2ME
cc40d294ac Fix stuck issue when scanning AP for Recruit on MGS:PW 2021-04-05 04:44:28 +07:00
ANR2ME
7336ec6a81 Shows PSP error code as hex to be easier to find 2021-04-02 12:19:01 +07:00
M4xw
4cc322466a Switch: Workaround several missing toolchain defs. 2021-03-04 21:24:57 -08:00
ANR2ME
758fb12fc3 Making sure there are no warnings related to deprecated inet_ntoa function 2021-03-01 01:45:27 +07:00
Unknown W. Brackets
f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -08:00
Henrik Rydgård
93fd62f54b
Merge pull request #13832 from unknownbrackets/events
SaveState: Make event restoring more obvious
2021-02-15 23:39:42 +01:00
ANR2ME
0ce2c2c6e9 Windows recvfrom doesn't support MSG_TRUNC, so we're using dummy buffer with max size as alternative for peeking actual size of the next pending message. 2021-02-11 07:40:35 +07:00
ANR2ME
f17d387a65 Updated some Logs to help finding the location of the call to debug. 2021-02-07 12:08:02 +07:00
Unknown W. Brackets
06f8ab5a49 SaveState: Make event restoring more obvious.
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
ANR2ME
6e50487fcd Updated error code on sceNetGetLocalEtherAddr 2020-10-29 06:00:13 +07:00
ANR2ME
f597382619 Show a warning just in case an abnormal situation occurred. 2020-10-19 23:32:09 +07:00
ANR2ME
59e2bab7ec Added some network-related missing error codes. 2020-10-11 09:57:56 +07:00
ANR2ME
d628eb2ebd Fix Falcom games (ie. Ys vs. Sora no Kiseki, Vantage Master Portable) 2020-10-09 23:45:12 +07:00
ANR2ME
8a96112e1a Fix Apctl and Adhocctl state change timings to works properly. Which fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link properly. 2020-10-09 23:37:35 +07:00