Commit Graph

2223 Commits

Author SHA1 Message Date
4c97731468 fix last commit for when no SD is inserted 2022-08-21 19:55:23 +02:00
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
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
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
98903f8076 fixes editor warnings about undefined types in a bunch of files 2022-07-27 18:55:59 +02:00
457dd56b88 constexpr-s the DMA timing tables (#1489) 2022-07-27 17:01:31 +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
35cbda9001 GL: Fix 16x resolution on macOS 2022-06-02 00:55:29 +02:00
f85925fcd6 Add 3DS 16:10 aspect ratio and refactor GUI aspect ratio code 2022-05-23 16:59:50 +02:00
067b44fdfd oh fuck you macos 2022-05-23 15:35:34 +02:00
5f581e82d4 cmake: fix debug flags 2022-05-23 15:33:40 +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
6c7485d017 Update package dependencies for Debian/Ubuntu and explicitly state it 2022-05-17 20:49:01 +01:00
7f4f17de63 macOS: fix bundling on Monterey
The behavior of flags for strip changed exactly like the man page warned
it would. Oops.
2022-05-16 18:09:39 +02:00
4cc34121b0 Update teakra (fixes #1441) 2022-05-13 20:31:24 +02:00
ed2121d7ec Accomodate top/bottom only lzyout when setting screen size 2022-04-20 15:50:01 +02:00
529a690089 fix potential issues with 32bit GPU writes 2022-04-10 15:11:30 +02:00
0294bcb5f2 add support for the mainRAM mirror at 0x0C000000 in DSi mode, makes SM64DSi work correctly 2022-04-10 14:54:40 +02:00
b572d8cd70 add support for GXFIFO NDMA 2022-04-10 02:15:49 +02:00
0feed13cc4 close gaps in VRAM mapping 2022-04-09 19:40:35 +02:00
86f725f2f2 master brightness has different biases (are you serious, Nintendo)
also add all these biases to the OpenGL compositor
2022-04-08 01:08:19 +02:00
f6a55354fa remove some cruft 2022-04-08 00:34:07 +02:00
879695070a make blending/fade accurate too (not quite sure about the 3D one) 2022-04-01 13:57:28 +02:00
1dfcf2010a Merge branch 'master' of github.com:Arisotura/melonDS 2022-04-01 12:54:58 +02:00
d296f2832c make display-capture blending accurate to hardware 2022-04-01 12:54:47 +02:00
02b859ad9d Disable firmware overrides UI when override checkbox isn't checked 2022-03-28 00:55:18 +02:00
5ca8728cbf save WFC settings when using default firmware. fixes #1401, also fixes #1336 2022-03-22 23:21:45 +01:00
599deeb2b8 default firmware: in DSi mode, emulate more compatible DWM-W015 instead of DWM-W024 2022-03-20 18:13:32 +01:00
709a5980ed FreeBIOS: add VRAM-compliant LZ77 decompressor. fixes #1353 2022-03-14 19:42:30 +01:00
3756f3cb1f make invalid SPI memory commands return 0xFF. fixes #1366 (Dementium II checks the results of RDSR, RDID and cmd 00 to determine what kind of backup memory is present) 2022-03-14 18:08:29 +01:00
5415f8a746 what. 2022-03-14 11:51:10 +01:00
d8f87df2b7 DISPCAPCNT is writable at any time 2022-03-14 01:09:07 +01:00
fb7bea06f8 fix some gaps in the SPI/cart implementations 2022-03-14 00:27:03 +01:00
89d33fedd2 Merge branch 'master' of github.com:Arisotura/melonDS 2022-03-12 21:52:46 +01:00
f7fa0dda50 * support patching multiple DLDI interfaces
* fix the DLDI size entry
fixes the Smash demo
2022-03-12 21:52:29 +01:00
20c39eb3f1 Remove incorrect color profile from PNGs so libpng will shut up about it 2022-03-08 16:01:52 +01:00
cce9de5ee1 BLARG 0.9.4 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
c3adf6f606 Improve DSiWare save creation (#1375) 2022-03-07 21:08:29 +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
38c8b886ea update .rc copyright years 2022-03-06 20:22:02 +01:00
ad7976c04e update the TODO lists 2022-03-06 20:16:58 +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