Commit Graph

70 Commits

Author SHA1 Message Date
CasualPokePlayer 0ec54fe9d6 Make touch input interpolation configurable 2024-12-29 22:08:54 -08:00
CasualPokePlayer 7714004da5 revert to older mic blow samples 2024-11-10 22:55:47 -08:00
CasualPokePlayer 76aae7afd7 fix buggy audio when closing lid 2024-11-01 15:22:57 -07:00
CasualPokePlayer 8f642d6b8f expose DSi NWRAM 2024-10-26 17:32:58 -07:00
CasualPokePlayer 84130285aa fix host mouse to touch input weirdness with melonDS savestates 2024-10-19 00:51:14 -07:00
CasualPokePlayer 1f261b2c33 Fix crashes with GPU compute renderer w/ wbx states 2024-10-17 21:44:14 -07:00
CasualPokePlayer c471a72e64 Fix save type for Puzzler World USA 2024-09-18 01:59:12 -07:00
CasualPokePlayer f309dbc316 bounds check reading spu output 2024-06-16 23:32:14 -07:00
CasualPokePlayer 0a3ab1a055 Fix read/write callbacks possibly being called recursively
Also fix possible unsafe sys bus reads
2024-06-07 14:35:45 -07:00
CasualPokePlayer 448e9fb9ec fix melonDS fw generation code 2024-06-07 13:48:19 -07:00
CasualPokePlayer 43a621a695 Handle nand/firmware a bit bitter; add sound interpolation options; add hybrid screen option 2024-06-06 13:50:29 -07:00
CasualPokePlayer c21172ae03 Fix DownscaleFramebuffer not being generated (happened to work fine in melonDS upstream, but not BizHawk) 2024-06-06 00:39:31 -07:00
CasualPokePlayer ea4e96b08c fix perms on these files 2024-06-05 23:37:53 -07:00
CasualPokePlayer b7265e2f39 Update melonDS 2024-06-05 23:37:53 -07:00
CasualPokePlayer 7164763e2f Build melonDS with fwrapv, fixes weird rendering issues 2024-06-02 12:59:18 -07:00
CasualPokePlayer 43a38a05ca Workaround driver bugs(?) with D3D11 GL interop 2024-06-01 18:30:17 -07:00
CasualPokePlayer 0c6df6e79b Don't clamp touch/screen coord transformations 2024-05-27 13:33:46 -07:00
CasualPokePlayer 7d2ff866d8 add support for direct booting dsi titles (including dsiware) 2024-01-16 11:04:38 -08:00
CasualPokePlayer 55b3319ee0 minor melonds fixes 2024-01-10 08:13:20 -08:00
CasualPokePlayer c2e8bda5e2 fix loading gba saves re-allocating buffer (thus invalidating its memory domain) 2023-12-07 22:52:48 -08:00
CasualPokePlayer 7b4bd8cdc3 make GBA roms work under freebios 2023-12-06 23:19:53 -08:00
CasualPokePlayer 1f58596d3c misc fixes/cleanups in ds firmware handling 2023-11-05 17:00:20 -08:00
CasualPokePlayer 6184182f34 better handle DSi country code and fix extended languages 2023-11-04 05:25:33 -07:00
CasualPokePlayer e98e31e5c7 deduplicate nds/dsi bios loading code 2023-11-03 07:34:07 -07:00
CasualPokePlayer 169137c204 throw an error if the loaded nand region isn't supported by the loaded dsiware title
this normally wouldn't be needed but people seem to think it's a good idea to shove the same nand file in every region slot in the firmware config
2023-11-03 05:43:10 -07:00
CasualPokePlayer 53c8deae29 add in touch screen input smoothing, fixes #3397 2023-11-02 13:53:27 -07:00
CasualPokePlayer a046ea901b fix username and message not being correctly set for dsi nand 2023-11-02 11:59:05 -07:00
CasualPokePlayer 415fb95861 fix dsi nand writes failing 2023-11-02 11:50:41 -07:00
CasualPokePlayer be9a92ca07 fix something with dsi bios loading
this doesn't really seem to be needed but this is what upstream does
2023-11-02 11:09:29 -07:00
CasualPokePlayer 3ab1a32f34 fix last commit for real this time 2023-11-02 10:48:09 -07:00
CasualPokePlayer 9e9307ace0 fix last commit -.- 2023-11-02 10:46:33 -07:00
CasualPokePlayer 720a45120b fix nds/dsi bios files not being loaded correctly 2023-11-02 10:41:17 -07:00
CasualPokePlayer 3cbdbf7cd4 fix importing/exporting dsi savs 2023-11-02 10:11:59 -07:00
CasualPokePlayer 659ff2e8de update melonDS
lots of changes needed here as core has done quite a bit of changes (which in any case has reduced needed changes in upstream for our fork, so easier merging in the future)
gl crap is better done with fancy template classes to wrap around the msabi/sysvabi runtime check (so comparing with nullptr or using it as a bool works as expected)
c# changes pending (API has changed)
2023-11-02 09:17:48 -07:00
CasualPokePlayer a1ec56d748 allow for TMDs which are larger than needed
quick hack fix to allow DSiWare games to work again, proper fix is to remove the extra 0x700 bytes of certificates in the tmd db which aren't needed
2023-09-28 16:03:15 -07:00
CasualPokePlayer a59e9a1ce8 fix PBO push/popping (glGetIntegerv wants GL_PIXEL_PACK_BUFFER_BINDING not GL_PIXEL_PACK_BUFFER, of course)
add method for transforming touch screen coords back into host screen coords
2023-09-25 22:17:56 -07:00
CasualPokePlayer 3d5c2120f2 Use upstream melonDS's code for doing screen control madness. This means too that both the OpenGL and software renderer will *present* frames with OpenGL (and if this is unavailable, screen control madness will be unavailable)
also fix up this code so upscaling works properly
c# changes pending
2023-09-25 05:21:53 -07:00
CasualPokePlayer 0dc4b94475 fix old pbo not being preserved on reading the framebuffer 2023-09-24 05:42:14 -07:00
CasualPokePlayer f71f2fafc6 OpenGL renderer support in melonDS! 2023-09-24 04:26:55 -07:00
CasualPokePlayer 9c389eadf7 fix seeking not working, put this back to shared_ptr (no make_shared<T[]> in c++17 :( ) 2023-09-17 12:23:53 -07:00
CasualPokePlayer fe3d34dbd3 fix most cursed UAF 2023-09-17 03:23:07 -07:00
CasualPokePlayer e222dbc554 fix space/tabbing here 2023-09-17 02:45:08 -07:00
CasualPokePlayer 871c2bba8f oops, that wasn't supposed to be deleted 2023-09-17 02:02:10 -07:00
CasualPokePlayer f7786e81b9 Merge melonDS master, do massive cleanup/splitup of code
also, get rid of the GBA SRAM hack where it was inserted in ROMs (gross), instead figure out the size and give melonDS a blank save of the correct size
GBA SRAM is also now in SaveRAM
also add in more memory domains (SRAM/ROM/DSi BIOS)
2023-09-17 00:58:05 -07:00
CasualPokePlayer 8ce2aac868 implement flag to clear DSi NAND of any titles that already happen to be installed, implement functions for importing/exporting dsiware sav files
(c# changes using these pending)
2023-03-31 06:21:56 -07:00
CasualPokePlayer 0a2d4405f0
Revamp Waterbox Setup (#3529)
* Waterbox setup has been revamped to use the latest llvm parts (llvm 16 for compiler_rt/libunwind/libcxx/libcxxabi).
* Clang is now possible to use, and is the preferred compiler (due to superior performance).
* Supported compilers are now clang 14/15/16, and gcc 12.
* Other core updates are mixed in.

---------

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
2023-03-28 16:53:33 -07:00
CasualPokePlayer 5f0e6a2242 updae melonds, rework the audio so it is internally resampled with blip_buf (also allows for avoiding some copying, also corrects some minor audio defects) 2022-12-16 23:03:28 -08:00
CasualPokePlayer 8f1a0b9bb1 update melonds (TODO: Wire up camera) 2022-10-20 00:47:16 -07:00
Prcuvu ad85be7bed
Register TCM areas for melonDS core (#3420)
* Register TCM areas for melonDS core

* reorder mem domains a bit, add TCM to ARM9 System Bus, build

Co-authored-by: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
2022-10-19 23:47:42 -07:00
CasualPokePlayer 38d3d36199 fix opcode address in exec callbacks + tracing (thanks prefetch)
sp/lr/pc for r13/r14/r15 for tracing
fix a bad for threaded renderer's thread start callback
2022-09-18 02:39:31 -07:00