Katharine Chui
0f219edcc9
fix street rider sending pdp packets using wrong pdp dst addresses in relay mode
...
In P2P mode, this issue was solved by resolving the final IP
address without the first byte. Fix the issue again for relay mode
by resolving the true mac address before sending.
True mac resolving was also added to relay mode ptp connect as a
precaution.
2026-03-17 17:40:31 +01:00
Henrik Rydgård
b01001a2e0
Merge pull request #21116 from Kethen/aemu_postoffice_integrate_v2
...
Support adhoc relay from aemu to ppsspp
2026-01-20 15:10:07 +01:00
Katharine Chui
f1bd8aca34
save g_Config.bServerHasRelay at adhoc startup
2026-01-19 22:32:04 +01:00
Henrik Rydgård
1d2f846c66
Partial drive-by cleanup of quick chat code
2026-01-19 17:14:24 +01:00
Henrik Rydgård
f4dbff0f14
Merge branch 'master' into aemu_postoffice_integrate_v2
2026-01-19 11:40:38 +01:00
MMaZaHaKa
aa350b3082
upd proAdhoc
2026-01-16 06:17:03 +02:00
Katharine Chui
f03b6d76b2
code formatting cleanup
2026-01-15 21:05:08 +01:00
Katharine Chui
3c38b5cfe1
rework ptp connect in relay mode, logic cleanup
2026-01-14 00:53:29 +01:00
Katharine Chui
97a3f1df91
implement nonblock ptp connect
2026-01-13 02:13:18 +01:00
Henrik Rydgård
ed940a9d38
Introduce alias maps built from the reference translation
2025-08-22 14:04:34 +02:00
Henrik Rydgård
3e2dce1e54
Move AdHoc error codes to the big enum, fix the naming convention to be consistent
2025-08-06 17:44:54 +02:00
Nemoumbra
921fd32969
8 vars moved to NetAdhocCommon, 1 var moved to sceNetAdhocMatching
2025-07-01 19:56:09 +03:00
AdamN
2a59e75ea3
This too.
2025-04-13 16:16:46 +07:00
Henrik Rydgård
cf059ff84c
Stub a lua console, add the sol lua wrapper library
2025-03-27 08:59:37 +01:00
Henrik Rydgård
698a98c9bb
Merge pull request #19927 from hrydgard/more-network-work
...
Add a hidden option to not download infra-dns.json, instead use the file from assets
2025-01-28 14:13:22 +01:00
Henrik Rydgård
8818e440ad
Add a hidden option to not download infra-dns.json, instead use the file from assets
2025-01-28 13:45:28 +01:00
Henrik Rydgård
ae2d5c1b41
getLocalIp: Have the fallback path keep looking if the IP found is 127.0.0.1
...
Fixes #19919
2025-01-28 13:32:31 +01:00
Henrik Rydgård
57b6850ea0
Pause screen improvements
2025-01-22 11:50:01 +01:00
Henrik Rydgård
a710faf27b
Remove the Network Connected/Shutdown popups. Replace with more info on pause screen
2025-01-21 18:07:52 +01:00
Henrik Rydgård
c7078f31fd
Rename "networkInited" to g_adhocServerConnected, which is what it is
2025-01-20 20:58:22 +01:00
Henrik Rydgård
c22c4b7bab
Move the Network Initialized message, add Network Shutdown message
2025-01-12 22:22:03 +01:00
Henrik Rydgård
885724db83
Add comments (checked that no other host socket numbers leak to the game)
2025-01-10 14:54:45 +01:00
Henrik Rydgård
c9c594462f
Track non-blocking state
2025-01-08 16:25:44 +01:00
Henrik Rydgård
155a9f9dbc
Turn the socket manager into a class
2025-01-08 14:59:40 +01:00
Henrik Rydgård
2c3f7f6806
Add a central location for managing HLE sockets
2025-01-08 13:29:09 +01:00
Henrik Rydgård
8505e24812
Attempt to implement remapping in select/poll
2025-01-08 13:27:49 +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
1c16c31b49
Log level tweaks, fix dodgy string tricks that failed the memory sanitizer
2025-01-06 17:51:59 +01:00
Henrik Rydgård
31207e2835
Also add the proAdhoc.cpp changes.
2025-01-06 15:27:11 +01:00
Nemoumbra
96f9749e2e
Split out the matching code from sceNetAdhoc.cpp
2025-01-03 04:59:26 +03:00
Henrik Rydgård
58c091598b
Fix sending of random stack data along with chat messages
2024-12-12 17:47:37 +01:00
Henrik Rydgård
59a56d66c7
Add a "reason" argument to sleep_ms().
...
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.
This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
9952c42426
Use message IDs to avoid some repetition of notifications.
...
Also fixes some awkward English.
2024-09-24 14:02:17 +02:00
AdamN
73cf77940d
Merge branch 'master' into adhoc_matching
2024-09-18 07:36:38 +07: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
AdamN
c389ede092
Update deleteAllAdhocSockets
2024-06-29 00:57:16 +07:00
Henrik Rydgård
aa94867128
Warning fixes
2024-05-20 10:04:11 +02:00
Henrik Rydgård
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
20626ebfee
When we enforce run-behind due to multiplayer, show "Network connected" on the pause screen
2024-01-21 12:02:30 +01:00
Henrik Rydgård
126d88ecfc
Back out clearly inconsequential/useless .reserve() calls
2023-12-29 08:27:56 +01:00
Herman Semenov
2a31f8c6c0
[Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope)
2023-12-20 12:33:56 +03:00
Herman Semenov
af41281761
[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params
2023-12-14 14:22:24 +03:00
ANR2ME
0188920f22
Allow TIMEOUT Event to intervene Joining process.
2023-10-13 00:21:49 +07:00
Henrik Rydgård
eb21a2e6c9
Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h
2023-06-30 17:15:49 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +02:00
Brad Smith
3518abb47d
Build fixes for OpenBSD
2023-05-19 22:04:36 -04:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00