gambatte-libretro
gambatte-libretro copied to clipboard
Error opening socket: No error
Gambatte currently fails to create sockets on my friend's Windows machine because the socket checking code checks if fds are negative. On Windows, fds can be negative so you have to check if it's INVALID_SOCKET.
http://www.sockets.com/winsock.htm#Deviation_DataType https://github.com/libretro/gambatte-libretro/blob/master/libgambatte/libretro/net_serial.cpp#L116
I'm unsure how much other code is hit by this error.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.