Commit Graph

2065 Commits

Author SHA1 Message Date
Arisotura 906a87e84d kind of a rollback... we're gonna work out a compromise on this, I guess 2022-09-03 12:11:13 +02:00
Arisotura 705355d12e there are problems with this scheduler thing. committing it anyway 2022-09-03 00:04:30 +02:00
Arisotura d04879298c add enough TX functionality that online wifi is a possibility again. 2022-09-02 22:43:13 +02:00
Arisotura e51b8d9997 begin work on receiving frames. for now it can just receive melonAP beacons, but hey, it's a start. 2022-09-02 00:44:58 +02:00
Arisotura ab084fcf08 add the RF wakeup thing 2022-09-01 23:14:02 +02:00
Arisotura f380a53404 implement the shitty timers 2022-09-01 22:58:40 +02:00
Arisotura cc68017f52 * begin adding POWCNT2, only applies to wifi for now
* begin work on wifi scheduler
2022-09-01 22:24:20 +02:00
Arisotura fb73b80674 attempt at making the connection process smoother for weird games 2022-08-28 16:41:53 +02:00
Arisotura 22d9f3edad BAHAHAHAHAHAHAHAHHHH
THE SNEAKY BASTARDS

so, when the DS receives a beacon with the right BSSID

that beacon's timestamp is copied to USCOUNTER
2022-08-28 12:25:37 +02:00
Arisotura 67630e3913 deal with FIFO overflow more gracefully 2022-08-27 13:37:56 +02:00
Arisotura b858114c48 more graceful handling of disconnects 2022-08-27 13:17:15 +02:00
Arisotura 47bc7bb323 set wifi time interval to 34 cycles instead of 33. games seem sensitive to the general timing of wifi vs the rest of the system, and this seems to make things run better, atleast until I rewrite this to use a proper scheduler. 2022-08-27 11:42:43 +02:00
Arisotura 728eb38b88 remove a bunch of cruft 2022-08-26 23:40:59 +02:00
Arisotura f0452ca149 * when entering power-saving mode, be sure to finish transferring the current frame first
* fix misc bug due to old cruft leftover

makes for a more stable connection
2022-08-26 00:43:53 +02:00
Arisotura da4acab0bd somewhat better exchange/sync method 2022-08-25 00:36:31 +02:00
Arisotura 8c4b756068 * add MP-reply error counters
* feeble attempt at fixing slowdown/desync/etc problems
2022-08-21 15:08:20 +02:00
Arisotura 639ed7b150 start implementing MP-comm error handling 2022-08-21 13:37:31 +02:00
Arisotura 5db8499787 leave client sync mode when host deauths. makes download play actually work. 2022-08-21 00:51:28 +02:00
Arisotura 40ceb207e9 get this somewhat good 2022-08-20 19:53:05 +02:00
Arisotura 4f7b4e912a shut up logging from NULL writes on ARM7 (ffs Nintendo learn to code) 2022-08-20 12:00:23 +02:00
Arisotura 5a10807f91 shared-memory IPC that actually works (albeit Windows-only for now) 2022-08-20 02:29:42 +02:00
Arisotura d8b735822a as you wish, Sorer
(starting work on shared-memory system)
2022-08-19 22:56:01 +02:00
Arisotura 5f77ad3394 remove some stupid cruft 2022-08-19 18:38:45 +02:00
Arisotura 827c1e6436 move local-MP comm to its own module instead of cramping Platform.cpp 2022-08-18 23:28:52 +02:00
Arisotura ab15d7402a attempt at betterer wifi
* add preliminary sync mechanism
* fix gaps in wifi implementation
2022-08-18 19:47:01 +02:00
Nadia Holmquist Pedersen b5073e6014 lol oops 2022-09-18 23:39:19 +02:00
Nadia Holmquist Pedersen 993928095a Update repo URL in README.md 2022-09-14 19:02:22 +02:00
Rayyan Ansari 61de50069b Fix handling of utf16 title strings in ROMInfoDialog
Title strings should be null-terminated.
Read the string up until this point instead of reading the full 128 characters.
(Also fix the .ui file of ROMInfoDialog to prevent it from being too wide.)
2022-09-02 11:57:49 +01:00
Rayyan Ansari c3bd1d2e83
Fix reading banner from homebrew ROMs
Some homebrew ROMs do not have a banner, and use a null value to indicate this.
Do not attempt to read the banner when this is the case.
2022-09-02 11:47:12 +01:00
Nadia Holmquist Pedersen 9d56055afb mac-libs.rb: Make fallback rpaths less stupid, also shut up code
signature warnings
2022-08-31 21:39:32 +02:00
Rayyan Ansari 43b6ef1f60 Fix imports in mac-universal.py again 2022-08-31 18:35:10 +01:00
Rayyan Ansari 686aecb36c Make nested directories in mac-universal.py 2022-08-31 18:33:00 +01:00
Rayyan Ansari 21194375f8 Fix imports in mac-universal.py 2022-08-31 18:28:33 +01:00
Rayyan Ansari 926f200329 Find correct pkg-config 2022-08-31 18:26:36 +01:00
Rayyan Ansari 08f5a2aa82 Fix CMake prefixes 2022-08-31 18:06:19 +01:00
Rayyan Ansari 76c9340920 Create parent directories as well 2022-08-31 17:57:31 +01:00
Rayyan Ansari 80f76ef34d Fix dependencies between jobs 2022-08-31 17:56:18 +01:00
Rayyan Ansari cac1ec8fbd Fix macOS runner cleanup 2022-08-31 17:53:09 +01:00
Rayyan Ansari d1dbb1f51e Add self-hosted macOS ARM64 Universal Binary runner
Adds a workflow file for building a universal binary with a self hosted runner.
Also adds a Python script to assist with creating the universal binary
2022-08-31 17:50:03 +01:00
RSDuck ce68e883c4 for all people who hate speed, here you can build melonDS again 2022-08-22 00:44:48 +02:00
RSDuck 32609bbc98 invalidate JIT blocks in ARM7 WVRAM when it's remapped 2022-08-22 00:39:08 +02:00
RSDuck d56219c33c fix SCFG_MC cartridge inserted bit 2022-08-21 22:11:22 +02:00
RSDuck 22b312bc43 implement 8- and 16-bit DSi AES register accesses
fixes NAND access through Godmode9i
2022-08-21 21:31:11 +02:00
RSDuck 4c97731468 fix last commit for when no SD is inserted 2022-08-21 19:55:23 +02:00
RSDuck 334fc1717d fix DSi SD newly inserted/removed IRQ bits
we don't support SD card hot swapping and SDIO wifi is always inserted, so those bits are always zero
special thanks to Evie
2022-08-21 19:52:23 +02:00
RSDuck f0657e1a9b basic implementation of SNDExCnt
isn't hooked up to the DSP or microphone though
fixes memory abort in TwilightMenu
2022-08-21 16:40:30 +02:00
Nadia Holmquist Pedersen 3ad5f3e22e Fix Windows debug builds not having a console because something, probably some library's CMake script, sets -mwindows when it shouldn't. 2022-08-17 20:04:43 +02:00
RSDuck 5baf5fe77b a bit of refactoring around ScreenHandler
also gets rid of that annoying warning about const char* being converted to char*
2022-08-05 20:22:10 +02:00
Nadia Holmquist Pedersen 2ba7f961a6 Apply strong focus policy to joystick mapping button as well. Fixes #1491 2022-07-31 21:18:08 +02:00
Valtýr Kári Daníelsson 98903f8076 fixes editor warnings about undefined types in a bunch of files 2022-07-27 18:55:59 +02:00