Commit Graph

65 Commits

Author SHA1 Message Date
fc922ffb14 Merge branch 'master' into dsi_camera
# Conflicts:
#	src/DSi_I2C.cpp
2020-10-26 20:47:30 +01:00
f2fa52f26c add functionality to import savefiles 2020-09-11 03:08:06 +02:00
8d42b1c7d7 messin' around 2020-09-08 20:19:37 +02:00
ba373ca72a DSi: make ARM9-clock-selector actually work 2020-08-17 19:15:45 +02:00
c5381d2911 reconcile DSi and JIT, fastmem for x64 and Windows 2020-06-30 23:50:41 +02:00
e335a8ca76 first steps in bringing over the JIT refactor/fastmem 2020-06-16 12:11:19 +02:00
e7d076403d Merge branch 'generic_jit' of https://github.com/Arisotura/melonDS into generic_jit 2020-06-16 12:06:42 +02:00
052ff73672 rewrite JIT memory emulation 2020-06-16 12:01:08 +02:00
43e045357f make it able to switch between DS and DSi modes 2020-06-01 20:36:30 +02:00
b62d90cbe4 Merge remote-tracking branch 'remotes/origin/master' into melonDSi 2020-05-30 03:19:20 +02:00
2327de2423 Merge commit '4b57416552ec2fa95216e2b044559f215723bf70' into melonDSi 2020-05-30 03:12:42 +02:00
95f9698077 add back some hotkeys.
remove some legacy cruft from NDS.cpp.
2020-05-19 22:37:48 +02:00
0f53a34551 rewrite JIT memory emulation 2020-05-09 00:45:05 +02:00
5f99a68151 detect whether we are running the game 2020-02-24 18:31:44 +01:00
83f8e11bc1 update copyright years 2020-02-14 20:18:08 +01:00
968768042e Properly init/deinit the GBA slot 2019-12-08 15:30:56 -05:00
4d3d8433cb * add old DS BIOSes and 04004000 BIOS-switch
fixes audio issues when running DS games
* attempt adding other fun shit like dynamic RAM size, but that mostly went nowhere for now
2019-08-05 19:52:03 +02:00
a9f36929e0 TSC: add backwards-compatibility 2019-08-04 14:34:33 +02:00
a6a9f74acc lay base for DSi-mode TSC 2019-08-04 11:44:36 +02:00
f7f4ff0519 wifi: take this shit further. complete wifi init 2019-08-04 02:16:16 +02:00
06716794a1 lots of things. attempting to make wifi init work. not there yet. 2019-07-24 18:48:52 +02:00
d6bbc6f0f1 tremble upon the NDMA implementation
that doesn't do much beyond getting stuck
2019-06-18 22:54:07 +02:00
dc3c9f5bf8 take all the SDMMC shit further. now it's completing MMC init and trying to read shit. 2019-06-18 14:12:37 +02:00
566a8df6cd add IE2/IF2 2019-06-16 15:05:18 +02:00
0e421ccebd add all sorts of shit 2019-06-13 14:41:54 +02:00
29fb71cab8 BAHAHAHAHHHH
mostly just going to derp around some, so don't hold your breath here
2019-06-13 13:11:33 +02:00
b0efde8bf7 also, update copyright name 2019-01-22 15:58:29 +01:00
669247e8c8 redesign main emu loop to use timestamps instead of being a trainwreck
* cleaner code
* faster in some cases
* more accurate (on-demand compensation for timers and GPU)
* less prone to desyncs
* overall betterer
2019-01-05 05:28:58 +01:00
cb1e6ce750 proof-of-concept code for closing/opening lid. 2018-12-14 02:36:57 +01:00
758bed93bc preliminary microphone code. requires an actual microphone. resulting audio is farty and blargy as fuck. 2018-12-12 16:33:40 +01:00
e7a4fe11ed add nocashPrint type shit 2018-12-12 02:48:37 +01:00
3101bd595f add missing shit to savestates. bump the version up. 2018-12-11 21:50:28 +01:00
3dd8c7b152 finish the work on the main loop. finally fix all cases of desync I could find. also add #ifdef'd debug code to check for desyncs. 2018-12-11 15:56:34 +01:00
78d384a754 temp commit
almost done killing ARM9/ARM7 desync, f
2018-12-11 03:08:46 +01:00
29bca33bc6 take it somewhere.
still need to speed it up a tad.
2018-12-09 01:17:05 +01:00
c6fb152d80 start devolving things.
also implement proper DMA timings.

will not build. don't try.
2018-12-08 22:33:41 +01:00
172fb4876a begin work on general timing renovation. way shitty because it behaves as if caches were off, so everything will be slow as shit. 2018-12-04 17:54:10 +01:00
a9e7f8bc5b add proper support for GXFIFO stalls.
bad games that blast the GXFIFO and overflow it:
* Super Mario 64 DS
* Rayman RR2

latter seems to get its music streaming crapoed.
2018-11-23 22:21:41 +01:00
b4165cc0a9 3D: keep the rasterizer from accidentally going out of bounds when given very flat X-major edge slopes.
this, by a fucking shitshow of butterfly effect, ends up fixing #234. technically, the rasterizer was going out of bounds, which, under certain circumstances, caused interpolation to shit itself and generate Z values that were out of range (but still ended up in the zbuffer). sometimes those values ended up negative, which caused these glitches when polygons had to be drawn over those.

about fucking time.
2018-11-04 23:21:58 +01:00
307c26de93 Merge pull request #248 from Dirbaio/master
Two fixes
2018-10-27 14:16:46 +02:00
8b4ba2d8b9 separate SRAM setting coded, I guess 2018-10-24 00:24:36 +02:00
f60ac42466 pass savefile name to NDS::LoadROM() instead of having the core generate it. 2018-10-23 21:52:41 +02:00
148f4032f1 fix code that would have fucking asploded 2018-10-18 01:38:33 +02:00
de91eabf71 savestate shito: fix compile errors.
still far from being finished, so avoid using unless you want to spawn blackholes or some pretty bad shit.
2018-10-18 00:27:55 +02:00
0bfd019dc0 start implementing actual shito
(also looks like the test bench in libui_sdl/main.cpp snuck in with the copyright update. shit)
2018-09-15 02:47:34 +02:00
fea7955675 fixor copyright years. 2018-09-15 02:32:13 +02:00
cb79a5dc14 Make Main RAM size configurable in a single place. 2018-05-24 01:09:23 +02:00
0a04efc33e attempt at auto-emphasis mode, emphasizing main screen 2017-10-30 05:45:26 +01:00
ee1da52d77 fail gracefully when ROM loading fails 2017-10-11 00:01:05 +02:00
ab9800fbac actual joystick input
also sync keyboard input nicely
2017-09-30 20:05:56 +02:00