Commit Graph

418 Commits

Author SHA1 Message Date
Henrik Rydgård 962d132e5f Make the adhoc server list data driven 2026-03-05 15:15:25 +01:00
Henrik Rydgård 2a1cefb58b (Fake-)load adhoc server list asynchronously when opening server list window. 2026-03-05 14:36:06 +01:00
Henrik Rydgård cc49e5079d Refactor a bit, preparing for async download 2026-03-05 14:30:32 +01:00
Henrik Rydgård a0327ff5d5 Adhoc: Update some discord links 2026-03-05 14:30:32 +01:00
Henrik Rydgård 0d8358827b Move the pre-loaded adhoc server address list logic to sceNetAdhoc.cpp
Yes, that file is growing too big...
2026-03-05 10:05:08 +01:00
Henrik Rydgård 61fd0430e5 Update strings for the adhoc mode message 2026-02-19 16:43:55 +01:00
Katharine Chui b3b9e90403 expand adhoc server list
Add various data fields and logic to handle:
- automatic adhoc data mode handling
- future UI expension on server list
- future support for automatically downloaded/user provided server list
2026-02-18 19:22:38 +01:00
Henrik Rydgård 4477396045 AdHoc relay server: Replace checkbox with "Auto" / "On" / "Off" 2026-02-18 19:18:42 +01:00
Katharine Chui 4c0d913d34 Fix FlatOut Head On in aemu_postoffice relay mode
PDP recv with buffer < packet size was not implemented correctly
as far as FlatOut Head On is concerned. Fix relay PDP recv
implementation to report required size without consuming the next
PDP packet so that it behaves like P2P mode does.
2026-02-17 22:23:42 +01:00
Henrik Rydgård f01aaeafb1 Split CopyDisplayToOutput in preparation for the next step 2026-02-08 01:06:32 +01:00
Katharine Chui 8292cb35cc fix code formatting 2026-02-06 15:00:59 +01:00
Katharine Chui b2e976360c aemu_postoffice: fragment huge ptp send requests in relay mode 2026-02-06 14:50:01 +01:00
Katharine Chui cb279b5ba1 sanitize adhoc recv buffer sizes in relay mode using library defines 2026-02-06 14:49:49 +01:00
Henrik Rydgård d6ebfed432 Fix some bugs and warnings from a pass of static analysis 2026-01-29 17:41:54 +01:00
Katharine Chui e3710af3c4 fix dirty pointer deref during relay DoBlockingPdpSend 2026-01-23 16:05:16 +01:00
Henrik Rydgård ee208110c5 sceNetAdhoc: Warning fixes, fix use of == instead of = 2026-01-23 10:56:03 +01:00
Henrik Rydgård 10690952b2 Variable renaming, rename the new packet relay option, set default to false 2026-01-21 01:37:58 +01:00
Katharine Chui f1bd8aca34 save g_Config.bServerHasRelay at adhoc startup 2026-01-19 22:32:04 +01:00
Katharine Chui 6684f032db null check sport in pdp_recv_postoffice 2026-01-16 11:48:25 +01:00
Katharine Chui da1a843377 cleanup port offet logic in relay mode 2026-01-16 11:41:14 +01: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
Katharine Chui c76226cd0d fix adhoc gamemode in relay mode 2026-01-11 20:58:30 +01:00
Katharine Chui bf30de1527 initial github.com/kethen/aemu_postoffice integration ported from github.com/kethen/aemu 2026-01-11 18:53:54 +01:00
Henrik Rydgård ccb7eee91d Logging fix.
Fixes #21102
2026-01-05 16:25:04 +01:00
Henrik Rydgård 4aaf44dd02 Warning fixes 2025-09-02 13:26:04 +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 c7aafd4cbe Deduplicated a config variable 2025-07-02 01:30:21 +03:00
Nemoumbra c4dafe28b0 g_adhocServerConnected moved to NetAdhocCommon 2025-07-01 23:57:30 +03:00
Nemoumbra 9e03358283 moved matching threadhackaddr to NetAdhocCommon, reordering & cleanup 2025-07-01 19:56:09 +03:00
Nemoumbra 921fd32969 8 vars moved to NetAdhocCommon, 1 var moved to sceNetAdhocMatching 2025-07-01 19:56:09 +03:00
Nemoumbra d3d00d7d7b Start moving general adhoc stuff out of sceNetAdhoc 2025-07-01 19:56:09 +03:00
AdamN 4a0ae39293 Fixed truncated adhoc group name issue. 2025-04-13 21:01:26 +07:00
AdamN fe71a10945 Let's not changed the SO_LINGER time, since RST signal can be faster than incoming data, thus could lost the data. 2025-04-13 16:15:05 +07:00
Henrik Rydgård da7c99a585 sceNetInet: Implement per-thread errno. Reduce some log levels 2025-04-08 08:31:09 +02:00
Henrik Rydgård 4e25f44eef Rename some module-related functions to include HLE where appropriate 2025-03-31 11:17:50 +02: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 0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård 0f9c97c2a0 Another big batch of logging cleanup 2025-03-05 17:02:46 +01:00
Henrik Rydgård 7e3e944e3b Update GetSecondBufferInfo 2025-03-05 17:02:46 +01:00
Henrik Rydgård 948c38a034 Some more minor fixes 2025-02-04 10:24:55 -06:00
Henrik Rydgård 8f0b64c4eb Minor fix (N1) 2025-02-04 10:19:34 -06:00
Henrik Rydgård 28b2c7f540 HLE log rename part 1: Remove duplicate log functions. Return type should be determined by metadata. 2025-01-29 09:45:39 +01:00
Henrik Rydgård 9f8d21e7b8 Add some more debugger windows and info for networking stuff 2025-01-21 12:22:32 +01:00
Henrik Rydgård 5d124d93f8 Make network connection detection (for pause screen purposes) a bit more strict. 2025-01-21 12:22:29 +01:00
Henrik Rydgård 58f336f64d Infrastructure: Only connect to adhoc server if connect_adhoc_for_grouping is set in the json 2025-01-20 20:58:22 +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 e24317b20b A lot more logging fixes 2025-01-20 12:20:21 +01:00
Henrik Rydgård 7d2ad6980e Another batch of changes 2025-01-20 12:20:21 +01:00