Commit Graph

1100 Commits

Author SHA1 Message Date
Arisotura d59a52df1f * lay base for UDP
* only handle DNS when it's destined to our internal DNS server
2019-03-09 22:14:34 +01:00
Arisotura 9485a4e8c0 properly close sockets, so that they can be reused 2019-03-09 02:30:05 +01:00
Arisotura 7d2b3bbf76 fix TCP checksum for odd lengths 2019-03-09 02:04:01 +01:00
Arisotura cde1963e63 better TCP sequence numbers 2019-03-09 01:34:57 +01:00
Arisotura f3f4613b4e somewhat better TCP
still not perfect
2019-03-09 00:47:55 +01:00
Arisotura e026574901 receive data, too 2019-03-06 18:21:12 +01:00
Arisotura 012a04021c send shit.
into the void for now.
2019-03-06 17:07:07 +01:00
Arisotura 349322b94c less shitty code.
also, initiating TCP connection!
2019-03-05 15:01:23 +01:00
Arisotura 623b0ea2e0 * begin work on actual socket shito
* move UDP-frame finishing to separate function
2019-03-05 14:06:24 +01:00
Arisotura 950170df6d finish (halfassed) DNS support. 2019-03-05 13:24:42 +01:00
Arisotura a88f0b6792 start work on DNS 2019-03-05 01:09:23 +01:00
Arisotura 909b29042c start making things nicerer 2019-03-05 00:34:30 +01:00
Arisotura cfaf5a0f3f rework wifi settings dialog.
fail gracefully if pcap isn't loaded successfully.
2019-03-04 23:55:39 +01:00
Arisotura 3f82c7dcc1 make melonDS build again 2019-03-04 23:17:03 +01:00
Arisotura 720a5fbea5 fixor Platform.cpp
also remove debug shit that accidentally slipped in
2019-03-04 22:24:28 +01:00
Arisotura 0392f8736b nearly finish the split. 2019-03-04 21:11:25 +01:00
Arisotura 8448e6bea0 take it further 2019-03-04 20:58:13 +01:00
Arisotura 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
Arisotura 7a0c1af30b more progress on LANMAGIC 2019-02-24 13:24:42 +01:00
Arisotura 60391a8a1b LANMAGIC: get somewhere.
it works, but fucks up connections on the host.
2019-02-24 11:59:43 +01:00
Arisotura c135670b9c complete DHCP. ARP for the DHCP server. feed in proper DNS settings. 2019-02-23 18:50:58 +01:00
Arisotura 93d51b0cbc start work on non-direct mode. reply to DHCP discover frame. 2019-02-23 13:41:51 +01:00
Arisotura 0550d22833 hook LAN shito. open proper pcap device. etc 2019-02-21 03:44:22 +01:00
Arisotura f9822cdd44 save LAN settings 2019-02-21 03:06:37 +01:00
Arisotura 023a1ba200 list adapters, display their info 2019-02-21 02:45:01 +01:00
Arisotura 616f2b494b make it somewhat functional. move wifi socket bind setting to wifi settings dialog. 2019-02-21 02:12:33 +01:00
Arisotura 81eae0e3ea add base for wifi settings dialog 2019-02-21 01:58:03 +01:00
Arisotura 78c259121b import some sekrit code that was never committed before 2019-02-21 01:47:35 +01:00
Arisotura 2d41291ee9 pack your shit, kids, we're moving 2019-02-21 01:32:28 +01:00
Arisotura 2340be886c oh well. 2019-02-21 01:21:04 +01:00
Arisotura 6743ea0639 start adding LAN interface shito 2019-02-21 01:20:10 +01:00
Arisotura d2d7c20208 fix WAV loading for files with more than one channel (fixes #351) 2019-02-16 04:14:15 +01:00
Arisotura 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
Arisotura 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
Arisotura b0efde8bf7 also, update copyright name 2019-01-22 15:58:29 +01:00
Arisotura 47a3d2b49a blarg. setting it to 4 breaks Millionaire 2019-01-22 15:47:32 +01:00
StapleButter adc6da5f21 tweak cached memory timings.
fixes things, but needs watching closely for other things that could break.
2019-01-18 20:29:12 +01:00
StapleButter d2701a0401 small optimization: avoid calling InterleaveSprites() if no sprites were drawn. 2019-01-06 23:16:10 +01:00
StapleButter 0c4fd1bd5e blop 2019-01-06 19:44:45 +01:00
StapleButter 214f9797fb change save type for Spongebob Atlantis Squarepantis (EEPROM 4k).
fixes #314
2019-01-06 16:33:48 +01:00
StapleButter 75e30d892c
Merge pull request #357 from John-Gee/master
Fixed checking for build type
2019-01-06 16:19:40 +01:00
John-Gee 5d364789af Fixed checking for build type 2019-01-06 06:00:06 -08:00
StapleButter 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
StapleButter dbfb67fe8f
Merge pull request #356 from Zapeth/master
Use workaround for GCC incompatibilities with MSVC aggregate returns
2019-01-06 12:27:16 +01:00
Zapeth 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
StapleButter 4b6ebd0532 HARK HARK HARK HARK 2019-01-05 13:03:25 +01:00
StapleButter 669247e8c8 redesign main emu loop to use timestamps instead of being a trainwreck
* cleaner code
* faster in some cases
* more accurate (on-demand compensation for timers and GPU)
* less prone to desyncs
* overall betterer
2019-01-05 05:28:58 +01:00
StapleButter 90f2c0834e add PoC ARM9 instruction cache logic. not actually in use, but it's there as a reference (and if we ever need it). 2019-01-04 21:47:06 +01:00
StapleButter 1e35d18ce6 GX: polygon pipeline doesn't get as far if the polygon is rejected by culling/clipping. 2019-01-03 20:30:30 +01:00
StapleButter 4601636788 GX: always latch rendering engine registers even when not flushing (similar to hardware). 2019-01-03 15:29:25 +01:00