Commit Graph

288 Commits

Author SHA1 Message Date
9485a4e8c0 properly close sockets, so that they can be reused 2019-03-09 02:30:05 +01:00
7d2b3bbf76 fix TCP checksum for odd lengths 2019-03-09 02:04:01 +01:00
cde1963e63 better TCP sequence numbers 2019-03-09 01:34:57 +01:00
f3f4613b4e somewhat better TCP
still not perfect
2019-03-09 00:47:55 +01:00
e026574901 receive data, too 2019-03-06 18:21:12 +01:00
012a04021c send shit.
into the void for now.
2019-03-06 17:07:07 +01:00
349322b94c less shitty code.
also, initiating TCP connection!
2019-03-05 15:01:23 +01:00
623b0ea2e0 * begin work on actual socket shito
* move UDP-frame finishing to separate function
2019-03-05 14:06:24 +01:00
950170df6d finish (halfassed) DNS support. 2019-03-05 13:24:42 +01:00
a88f0b6792 start work on DNS 2019-03-05 01:09:23 +01:00
909b29042c start making things nicerer 2019-03-05 00:34:30 +01:00
cfaf5a0f3f rework wifi settings dialog.
fail gracefully if pcap isn't loaded successfully.
2019-03-04 23:55:39 +01:00
3f82c7dcc1 make melonDS build again 2019-03-04 23:17:03 +01:00
720a5fbea5 fixor Platform.cpp
also remove debug shit that accidentally slipped in
2019-03-04 22:24:28 +01:00
0392f8736b nearly finish the split. 2019-03-04 21:11:25 +01:00
8448e6bea0 take it further 2019-03-04 20:58:13 +01:00
1e108ad7fb start differenciating between direct and indirect LAN modes.
indirect mode will use regular sockets and not pcap.
2019-03-04 20:52:29 +01:00
7a0c1af30b more progress on LANMAGIC 2019-02-24 13:24:42 +01:00
60391a8a1b LANMAGIC: get somewhere.
it works, but fucks up connections on the host.
2019-02-24 11:59:43 +01:00
c135670b9c complete DHCP. ARP for the DHCP server. feed in proper DNS settings. 2019-02-23 18:50:58 +01:00
93d51b0cbc start work on non-direct mode. reply to DHCP discover frame. 2019-02-23 13:41:51 +01:00
0550d22833 hook LAN shito. open proper pcap device. etc 2019-02-21 03:44:22 +01:00
f9822cdd44 save LAN settings 2019-02-21 03:06:37 +01:00
023a1ba200 list adapters, display their info 2019-02-21 02:45:01 +01:00
616f2b494b make it somewhat functional. move wifi socket bind setting to wifi settings dialog. 2019-02-21 02:12:33 +01:00
81eae0e3ea add base for wifi settings dialog 2019-02-21 01:58:03 +01:00
78c259121b import some sekrit code that was never committed before 2019-02-21 01:47:35 +01:00
2d41291ee9 pack your shit, kids, we're moving 2019-02-21 01:32:28 +01:00
2340be886c oh well. 2019-02-21 01:21:04 +01:00
6743ea0639 start adding LAN interface shito 2019-02-21 01:20:10 +01:00
d2d7c20208 fix WAV loading for files with more than one channel (fixes #351) 2019-02-16 04:14:15 +01:00
86b894ca71 change LidCommand to HotkeyMask so we can use it for other hotkeys without needing a billion variables 2019-01-24 21:28:58 +01:00
4bd96207fe standardize way to detect whether a joystick button was just pressed
(paving the way for more hotkeys)
2019-01-24 03:01:47 +01:00
b0efde8bf7 also, update copyright name 2019-01-22 15:58:29 +01:00
64ab8302cb pause audio/mic devices when they're not needed.
fixes potential pop when starting emulator (due to playing uninitialized audio buffer).
2019-01-06 14:22:14 +01:00
7630e2d9db Use workaround for GCC incompatibilities with MSVC aggregate returns
Fixes crash on MinGW builds when ID2D1RenderTarget::GetSize() is called
2019-01-06 12:03:01 +01:00
172c2eb229 blfdkgg. I'm a derp.
fix potential buffer overflow.
2019-01-03 13:21:21 +01:00
a4593a8f58 also, detect bad old romlist.bin and warn the user. 2018-12-31 04:54:17 +01:00
2fd913aff2 add 'window size' menu to set the window to an integer size 2018-12-30 21:07:09 +01:00
52d783e066 might want to update that when hotplugging joysticks, too 2018-12-30 13:43:59 +01:00
15be25085f make it also be a thing under Windows 2018-12-30 01:49:47 +01:00
fc3952c981 libui/gtk: center windows 2018-12-30 01:17:50 +01:00
f9e143fc69 libui/gtk: add functions to uiWindow for setting/getting minimized/maximized state
remember if main window is maximized, avoid updating the saved size when it is
2018-12-30 01:07:25 +01:00
1cf49e0dbe make joystick hotpluggable 2018-12-30 00:27:12 +01:00
65c27c5c28 fix potential crashes in input config dialog when setting joystick buttons, by using uiQueueMain()
how could I not think of this? GTK is not thread safe.
2018-12-29 23:32:58 +01:00
63ae6bf8fb libui/windows: some work on hiDPI shit
still looks derpy but atleast the rendering and touchscreen aren't broken
2018-12-21 05:01:37 +01:00
59c715475d fix oversight regarding hotkey joystick buttons. also prevent triggering the lid command a billion times in a row with a joystick button. 2018-12-16 14:41:46 +01:00
a99ebf38db prevent crash if mic init fails 2018-12-16 14:18:59 +01:00
4a47bd6d53 make it even saferer 2018-12-16 00:39:14 +01:00
502d8c3fa0 avoid potential crash with EmuDirectory if we somehow got no argv or an empty path 2018-12-16 00:38:10 +01:00