aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
Commit message (Collapse)AuthorAge
...
* | Account for the screen gap being scaled with the window sizeNadia Holmquist Pedersen2022-09-25
| | | | | | | | Fixes #1430
* | properly make the DSi NAND instance-uniqueArisotura2022-09-23
| |
* | remove Windows console shito we don't need anymoreArisotura2022-09-22
| |
* | 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>
* | lol oopsNadia Holmquist Pedersen2022-09-18
| |
* | Fix handling of utf16 title strings in ROMInfoDialogRayyan Ansari2022-09-02
| | | | | | | | | | | | 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.)
* | Fix Windows debug builds not having a console because something, probably ↵Nadia Holmquist Pedersen2022-08-17
| | | | | | | | some library's CMake script, sets -mwindows when it shouldn't.
* | a bit of refactoring around ScreenHandlerRSDuck2022-08-05
| | | | | | | | also gets rid of that annoying warning about const char* being converted to char*
* | Apply strong focus policy to joystick mapping button as well. Fixes #1491Nadia Holmquist Pedersen2022-07-31
| |
* | Fix triggers being recognized as negative analog stick values when assigning ↵Nadia Holmquist Pedersen2022-07-07
| | | | | | | | an input if the axis is moved too slowly.
* | Add 3DS 16:10 aspect ratio and refactor GUI aspect ratio codeNadia Holmquist Pedersen2022-05-23
| |
* | Modernize CMake build system (#1434)Nadia Holmquist Pedersen2022-05-21
| | | | | | | | | | | | | | | | | | | | | | 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
* | Accomodate top/bottom only lzyout when setting screen sizeNadia Holmquist Pedersen2022-04-20
| |
* | Disable firmware overrides UI when override checkbox isn't checkedNadia Holmquist Pedersen2022-03-28
| |
* | BLARGArisotura2022-03-08
| |
* | insert wacky commit messageArisotura2022-03-08
| |
* | save battery levels to configArisotura2022-03-07
| |
* | fix up the power management dialogArisotura2022-03-07
| |
* | fix copyright headersArisotura2022-03-07
| |
* | Add support for changing the DS and DSi battery levelRayyan Ansari2022-03-07
| | | | | | | | | | | | 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.
* | Implement MainRAM management dialog😁 (#1248)2jun02022-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | macOS: Use Qt 6 by defaultNadia Holmquist Pedersen2022-03-06
| |
* | macOS: Bump minimum version to 10.15Nadia Holmquist Pedersen2022-03-06
| |
* | we prolly don't need to init SDL video, given we don't use itArisotura2022-03-06
| |
* | InputConfig: change Group Box titles to LabelsRayyan Ansari2022-03-04
| | | | | | | | | | 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.
* | fix typo in enum for screen sizing (#1377)Brankale2022-02-25
| |
* | Use enum for screen sizingRSDuck2022-02-25
| |
* | Allowing Swap screens hotkey to swap between displaying only top screen and ↵ZackWeinstein2022-02-25
| | | | | | | | only bottom screen. (#1283)
* | lower window update rate if rendering too fastRSDuck2022-02-14
| |
* | hopefully fix #1349Arisotura2022-01-24
| |
* | nifi: Set SO_REUSEPORT on BSD and macOS to prevent creation of socket failingNadia Holmquist Pedersen2022-01-12
| |
* | Merge branch 'master' of github.com:Arisotura/melonDSArisotura2022-01-09
|\ \
| * | Make the message when SDL2 fails to init more descriptiveNadia Holmquist Pedersen2022-01-08
| | |
* | | update copyright headersArisotura2022-01-09
|/ /
* | can we, please, FINALLY, be done with this stupid issueArisotura2022-01-08
| |
* | fdsfdfdgdfgfgdfgArisotura2022-01-08
| |
* | explicitly eject the cart before a load with reset, preventing a spurious ↵Arisotura2022-01-08
| | | | | | | | | | | | cart-eject IRQ on startup also fix possible KEY1 issues when using internal BIOS
* | 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)
* ScreenPanelNative: Don't try to render the framebuffer if the emulator is ↵Nadia Holmquist Pedersen2021-12-09
| | | | | | not actually active. This fixes an issue where the window draws with a gray background in macOS, and is see-through on Wayland-based desktops.
* Manually center the window after setting its size on macOSNadia Holmquist Pedersen2021-12-09
| | | | | | Qt's default window positioning is somewhat unreliable, and since we don't currently remember the window position, let's at least make sure that it's properly centered on open.
* Treat SDL_INIT_JOYSTICK fail as non-critical (#1277)andrigamerita2021-12-01
| | | Treating the fail of SDL_INIT_JOYSTICK as non-critical, because on some systems that SDL feature can for some reason fail. This leads to the emulator closing with a critical error, even though it would work perfectly fine with just a keyboard.
* remove remains of SDIOFileArisotura2021-11-21
|
* hopefully fix Qt6Arisotura2021-11-19
|
* move 'randomize MAC' setting to firmware settings, and add setting for ↵Arisotura2021-11-19
| | | | | | changing the MAC. make things overall betterer.
* better suited entry method for the firmware birthdayArisotura2021-11-18
|
* fix potential crash with firmware dialog (when closing dialog via X and ↵Arisotura2021-11-18
| | | | opening it again)
* make external-BIOS toggle also explicitly control external firmwareArisotura2021-11-18
| | | | make things a tad more consistent and explicit
* finally decouple Config from the core. baahhahahahahArisotura2021-11-18
|
* whatArisotura2021-11-17
|
* prevent out of bounds writeRSDuck2021-11-17
|