aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.h
Commit message (Collapse)AuthorAge
* Add PoroCYon's DSP code. (#1123)purringChaos2021-06-06
| | | | | | | | | | | | | | | * Add PoroCYon's DSP code. * Remove some teakra iles that we dont need. * make some requested changes. * move DataMemoryOffset into namespace. * use deault param. * ad the switch change * <Generic> forget about the default parameter
* Cart refactor (#1073)Arisotura2021-04-25
| | | complete cart-interface refactor, will make this code a lot easier to deal with
* update copyright year and add missing GPL headersRSDuck2021-03-12
|
* Polish up archive support (#930)Madhav Kanbur2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix directory path when extracting from archive * Don't create new dir in execution dir of melonds * Create it beside the archive instead Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * ArchiveUtil : Use QT functions for I/O * Make it more platform independent, cleaner * Fixes permission related crash on linux Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * NDSCart : Abstract out common code in LoadROM() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Extract nds roms to memory * Some stuff is still broken in the frontend Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * GBACart : Abstract out common code in LoadROM() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Extract gba roms to memory Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Integrate archive support with recent files Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * onClickRecentFile : Pause emu thread conditionally * Don't pause at start of the function * If user opens an archive and hits cancel, it won't pause Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Handle Resets when loading from archives * Ask user to pick the rom(s) again (i.e. GBA & NDS) when there are multiple files in the archive(s) * Directly load if only 1 file Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Archive support for drag-n-drop * Also recent files support for drag-n-drop Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * main : Allocate rombuffer objects on stack * Less messy, decreases chances of memory leaks * Underlying implementation of qbytearray uses heap (hopefully?) Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * GetSavestateName : Archive support * Construct ssname from srampath (since rompath has archive name) NOTE: In general, archive name != rom file name !!!!!!!!!! Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Add srl and dsi as "direct-load" formats * Direct-load = anything not in an archive Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Don't use static functions Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Remove QT stuff from Util_ROM * Also, during reset, directly load file from archive (no rom picker) Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Remove QT includes from FrontendUtil.h Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM/LoadROM() : Use SetupDSiNAND() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM/Reset() : Use strrchr() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM : Put Archive stuff behind ifdefs Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * main: Set parent widget for archive dialog boxes Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Revert "Util_ROM/Reset() : Use strrchr()" This reverts commit c8af6f066f6aa15e5557e478417edb125cad0809.
* Implement "lag frame" flag and counter (#949)SuuperW2021-01-21
| | | | | * Implement "lag frame" flag and counter, and expose flag and both frame counters. BizHawk wants these. * Track frame count and lag frames while the system isn't running.
* use C++ style structs everywhereRSDuck2021-01-02
|
* make things function atleast somewhatArisotura2020-10-26
| | | | no pciture is being actually sent yet
* Merge branch 'master' into dsi_cameraArisotura2020-10-26
|\ | | | | | | | | # Conflicts: # src/DSi_I2C.cpp
| * add functionality to import savefilesRSDuck2020-09-11
| |
* | messin' aroundArisotura2020-09-08
|/
* DSi: make ARM9-clock-selector actually workArisotura2020-08-17
|
* reconcile DSi and JIT, fastmem for x64 and WindowsRSDuck2020-06-30
|
* first steps in bringing over the JIT refactor/fastmemRSDuck2020-06-16
|
* Merge branch 'generic_jit' of https://github.com/Arisotura/melonDS into ↵RSDuck2020-06-16
|\ | | | | | | generic_jit
| * rewrite JIT memory emulationRSDuck2020-06-16
| |
| * make it able to switch between DS and DSi modesArisotura2020-06-01
| |
| * Merge remote-tracking branch 'remotes/origin/master' into melonDSiArisotura2020-05-30
| |\
| | * add back some hotkeys.Arisotura2020-05-19
| | | | | | | | | | | | remove some legacy cruft from NDS.cpp.
| * | Merge commit '4b57416552ec2fa95216e2b044559f215723bf70' into melonDSiArisotura2020-05-30
| |\|
| * | * add old DS BIOSes and 04004000 BIOS-switchArisotura2019-08-05
| | | | | | | | | | | | | | | fixes audio issues when running DS games * attempt adding other fun shit like dynamic RAM size, but that mostly went nowhere for now
| * | TSC: add backwards-compatibilityArisotura2019-08-04
| | |
| * | lay base for DSi-mode TSCArisotura2019-08-04
| | |
| * | wifi: take this shit further. complete wifi initArisotura2019-08-04
| | |
| * | lots of things. attempting to make wifi init work. not there yet.Arisotura2019-07-24
| | |
| * | tremble upon the NDMA implementationArisotura2019-06-18
| | | | | | | | | | | | that doesn't do much beyond getting stuck
| * | take all the SDMMC shit further. now it's completing MMC init and trying to ↵Arisotura2019-06-18
| | | | | | | | | | | | read shit.
| * | add IE2/IF2Arisotura2019-06-16
| | |
| * | add all sorts of shitArisotura2019-06-13
| | |
| * | BAHAHAHAHHHHArisotura2019-06-13
| | | | | | | | | | | | mostly just going to derp around some, so don't hold your breath here
* | | rewrite JIT memory emulationRSDuck2020-05-09
| |/ |/|
* | detect whether we are running the gameArisotura2020-02-24
| |
* | update copyright yearsArisotura2020-02-14
| |
* | Properly init/deinit the GBA slotRaphaël Zumer2019-12-08
|/
* also, update copyright nameArisotura2019-01-22
|
* redesign main emu loop to use timestamps instead of being a trainwreckStapleButter2019-01-05
| | | | | | | | * cleaner code * faster in some cases * more accurate (on-demand compensation for timers and GPU) * less prone to desyncs * overall betterer
* proof-of-concept code for closing/opening lid.StapleButter2018-12-14
|
* preliminary microphone code. requires an actual microphone. resulting audio ↵StapleButter2018-12-12
| | | | is farty and blargy as fuck.
* add nocashPrint type shitStapleButter2018-12-12
|
* add missing shit to savestates. bump the version up.StapleButter2018-12-11
|
* finish the work on the main loop. finally fix all cases of desync I could ↵StapleButter2018-12-11
| | | | find. also add #ifdef'd debug code to check for desyncs.
* temp commitStapleButter2018-12-11
| | | | almost done killing ARM9/ARM7 desync, f
* take it somewhere.StapleButter2018-12-09
| | | | still need to speed it up a tad.
* start devolving things.StapleButter2018-12-08
| | | | | | also implement proper DMA timings. will not build. don't try.
* begin work on general timing renovation. way shitty because it behaves as if ↵StapleButter2018-12-04
| | | | caches were off, so everything will be slow as shit.
* add proper support for GXFIFO stalls.StapleButter2018-11-23
| | | | | | | | bad games that blast the GXFIFO and overflow it: * Super Mario 64 DS * Rayman RR2 latter seems to get its music streaming crapoed.
* 3D: keep the rasterizer from accidentally going out of bounds when given ↵StapleButter2018-11-04
| | | | | | | | 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.
* Merge pull request #248 from Dirbaio/masterStapleButter2018-10-27
|\ | | | | Two fixes
| * Make Main RAM size configurable in a single place.Dario Nieuwenhuis2018-05-24
| |
* | separate SRAM setting coded, I guessStapleButter2018-10-24
| |
* | pass savefile name to NDS::LoadROM() instead of having the core generate it.StapleButter2018-10-23
| |