Commit Graph

2446 Commits

Author SHA1 Message Date
095b9de85e Fixes issue 2917 and possibly others like 5232 2012-03-06 23:10:04 +13:00
fb062c4a0b Free ECC data. 2012-03-01 21:23:52 +13:00
6eb2cb2666 Merge branch 'master' into wii-network 2012-02-27 22:36:41 -08:00
6ccb30ac5f Forced timeout. 2012-02-28 19:17:05 +13:00
1d16785590 Implement ES_Sign and GetDeviceCert and others 2012-02-28 19:17:04 +13:00
57e3fbed91 Debug vprintf! 2012-02-28 19:17:02 +13:00
fea02b8dca Add SSL debug, everyone needs it! 2012-02-28 19:17:01 +13:00
e5b7e81f44 openssl: enable ec/dsa and rearrange files in Externals a bit. 2012-02-27 00:51:50 -08:00
9866cae4ff net: create directory for config file if it doesn't exist. 2012-02-23 12:48:54 -08:00
f73c82c232 net: add inet_ntop 2012-02-23 12:38:11 -08:00
1c2004fe5d Wrong japan game value. 2012-02-20 20:26:48 +00:00
c42a6f156e Added Korean handling of settings file.
Fixes issue 5215.
2012-02-19 23:02:01 +00:00
b9aeba7f7c Make SO_POLL work on Linux (and probably better on Windows :P) 2012-02-19 19:39:47 +01:00
31788791e8 Logging messages change errno, save the return value from recv before logging 2012-02-19 19:39:46 +01:00
81d7eefd6a Correctly map Wii/native socket level and optname for GETSOCKOPT 2012-02-19 19:37:56 +01:00
87456054d6 Move the sockopt mapping to the toplevel (needed for GETSOCKOPT too) 2012-02-19 19:37:56 +01:00
2c9109936c Linux uses EAGAIN instead of EWOULDBLOCK (only used on Windows) 2012-02-19 19:37:56 +01:00
ef4ac51170 Added some error comments. 2012-02-19 14:29:57 +13:00
40c9f481df Fixed some warnings, removed unneeded linux ifdefs 2012-02-19 13:06:05 +13:00
959d116530 Handle SSL_ERROR_WANT_WRITE too in the NET_SSL_READ ioctl handler (+ cleanup) 2012-02-18 23:25:42 +01:00
5fe49e4185 Implement SO_SETSOCKOPT for POSIX systems 2012-02-18 19:01:22 +01:00
6026f245c8 Make getNetErrorCode more generic between Windows and POSIX systems. Might break Windows build. 2012-02-18 17:51:06 +01:00
6cc02747a0 Implement SO_FCNTL correctly on Linux 2012-02-18 17:28:53 +01:00
60b8227df2 Display errno in Linux getNetErrorCode defautl case 2012-02-18 17:28:31 +01:00
77effd8913 SO_POLL Linux implementation 2012-02-18 10:22:28 +01:00
d5dd80931a getNetErrorCode on Linux should not display anything if ret >= 0 2012-02-18 10:22:00 +01:00
40e6e9b9fa Fix Linux build 2012-02-18 09:50:21 +01:00
ede0889e3d Merge branch 'wii-network' of https://code.google.com/p/dolphin-emu into wii-network 2012-02-18 21:20:35 +13:00
43954d20c4 Fixed Pokemon Battle Something, used two unimplemented SSL funcs. 2012-02-18 21:18:48 +13:00
570a12dcd1 Fix ICMP ping. Obey timeout. 2012-02-17 00:51:33 -08:00
2d5e80d36c Added shutdown command to fs, but did not implement 2012-02-17 21:50:00 +13:00
7fa0ffa6d5 Added getpeername 2012-02-17 20:50:15 +13:00
5176335546 Regression fix, temp fix for Fifa 11 2012-02-16 18:57:43 +13:00
87810d8945 INETATON: 4 was a guess, 1 is correct. 2012-02-15 21:58:39 +13:00
8f74f3dc7d Possible "*THE* fix" 2012-02-15 21:34:47 +13:00
f81524e827 shorten ssl logs too 2012-02-12 23:23:00 -08:00
4e62015e9a implement ICMP stuff (on windows). should be very similar on *nix...might just be able to compile the current code :) 2012-02-12 23:22:51 -08:00
2046fb0457 remove an extraneous variable 2012-02-12 15:13:54 -08:00
831b6b947b net: change some logging to not be so incredibly log that it doesn't fit on a 30" screen. 2012-02-12 14:53:14 -08:00
5a61a499a2 fixup IOCTL_SO_GETHOSTBYNAME. Fixes SSBB crash. 2012-02-12 14:49:40 -08:00
6b583ab00e add IOCTLV_WD_GET_INFO
-forgot to add changes to header
2012-02-10 14:58:09 -08:00
68e7f0d170 add IOCTLV_WD_GET_INFO 2012-02-10 14:28:33 -08:00
35d573fd79 fix regression 2012-02-10 12:01:47 -08:00
f412227cd5 show a wifi AP :)
the connection test fails (freezes), though. strange, since it will work with net config settings from a real nand...
2012-02-10 03:28:26 -08:00
8ddfff6425 log params to /net/wd/command 2012-02-10 01:59:18 -08:00
bad1c7e67a fixup net/ncd/manage 2012-02-09 23:37:50 -08:00
ac0883044e move SettingsHandler to Common lib 2012-02-09 21:04:07 -08:00
c8129bc802 fixup net/kd/time 2012-02-09 10:21:26 -08:00
c9dfcf8cf7 Add Support for Wii Motion Plus INSIDE Wii Remotes on Mac OS X.
This patch makes a few changes necessary for support for the new Wii
Remotes:

- For all OSes:
  - Adds a new bool member variable m_motion_plus_inside to identify
    the new Wii Remotes.
  - If we have a new Wii Remote, use a head byte of 0xa2. We could
    just change this behavior for all Wii Remotes, but an existing
    comment suggests that would break 3rd party Wii Remotes.

- On Mac OS X:
  - Expand the search criteria for the bluetooth scan. This is
    necessary because the new Wii Remote identifies with minor class
    kBluetoothDeviceClassMinorPeripheral2Gamepad, but the old Wii
    Remotes use minor class
    kBluetoothDeviceClassMinorPeripheral2Joystick (1).
  - Send commands on the interrupt channel, not the control
    channel. The new Wii Remotes require this; old ones are compatible
    with this. Note: 3rd party Wii Remots are untested with this
    change; the hope is they are still functional.
  - Get the name of the bluetooth device and see if it ends in
    "-TR". If so, set a member variable so we know it's the new kind
    of Wii Remote.

This should fix issue 5011 for Mac OS X:
http://code.google.com/p/dolphin-emu/issues/detail?id=5011
2012-02-09 11:42:42 -08:00
8f83a89416 Removed the busy-wait from DSP LLE on thread. Reduces the CPU usage in this scenario by around a third. 2012-02-05 17:18:11 +11:00