Commit Graph

1006 Commits

Author SHA1 Message Date
8b9eef352c Merge pull request #554 from rzumer/github-actions
Add GitHub workflow configurations for continuous integration with Linux and Windows
2020-01-28 21:35:58 +01:00
12732aa51b Merge pull request #550 from rzumer/slot2
Support GBA game cartridges for DS connectivity
2020-01-28 21:32:29 +01:00
3984491cce * prevent potential race condition while changing window title
* cap framerate at 1000FPS

fixes #547
2019-12-30 13:29:19 +01:00
22d11209b0 Split GBA Reset and Eject logic into two sets
This allows solving some crashes and provides more
flexibility in how GBA cartridges change state between
soft and hard resets. Since save states including GBA
data do not carry over the original save file path,
and the GBA cartridge is being reset along with the other
parts of the system, this is needed to avoid losing
the GBA state on reset following a state load, while
preserving the behavior where cartridges are ejected
when calling Stop().
2019-12-22 16:01:13 -05:00
f380767fab Only store the GBA ROM header in save states
Also fix some potential crashes due to SRAM
state not being cleared correctly on state load.
2019-12-22 14:13:10 -05:00
a57ba1368e Skip saving/loading GBA flash state if SRAM is null 2019-12-22 11:45:11 -05:00
2abdcc54dd Implement DoSavestate() for GBACart classes
Admittedly untested.
2019-12-19 00:12:40 -05:00
be19e0e8d4 Make solar sensor hotkeys configurable 2019-12-18 23:35:18 -05:00
8172cbc170 Add DoSavestate() function to GBACart_SolarSensor
Still empty, but should be implemented along with the rest.
2019-12-18 23:35:14 -05:00
67903b7974 Include romlist.bin with Linux CI artifacts 2019-12-13 13:01:06 -05:00
55db337c8d Package shared resources with Windows CI artifacts 2019-12-13 13:00:42 -05:00
86ae2e02d0 Fix Ubuntu CI when Microsoft breaks repositories 2019-12-13 09:59:28 -05:00
331c3c3b86 Upload CI build artifacts 2019-12-12 22:58:30 -05:00
546e7ded96 Add Windows CI configuration 2019-12-12 21:35:19 -05:00
469ff2d932 Update packages on CI before installing 2019-12-12 17:07:52 -05:00
d2e7519763 Enable GitHub CI on pull request
Also rename the build to be more specific.
2019-12-12 15:34:44 -05:00
7027813cb2 Add C/C++ with CMake GitHub workflow
This enables continuous integration
with GitHub Actions.
2019-12-11 11:46:23 -05:00
f8e43ac486 Display solar sensor level changes on OSD 2019-12-10 19:24:30 -05:00
f257b007a2 Properly pass through GBA GPIO writes 2019-12-10 19:10:14 -05:00
ca9f183d24 Hook up solar sensor control to the UI
It uses hardcoded keypad left and right arrows.
2019-12-10 17:54:35 -05:00
f6cd66e5b1 Implement solar sensor processing 2019-12-10 17:43:25 -05:00
9128517b90 Add basic GBA GPIO support, solar sensor detection 2019-12-10 16:36:39 -05:00
0092937148 Rename SRAMFlash to SRAMFlashState 2019-12-10 16:36:00 -05:00
4d1f3d419e Clarify comments and credit DeSmuME for Flash I/O 2019-12-10 09:57:15 -05:00
68d3474458 Fix GBA Flash read/writes and clean up 2019-12-09 07:37:09 -05:00
8fc9a33a9f Implement GBA cartridge Flash reading and writing 2019-12-09 06:10:26 -05:00
5a7600dc79 Fix "é" character encoding in NDS.cpp 2019-12-09 06:09:52 -05:00
4e8b0c8ce4 Eject GBA cartridges on stop from the UI 2019-12-09 06:09:30 -05:00
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
86b746dd1c Remove unused Write function in NDSCart 2019-12-09 04:51:59 -05:00
62b9f51e23 Handle GBA cartridge SRAM writes 2019-12-08 21:20:01 -05:00
48a8a25548 Reset GBA cartridge state when loading a new ROM 2019-12-08 17:13:56 -05:00
91bf62a1d4 Keep GBA carts loaded when booting to firmware 2019-12-08 15:55:06 -05:00
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
968768042e Properly init/deinit the GBA slot 2019-12-08 15:30:56 -05:00
d86ee1d5bf Add GBA cart model and allow reading from it 2019-12-08 15:30:07 -05:00
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
3f7bc1a6c1 add warning against hacked firmware dumps 2019-11-08 21:55:13 +01:00
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
b641ccaf35 fix remaining sprite y-coord bugs. fixes #531 2019-11-03 04:53:11 +01:00
3561e93bf6 fix sprite y-flip
also, meaningless shenanigans
2019-11-03 04:32:47 +01:00
e117da235e smarter CP15 PU region updates. disable some useless logging.
fixes #528
2019-10-21 23:14:34 +02:00
58c2790ea3 uuuh we should only do it once per scanline 2019-09-15 02:08:47 +02:00
e418b353e8 well, here, OBJ X mosaic is done too 2019-09-15 02:01:22 +02:00
cb90475b60 begin work on mosaic
OBJ Y mosaic emulated correctly, there's atleast that.
2019-09-15 01:31:09 +02:00
b8f55623c1 prevent capture-o-magic from freezing. also, make code more readable. 2019-09-14 13:45:01 +02:00
20a97b79d4 make it a bit less braindead 2019-09-14 01:38:46 +02:00
1c3661f33d BLAHAHAHAHHHH 2019-09-14 01:16:38 +02:00
9d376335b7 HARK HARK HARK HARK 2019-09-13 22:43:02 +02:00
1aaf0c33ce guess who the idiot is who broke sprite extpal 2019-09-05 11:49:22 +02:00