Commit Graph

54 Commits

Author SHA1 Message Date
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Henrik Rydgard
cc8e4cb8fe Split out sceNetAdhoc* into a separate file from sceNet. 2013-09-07 00:55:42 +02:00
Unknown W. Brackets
7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07:00
Unknown W. Brackets
0d0d036522 Clean up MAC address conversion in HLE.
Not planning to implement net, but this fixes a potential crash / buffer
overflow, and implements a commonly reported unimplemented function.
2013-08-29 23:47:03 -07:00
Unknown W. Brackets
2ef650aa2d Add a bunch of HLE functions for better reporting. 2013-08-22 23:04:55 -07:00
CPkmn
b0d203454f Update sceNet.cpp 2013-08-22 15:55:03 -07:00
Unknown W. Brackets
8ab67b1674 Fix some warnings. 2013-08-13 21:05:54 -07:00
Unknown W. Brackets
ea420bcfaa Specify memory layout in sceNet. 2013-07-27 15:42:23 -07:00
The Dax
75dcbc0f09 Fix warning in sceNet.cpp. 2013-07-23 16:44:42 -04:00
The Dax
4c99044b06 sceNet.cpp: Fix inconsistent spacing issues. 2013-07-17 17:38:17 -04:00
The Dax
e072604d9c sceNet.cpp: Fix build error and warning. 2013-07-17 17:36:51 -04:00
The Dax
553e331bae sceNet.cpp: Reset & initialise all variables properly upon Init and Shutdown. 2013-07-17 17:34:17 -04:00
The Dax
30dd5157ca Add new booleans to savestate. 2013-07-15 17:59:29 -04:00
The Dax
6887411738 Add correct behaviour to the various sceNet*init and sceNet*term functions. Fixes Peace Walker's mission hangs, and should possibly fix other games that would hang with repeated initialisations and terminations of the sceNet libraries. 2013-07-15 17:55:00 -04:00
Henrik Rydgard
1a6bb7643b Add some sceNetInet stubs (used by pspradio) 2013-07-09 14:06:01 +02:00
Henrik Rydgard
a29a4fe7e9 Add some missing NIDs (sceNetAdhocDiscover) 2013-07-09 14:06:01 +02:00
Unknown W. Brackets
6bd5257791 Clean up handler management in sceNet.
Add 0, add 1, remove 0, add.. should be 0, not 1.
Also, undefined behavior on x = x > 0 ? --x : 0;
2013-07-07 19:16:25 -07:00
The Dax
b989292c7c Fix typo in __UpdateAdhocctlHandlers and remove stray carriage return. 2013-06-20 03:20:10 -04:00
The Dax
c5dfccd55d Implement more sceNet and sceHttp stubs.
List includes:
sceNetApctlAddHandler
sceNetApctlDelHandler
sceNetApctlInit
sceNetApctlTerm
sceNetInetInit
sceNetInetTerm
sceHttpInit
sceHttpEnd
2013-06-20 03:15:07 -04:00
The Dax
cf790de2ce Switch handlers from std::vector to std::map, add a max handler count, and return an error if too many handlers exist. 2013-06-17 23:37:36 -04:00
The Dax
b5a2c0d8c1 Fix style error. 2013-06-17 19:27:59 -04:00
The Dax
196d1dbf46 Remove unnecessary include. 2013-06-17 19:03:56 -04:00
The Dax
f0072380aa Fix handler reschedule. Pretty sure these should reschedule after being executed. 2013-06-17 18:56:52 -04:00
The Dax
4d3cd4d235 Add support for multiple adhocctl handlers, and clean up how we call them slightly. 2013-06-17 18:50:38 -04:00