Commit Graph

1093 Commits

Author SHA1 Message Date
Raphaël Zumer 8fc9a33a9f Implement GBA cartridge Flash reading and writing 2019-12-09 06:10:26 -05:00
Raphaël Zumer 5a7600dc79 Fix "é" character encoding in NDS.cpp 2019-12-09 06:09:52 -05:00
Raphaël Zumer 4e8b0c8ce4 Eject GBA cartridges on stop from the UI 2019-12-09 06:09:30 -05:00
Raphaël Zumer 5ad85f15c1 Add a framework to support non-SRAM GBA saves
The support is not yet there, but at least
we should not read or write bogus data.
2019-12-09 04:58:54 -05:00
Raphaël Zumer 86b746dd1c Remove unused Write function in NDSCart 2019-12-09 04:51:59 -05:00
Raphaël Zumer 62b9f51e23 Handle GBA cartridge SRAM writes 2019-12-08 21:20:01 -05:00
Raphaël Zumer 48a8a25548 Reset GBA cartridge state when loading a new ROM 2019-12-08 17:13:56 -05:00
Raphaël Zumer 91bf62a1d4 Keep GBA carts loaded when booting to firmware 2019-12-08 15:55:06 -05:00
Raphaël Zumer 1da9b3806c Hook up the GBA slot to the UI
A GBA cartridge may be loaded in the same
way as a DS cartridge. If the extension of
the selected file is "gba", it will be treated
as a GBA file. The system boot logic is still
centered around the DS cartridge, so loading
a GBA file will not start or reset it.
2019-12-08 15:31:20 -05:00
Raphaël Zumer 968768042e Properly init/deinit the GBA slot 2019-12-08 15:30:56 -05:00
Raphaël Zumer d86ee1d5bf Add GBA cart model and allow reading from it 2019-12-08 15:30:07 -05:00
Raphaël Zumer f21347c918 Fix GBA memory values on deselected CPU
Previously, the GBA memory was 0xFF-filled
on both CPUs. However, GBATEK reports that
the deselected CPU is 0x00-filled, and that
some titles depend on this behavior to
function properly.
2019-12-08 12:33:02 -05:00
Raphaël Zumer 9381b531cd Ignore the build directory 2019-12-07 15:26:58 -05:00
Nadia Holmquist Pedersen 23bca8c17a Tell the user where to place romlist.bin if it can't be found for UNIX non-portable builds. 2019-12-05 00:40:59 +01:00
Nadia Holmquist Pedersen 03f33fa5c3 Make UNIX builds non-portable by default. 2019-12-05 00:12:40 +01:00
Nadia Holmquist Pedersen 4f87707cda If all else fails, look for data files (romlist.bin) in the current working direcoty. 2019-12-05 00:11:52 +01:00
Nadia Holmquist Pedersen 959c37ead7 Open with rb instead of r in OpenDataFile to avoid potential problems with Windows. 2019-12-04 22:54:30 +01:00
Nadia Holmquist Pedersen 7af658f089 Add a UNIX_PORTABLE build option, turning it off makes a build of melonDS suitable for systemwide installation. 2019-12-04 22:46:33 +01:00
i404788 7730e6c1e2
Coding style + weird spacing 2019-11-20 23:24:16 +00:00
i404788 477be1d155
add device name 2019-11-19 22:34:02 +00:00
i404788 c2a55bc217
clean log 2019-11-19 22:22:47 +00:00
i404788 cdd60bb298
fix build 2019-11-19 22:20:39 +00:00
i404788 7e07250652
Maybe better to log 2019-11-19 22:19:30 +00:00
i404788 7340b1d6e3
Fix hanging UI when `null` addr 2019-11-19 21:37:47 +00:00
Arisotura 3f7bc1a6c1 add warning against hacked firmware dumps 2019-11-08 21:55:13 +01:00
Arisotura c064f738ea OpenGL: fix bug when rendering translucent polygons coming after shadow polygons, against a zero-alpha clear-plane (would use wrong shader, resulting in broken transparency) 2019-11-03 09:55:52 +01:00
Arisotura b641ccaf35 fix remaining sprite y-coord bugs. fixes #531 2019-11-03 04:53:11 +01:00
Arisotura 3561e93bf6 fix sprite y-flip
also, meaningless shenanigans
2019-11-03 04:32:47 +01:00
Arisotura e117da235e smarter CP15 PU region updates. disable some useless logging.
fixes #528
2019-10-21 23:14:34 +02:00
Arisotura 58c2790ea3 uuuh we should only do it once per scanline 2019-09-15 02:08:47 +02:00
Arisotura e418b353e8 well, here, OBJ X mosaic is done too 2019-09-15 02:01:22 +02:00
Arisotura cb90475b60 begin work on mosaic
OBJ Y mosaic emulated correctly, there's atleast that.
2019-09-15 01:31:09 +02:00
Arisotura b8f55623c1 prevent capture-o-magic from freezing. also, make code more readable. 2019-09-14 13:45:01 +02:00
Arisotura 20a97b79d4 make it a bit less braindead 2019-09-14 01:38:46 +02:00
Arisotura 1c3661f33d BLAHAHAHAHHHH 2019-09-14 01:16:38 +02:00
Arisotura 9d376335b7 HARK HARK HARK HARK 2019-09-13 22:43:02 +02:00
Arisotura 1aaf0c33ce guess who the idiot is who broke sprite extpal 2019-09-05 11:49:22 +02:00
Arisotura 0010e296bd GPU2D: delay palette lookup for sprites 2019-09-05 11:42:08 +02:00
Arisotura e8f4735c7f update README 2019-09-04 17:03:51 +02:00
Arisotura 3efe90f78a deal with SPU FIFO overflow in a more pleasant manner 2019-09-04 16:40:29 +02:00
Arisotura 02a6fe182c see, Arisotura, was it that hard? 2019-09-04 16:29:40 +02:00
Arisotura 1b40149b0a blarg
here, have code
2019-09-04 15:41:42 +02:00
StapleButter a4f9187b9b fix bug with vsync checkbox 2019-09-01 23:04:06 +02:00
Arisotura f70ee39543 BAHAHAHAHHHAHARKKZKFKKSLFS-*~+¤ 2019-09-01 20:40:55 +02:00
Arisotura fbc74a27be
Merge pull request #504 from rogersachan/patch-1
Use the new GitHub sponsors feature to a link to the patreon
2019-09-01 20:26:48 +02:00
Arisotura 27498ced4a
Merge pull request #505 from Zettymaster/master
Add warning message if romlist.bin is not found
2019-09-01 20:25:06 +02:00
Arisotura b3df6e523a
Merge pull request #509 from Zapeth/master
Fix cmake resource file compilation issues
2019-09-01 20:24:14 +02:00
Arisotura 4a4e00ddcd
Merge pull request #511 from tokumeiwokiboushimasu/master
Fix build error on Fedora
2019-09-01 20:23:37 +02:00
Arisotura abb06269a1 add VSync toggle 2019-09-01 20:20:22 +02:00
Arisotura 5b51034436 zerp 2019-09-01 18:38:01 +02:00