aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/Platform.cpp
Commit message (Collapse)AuthorAge
* actual DSi camera support (#1520)Arisotura2022-10-02
| | | basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work
* merge local_wifi (#1516)Arisotura2022-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * attempt at betterer wifi * add preliminary sync mechanism * fix gaps in wifi implementation * move local-MP comm to its own module instead of cramping Platform.cpp * remove some stupid cruft * as you wish, Sorer (starting work on shared-memory system) * shared-memory IPC that actually works (albeit Windows-only for now) * shut up logging from NULL writes on ARM7 (ffs Nintendo learn to code) * get this somewhat good * leave client sync mode when host deauths. makes download play actually work. * start implementing MP-comm error handling * * add MP-reply error counters * feeble attempt at fixing slowdown/desync/etc problems * somewhat better exchange/sync method * * 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 * remove a bunch of cruft * 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. * more graceful handling of disconnects * deal with FIFO overflow more gracefully * BAHAHAHAHAHAHAHAHHHH THE SNEAKY BASTARDS so, when the DS receives a beacon with the right BSSID that beacon's timestamp is copied to USCOUNTER * attempt at making the connection process smoother for weird games * * begin adding POWCNT2, only applies to wifi for now * begin work on wifi scheduler * implement the shitty timers * add the RF wakeup thing * begin work on receiving frames. for now it can just receive melonAP beacons, but hey, it's a start. * add enough TX functionality that online wifi is a possibility again. * there are problems with this scheduler thing. committing it anyway * kind of a rollback... we're gonna work out a compromise on this, I guess * don't transmit shit if RXCNT.bit15 isn't set * move RX-finish to its own function. more accurate filtering. implement RXFILTER. * remove some cruft * fix some of the shittiness when trying to connect more than two players * fix some more shittiness * fix more wifi shittiness (mainly don't try to receive shit while sending a frame) * run wifi every 8µs. improves performance. * fix IRQ14/IRQ15 * make this work under Linux * Make it work on macOS, for now using a custom sem_timedwait implementation. If anyone knows anything about mach ports and have an idea for how to make this work using mach IPC, please do let me know. * 25ms seems like a good timeout * begin work on proper multiplayer UI shito. for now, determine a global instance ID, and derivate the system MAC from it. remove 'randomize MAC' option. * finish removing RandomizeMAC * lay groundwork for instance-unique config * work some on the UI... make it not labelled Fart * more UI work: make it explicit that some things are instance-unique * separate firmware files for multiplayer instances * make instances save to different save files, too * more UI work, make things somewhat less shitty * lay base for the multiplayer settings dialog * actually hook up most of that dialog * actually implement the fun audio settings * ensure all the wifi shit is properly savestated and reset. properly update timings for the wifi region when wifi is disabled. * add more fun labels * * ignore WEP frames if WEP is off * implement RX_LEN_CROP * fake enough of WEP processing to make Inazuma Eleven work * * do not copy more ROM banner data than actually needed * avoid trying to read out of bounds if the banner offset is bad * Fix oversight with the preferences action causing the build to fail on macOS Co-authored-by: Nadia Holmquist Pedersen <nadia@nhp.sh>
* nifi: Set SO_REUSEPORT on BSD and macOS to prevent creation of socket failingNadia Holmquist Pedersen2022-01-12
|
* update copyright headersArisotura2022-01-09
|
* Custom path support (#1333)Arisotura2022-01-07
| | | | | | | also including: * getting rid of shitty strings * all new, cleaner ROM handling code * base for DSi savestates * GBA slot addons (for now, memory cart)
* move 'randomize MAC' setting to firmware settings, and add setting for ↵Arisotura2021-11-19
| | | | | | changing the MAC. make things overall betterer.
* finally decouple Config from the core. baahhahahahahArisotura2021-11-18
|
* decouple more config shit from the core. bahahahArisotura2021-11-17
|
* remove some more shitty stringsArisotura2021-11-17
|
* * remove more Config dependencies from the coreArisotura2021-11-17
| | | | * also use less shitty strings
* decouple JIT from Config. bahahahahahArisotura2021-11-17
|
* DLDI/SD folder-sync apparatus (#1251)Arisotura2021-10-28
| | | guess we can finally have DLDI that isn't obtuse
* update copyright year and add missing GPL headersRSDuck2021-03-12
|
* Include winsock2.h before windows.hWaluigiWare642021-02-23
|
* Remove unneeded OpenGL loading function code (#1006)WaluigiWare642021-02-17
|
* use std::function in Thread_Create so we can revert back to using itRSDuck2021-02-11
|
* Improved SRAM performance (#925)Kimmy Andersson2021-01-09
| | | | | | | | | * Offload NDS SRAM writing to separate thread, debounce writes to two seconds after last flush or DeInit. * Fixed printf messages. * Fixes after CR. * Fixed potential portability issue with time_t
* Merge vram dirty trackingRSDuck2020-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit b463a05d4b909372f0cd1ad91caa0c77a25e5901 Author: RSDuck <rsduck@users.noreply.github.com> Date: Mon Nov 30 01:55:35 2020 +0100 minor fix commit ce73cebbdf5da243d7ebade82d8799ded9cd6b28 Author: RSDuck <rsduck@users.noreply.github.com> Date: Mon Nov 30 00:43:08 2020 +0100 fix dirty flags of BG/OBJ mappings not being reset commit fc5d73a6178e3adc444398bdd23de8314b5ca8f8 Author: RSDuck <rsduck@users.noreply.github.com> Date: Mon Nov 30 00:11:13 2020 +0100 use flat vram for gpu2d everywhere commit 34ee9fe2bf04fcfa2a5a1c8d78d70007e606f1a2 Author: RSDuck <rsduck@users.noreply.github.com> Date: Sat Nov 28 19:10:34 2020 +0100 mark VRAM dirty for display capture commit e8778fa2f429c6df0eece19d6a5ee83ae23a0cf4 Author: RSDuck <rsduck@users.noreply.github.com> Date: Sat Nov 28 18:59:31 2020 +0100 use flat VRAM for textures and texpals also skip rendering if nothing changed and a bunch of fixes commit 53f2041e2e1a28b35702a2ed51de885c36689f71 Author: RSDuck <rsduck@users.noreply.github.com> Date: Fri Nov 27 18:29:56 2020 +0100 use vram dirty tracking for extpals also preparations to take this further commit 4cdfa329e95aed26d3b21319c8fd86a04abf20f7 Author: RSDuck <rsduck@users.noreply.github.com> Date: Mon Nov 16 23:32:22 2020 +0100 VRAM dirty tracking
* make platform objects typesafer and add mutexRSDuck2020-11-09
|
* hehArisotura2020-09-04
|
* fix config file lookup. fixes #717Arisotura2020-08-24
|
* fix unterminated string + remove some JIT loggingRSDuck2020-07-29
|
* Use GenericConfigLocation so files will be placed correctly in non-portable ↵Nadia Holmquist Pedersen2020-06-03
| | | | Windows builds
* Fix paths on WindowsNadia Holmquist Pedersen2020-06-03
|
* Handle open flags more correctlyNadia Holmquist Pedersen2020-06-03
|
* Fix _dup on windowsNadia Holmquist Pedersen2020-06-03
|
* Fix indentationNadia Holmquist Pedersen2020-06-03
|
* Handle r+ file modeNadia Holmquist Pedersen2020-06-03
|
* Merge remote-tracking branch 'remotes/upstream/master' into feature/qt-platformNadia Holmquist Pedersen2020-06-03
|\ | | | | | | | | | | | | # Conflicts: # src/frontend/qt_sdl/CMakeLists.txt # src/frontend/qt_sdl/Platform.cpp # src/frontend/qt_sdl/main.cpp
| * finish the wifi dialogArisotura2020-05-28
| | | | | | | | also guess who the idiot is who forgot to add their files
| * get the OpenGL renderer going.Arisotura2020-05-25
| | | | | | | | | | | | sorta. (also make the blackmagic_II branch obsolete in the process)
| * reimplement StopArisotura2020-05-20
| |
| * keep the ugliness confined in Platform.cppArisotura2020-05-19
| |
| * minor fixArisotura2020-05-17
| |
* | Only initially open files as writable if they actually should be.Nadia Holmquist Pedersen2020-05-06
| |
* | Fix crash with nonexistent config directory or writable files.Nadia Holmquist Pedersen2020-05-06
| |
* | Use Qt abstractions for file I/O and threading on both Windows and Linux.Nadia Holmquist Pedersen2020-05-06
| |
* | Use Qt abstractions instead of glib's for paths on LinuxNadia Holmquist Pedersen2020-05-06
|/
* get some of the shit going, I guessArisotura2020-04-27
atleast the emuthread is going and we have its control system down and other fun shit, too