Commit Graph

1531 Commits

Author SHA1 Message Date
e04f53ad17 GRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2021-08-24 17:33:10 +02:00
258797615f add Close button to the dialog, because some hipsters apparently thought titlebars with close-buttons weren't cool anymore, or something.
also fix more possible compile errors.

can we now, please, be done with the stupid shit?
2021-08-24 17:27:08 +02:00
4deafb1d6d dsfdfdf 2021-08-24 17:04:44 +02:00
f81458f74f fix stupid error 2021-08-24 17:00:31 +02:00
33123bfda1 finish all the features 2021-08-24 16:01:23 +02:00
5e5fb09b0e here, have more code 2021-08-24 13:32:45 +02:00
11d716394e here have a pile of code 2021-08-24 04:24:45 +02:00
b31a2d5cbc heh 2021-08-23 02:35:44 +02:00
e9f686de38 add title-import dialog base 2021-08-23 02:04:16 +02:00
2773daf55b take it further 2021-08-21 21:25:08 +02:00
9993dbdd55 move some shit around 2021-08-21 16:49:44 +02:00
b49d75d1bb begin adding stupid dialog 2021-08-20 16:04:22 +02:00
f4fe9e5a8e more work on the title importer thing 2021-08-18 01:47:31 +02:00
6062b5e1ff AES: implement CCM extra shit. fixes freeze when DSi home menu has a picture to show. 2021-08-16 23:49:05 +02:00
2d8749a7f2 fix bugs and shit, still very rough but the importer is working 2021-08-15 12:25:12 +02:00
3272a3a399 here, have ES encryption too 2021-08-14 01:13:07 +02:00
3aea9b5eb7 add some really evil code 2021-08-13 19:39:48 +02:00
41f41c21f5 actually patch TSC shit 2021-08-12 18:37:58 +02:00
50500cfd49 BAHAHAHAHAHAHAHH 2021-08-12 15:35:13 +02:00
d67380c5dc lay some base 2021-08-11 22:51:00 +02:00
58b5a52c79 add fatfs module 2021-08-09 18:38:45 +02:00
d5a20ad3c8 tidbits 2021-08-08 15:45:44 +02:00
c7325469c2 factor duplicate code in micLoadWav(). also add support for all sorts of WAV formats SDL can support. 2021-08-08 15:32:29 +02:00
bba14b2bb0 fix pissfucking touchscreen (again) 2021-08-08 14:45:16 +02:00
2df6b4fdc3 Audio interpolation (#1176)
add audio interpolation (emulation improvement)
2021-08-08 14:27:57 +02:00
b28a9e4d24 JIT: don't lengthen blocks on a skipped SVC
SVC would need special handling because of the bank switching
2021-08-04 14:58:41 +02:00
f900792dc0 addition to last commit 2021-08-04 14:35:54 +02:00
f792d3e6a1 handle changed VCount+threaded rasteriser more gracefully 2021-08-04 14:21:45 +02:00
996bfe8436 Make limit framerate default instead of audio sync 2021-08-04 00:53:47 +02:00
85c2a76774 Fix for https://github.com/Arisotura/melonDS/issues/1169 (#1171)
* Fix for https://github.com/Arisotura/melonDS/issues/1169
LoadNAND was storing the stage 2 bootloader, while NWRAM access was disabled by Bit25 of SCFG_EXT putting the stage 2 into old shared WRAM, while executing it later with the bit enabled and fetching from an empty NWRAM.

* Fixed bug, where access to the NWRAM Bank A used the wrong page mask for write access

* Remove spaces before comma

Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de>
Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
2021-08-02 22:15:33 +02:00
946eb7a834 fix pause when inactive 2021-08-02 20:41:43 +02:00
1bda85383f Fix for #1119 'Add "frame step" hotkey' 2021-07-30 18:16:26 +02:00
aaa97c9242 only open microphone when actually needed. fixes #1165 2021-07-29 01:19:03 +02:00
9ee2017443 don't add constant cycles if they're 0 2021-07-24 17:07:08 +02:00
6944fdbe78 add support for JIT profiling with VTune 2021-07-24 16:20:03 +02:00
c9b918d305 fix last commit for aarch64 2021-07-24 04:45:33 +02:00
c2152c8f74 JIT: fix ldm with writeback loading rn 2021-07-24 04:35:45 +02:00
8513900892 ARM64 macOS JIT - fix warnings + some cleanup 2021-07-23 14:07:23 +01:00
b1c2665c39 NWRAM & Direct Boot (#1149)
* SCFG_BIOS now selects between NDS and DSi BIOS
Allowing experimental direct boot.

* - making NWRAM Priorities work as in the HW
- fixed loading DSi stage2 Bootloader when in direct boot (should not be loaded) and might interfere with the image loaded into the (N)WRAM previously

* NWRAM and SCFG Registers are now write-guarded by the corresponding SCFG_EXT7/9 Bits

* removed debugging remainder

* Moved NDSHeader dependent SCFG initialization into the new DSi::SetupDirectBoot function called from NDS::SetupDirectBoot when ConsoleType is DSi

* removed redundant SCFG_BIOS bit checks

* Set of changes from RSDuck's review

* removed a forgotten comment

* - removed the guarded debug outputs for NWRAM
- NWRAM writes to bank and window registers now apply their write masks.
- added comment on an existing TODO within the code describing, why this is OK
- fixed initial NWRAM bank reset just accessing set A

* NWRAM not mapped to 03... range if bit25 in SCFG_EXT is cleared

* removed NWRAM write block on cleared bit25 in SCFG_EXT

* changed type of iterator for MapNWRAM_x functions from s8 to int

* - reduced calculations/comparisons on NWRAM write operations
- changed u8 to unsigned int for an iterator MapNWRAM_x

Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de>
2021-07-23 12:21:54 +02:00
cd4ef575ee NDSCart: correctly restrict reading the DSi region on DSi carts 2021-07-22 21:37:34 +02:00
ab48461dc5 Merge branch 'master' of https://github.com/Arisotura/melonDS 2021-07-20 19:30:47 +02:00
740071e427 oopsies 2021-07-20 19:30:29 +02:00
fdb6d226fd enable undo savestate load in the gui 2021-07-17 23:30:57 +02:00
98072d82bf shut up DSi-IO warnings 2021-07-17 18:26:56 +02:00
3a9e07c0b1 Fallback to backup DSi Footer in NAND Image (#1154)
* - added fallback to DSi footer copy at 000FF800h if reading footer at end of file failed. See https://problemkaputt.de/gbatek.htm#dsisdmmcimages
- changed output of ConsoleID to use PRIx64 to be consistent with all other tools working with the consoleID (readability/cosmetic improvement)

* Remove extra space

Co-authored-by: Tim Seidel <t.seidel@kts-systeme.de>
Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
2021-07-13 15:01:42 +02:00
e5240a688c Add ROM Header struct and ROM info dialog (#1095) 2021-07-02 16:42:54 +00:00
5a071c4c29 some tiny A64 optimisations 2021-06-30 00:41:04 +02:00
aa430608e7 support allocating more registers for aarch64 JIT
also some minor fixes for the x64 JIT as well
2021-06-29 22:25:43 +02:00
dd53b01f76 only recalculate GBA slot timing if necessary 2021-06-27 00:45:21 +02:00
dd2b86d026 add missing default return value. fixes #1105 2021-06-20 02:23:45 +02:00