Commit Graph

61 Commits

Author SHA1 Message Date
Unknown W. Brackets 7bbbf4d4b6 Typo. 2013-12-14 11:34:06 -08:00
The Dax cf4c7a5d8c Fix bug where networking option wasn't saved to the ini file, and default to false. If it's on by default, Peace Walker and other games are broken for now. 2013-12-04 17:28:20 -05:00
Henrik Rydgard c83a7e0029 Parse mac addresses in one place. 2013-11-28 12:38:45 +01:00
Kyhel a4135dadbc Added MAC address from config 2013-11-25 04:46:03 +01:00
Kyhel 0f7f90d0ac Added windows changes for a unified build. Added Dialog fix which
prevented from saving after going online. Added windows « errno » use
redefinition to suit WSAGetLastError and protocl needs.
2013-11-25 02:57:08 +01:00
Igor Calabria 553f1d4e4e Implements a bunch of adhoc functions 2013-10-29 21:39:45 +00:00
raven02 b95901e56f Wrap sceNetInit() 2013-10-06 00:58:02 +08:00
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
The Dax f5af0bbc54 Fix hang in Pangya, again. 2013-06-17 08:52:38 -04:00
The Dax 8621b0e637 Fix some more styling issues. 2013-06-17 08:43:29 -04:00
The Dax 35f1115191 Fix compilation error. 2013-06-17 08:32:13 -04:00
The Dax 2c2d3e5362 Fix possible crashes and some spacing errors. 2013-06-17 08:15:43 -04:00
The Dax 9bb96a63f5 Implement more sceNetStubs. Should fix most games that hang when messing with WLAN/Adhoc(not infrastructure) stuff. Also make the code style closer to the Dolphin/PPSSPP guidelines. 2013-06-17 08:04:31 -04:00
Henrik Rydgard b60a2fb819 x360 temporary right stick hard bind now configurable in ini file. 2013-06-11 21:29:55 +02:00
The Dax 29942b2228 Fix logging copy/paste error in sceNetAdhocPdpCreate. 2013-06-05 20:16:42 -04:00
The Dax fadea64ebf Fix sceNetEtherNtostr. 2013-06-04 01:53:32 -04:00
The Dax b02dbe3f5f Add a multitude of sceNet* stubs.
I tried this in an attempt to fix the Peace Walker hangs, but it didn't seem to help, so it must be related to something else.
2013-06-04 00:39:03 -04:00
The Dax cda9881cb9 Fix some logging typos and a comment typo. 2013-05-31 12:59:39 -04:00
Unknown W. Brackets cdacdee030 Match syscall names to nids ot be safe.
Don't want any more mistakes like the sceVaudio one.
2013-05-19 22:12:39 -07:00
Unknown W. Brackets 9b143fc789 Add some net-related syscall entries. 2013-05-19 22:12:38 -07:00
Henrik Rydgard e8215b1e10 Report corrupt elfs (if reporting enabled). Some stubs. 2013-03-25 00:08:46 +01:00
Henrik Rydgard 60d7ac3543 Stubs and error checks. Fix a bad NID in sceUmd. 2013-03-24 22:41:42 +01:00
Henrik Rydgard 1f5b6b7f59 Logging changes and cleanup 2013-03-15 21:01:57 +01:00
Henrik Rydgard 611fb3536f Try to use glDrawArrays in more situations, saving us a buffer. Misc. 2013-01-20 21:52:54 +01:00
TMaul f40177ada8 More stubs and clean up
From various games
2012-12-13 11:40:55 +00:00
TMaul b21a89e56e Add sceRtcGetTime64_t
and define sceNetAdhocPollSocket
2012-12-13 11:40:54 +00:00