Commit Graph

357 Commits

Author SHA1 Message Date
455c996170 finish removing RandomizeMAC 2022-09-15 21:44:24 +02:00
648bf9fa7f 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.
2022-09-15 21:22:10 +02:00
139fe5a045 25ms seems like a good timeout 2022-09-05 22:23:59 +02:00
d7284d5cb8 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.
2022-09-05 17:54:09 +02:00
d7f448daf1 make this work under Linux 2022-09-04 22:03:47 +02:00
a8667bc6dd fix some more shittiness 2022-09-04 11:22:45 +02:00
f41cfd70ab fix some of the shittiness when trying to connect more than two players 2022-09-04 02:00:12 +02:00
fb73b80674 attempt at making the connection process smoother for weird games 2022-08-28 16:41:53 +02:00
67630e3913 deal with FIFO overflow more gracefully 2022-08-27 13:37:56 +02:00
b858114c48 more graceful handling of disconnects 2022-08-27 13:17:15 +02:00
728eb38b88 remove a bunch of cruft 2022-08-26 23:40:59 +02:00
da4acab0bd somewhat better exchange/sync method 2022-08-25 00:36:31 +02:00
639ed7b150 start implementing MP-comm error handling 2022-08-21 13:37:31 +02:00
5db8499787 leave client sync mode when host deauths. makes download play actually work. 2022-08-21 00:51:28 +02:00
40ceb207e9 get this somewhat good 2022-08-20 19:53:05 +02:00
5a10807f91 shared-memory IPC that actually works (albeit Windows-only for now) 2022-08-20 02:29:42 +02:00
d8b735822a as you wish, Sorer
(starting work on shared-memory system)
2022-08-19 22:56:01 +02:00
827c1e6436 move local-MP comm to its own module instead of cramping Platform.cpp 2022-08-18 23:28:52 +02:00
ab15d7402a attempt at betterer wifi
* add preliminary sync mechanism
* fix gaps in wifi implementation
2022-08-18 19:47:01 +02:00
b5073e6014 lol oops 2022-09-18 23:39:19 +02:00
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
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
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
2ba7f961a6 Apply strong focus policy to joystick mapping button as well. Fixes #1491 2022-07-31 21:18:08 +02:00
f5c1094d03 Fix triggers being recognized as negative analog stick values when assigning an input if the axis is moved too slowly. 2022-07-07 23:18:56 +02:00
f85925fcd6 Add 3DS 16:10 aspect ratio and refactor GUI aspect ratio code 2022-05-23 16:59:50 +02:00
94b33c924e Modernize CMake build system (#1434)
These changes modernize the CMake build system to (hopefully) match newer best practices

* Library linking is simpler and more automatic because of using imported targets
* Multi-configuration builds should be supported (Ninja Multi-Config, Visual Studio, etc. generators)
* Clean up build options using cmake_dependent_option
* Let CMake do its job in more cases, like finding the math/dl libraries and detecting and enabling LTO support
* Remove platform-specific kludges like the Fedora/flatpak LTO workaround and a bunch of Windows stuff
* Simplify Windows static builds
* Consistent formatting
2022-05-21 19:54:55 +02:00
ed2121d7ec Accomodate top/bottom only lzyout when setting screen size 2022-04-20 15:50:01 +02:00
02b859ad9d Disable firmware overrides UI when override checkbox isn't checked 2022-03-28 00:55:18 +02:00
cce9de5ee1 BLARG 2022-03-08 14:42:02 +01:00
fe96944fc0 insert wacky commit message 2022-03-08 12:03:16 +01:00
2eec033c72 save battery levels to config 2022-03-07 21:08:54 +01:00
532b1c967a fix up the power management dialog 2022-03-07 21:08:54 +01:00
9394dde67a fix copyright headers 2022-03-07 21:08:54 +01:00
2569c67a13 Add support for changing the DS and DSi battery level
The DS battery level is configured via the SPI Power Management Device,
and the DSi's is configured via the I2C BPTWL. Add support for changing
these registers and add the "Power Management" dialog in the UI.
2022-03-07 21:08:54 +01:00
c66df57256 Implement MainRAM management dialog😁 (#1248)
* Implement MainRAM management dialog

* Modify RAMInfoDialog

- use emuThread to avoid a race condition.
- replace RAMUpdateThread to QTimer

Co-Authored-By: RSDuck <RSDuck@users.noreply.github.com>

* Update src/frontend/qt_sdl/RAMInfoDialog.cpp

small typo

Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com>

* Update src/frontend/qt_sdl/RAMInfoDialog.h

small typo

Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com>

* typo errors in RAMInfoDialog

Rrevious->Previous

* add new line to the end of the file

Co-authored-by: Rayyan Ansari <rayyan@ansari.sh>

* enable raminfo when cart is inserted

* Modify that only the 'value' item can be edited in RAMinfoDialog

* fix: function name incorrect error

* fix: function name incorrect error2

* fix: wrong way to get ram value

Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com>
Co-authored-by: Rayyan Ansari <rayyan@ansari.sh>
2022-03-06 22:33:11 +01:00
088d49b9cb macOS: Use Qt 6 by default 2022-03-06 20:12:20 +01:00
b1565ec87a macOS: Bump minimum version to 10.15 2022-03-06 20:06:11 +01:00
2af8e65f23 we prolly don't need to init SDL video, given we don't use it 2022-03-06 10:49:05 +01:00
f4f6f6dfc5 InputConfig: change Group Box titles to Labels
On GNOME, the Group Box's titles don't align with the text in the buttons.
This commit removes the Group Box titles and instead uses Labels to fix this.
2022-03-04 17:52:49 +00:00
2c21787f33 fix typo in enum for screen sizing (#1377) 2022-02-25 20:28:21 +01:00
550db94a87 Use enum for screen sizing 2022-02-25 16:35:21 +01:00
e3ad78e84f Allowing Swap screens hotkey to swap between displaying only top screen and only bottom screen. (#1283) 2022-02-25 15:58:31 +01:00
03b5c48088 lower window update rate if rendering too fast 2022-02-14 00:27:00 +01:00
915edd777e hopefully fix #1349 2022-01-24 12:16:39 +01:00
2bda2f127b nifi: Set SO_REUSEPORT on BSD and macOS to prevent creation of socket failing 2022-01-12 20:40:39 +01:00
dff8980a27 Merge branch 'master' of github.com:Arisotura/melonDS 2022-01-09 02:16:03 +01:00
35cc79787d update copyright headers 2022-01-09 02:15:50 +01:00
0a8f3c9344 Make the message when SDL2 fails to init more descriptive 2022-01-08 19:35:21 +01:00
10d7831917 can we, please, FINALLY, be done with this stupid issue 2022-01-08 12:53:06 +01:00