Commit Graph

1257 Commits

Author SHA1 Message Date
niemand-deu ab911571e0
Update main.cpp 2020-02-26 03:56:03 +01:00
Arisotura 5f99a68151 detect whether we are running the game 2020-02-24 18:31:44 +01:00
Arisotura 8b1caae852 flesh shit out for loading a cheat file 2020-02-24 17:56:01 +01:00
Arisotura 228c625e62 fix teh comment 2020-02-24 17:42:05 +01:00
Arisotura 3eb613650d change ParseTextCode() so we can specify the length of an individual AR code within a bigger string. 2020-02-16 11:21:45 +01:00
Arisotura 3a4947fbbe also that might have been bad for security. who knows. 2020-02-15 17:26:48 +01:00
Arisotura e40d414c56 now we can even parse the code from a text code. bahaahhhh 2020-02-15 16:20:53 +01:00
Arisotura ed39122c67 Arisotura will you ever clean up after yourself. this is like your goddamn apartment, it's a mess. 2020-02-15 16:07:13 +01:00
Arisotura 51dbb7165e finish the AR interpreter, I guess
or mostly
2020-02-15 00:36:22 +01:00
Arisotura 85a6a5bb38 * add support for a bunch of codes (all of them minus the loop shit, really)
* hook it betterer so it doesn't asplode
2020-02-14 23:34:26 +01:00
Arisotura eb44833171 well, more AR shito 2020-02-14 21:19:36 +01:00
Arisotura 83f8e11bc1 update copyright years 2020-02-14 20:18:08 +01:00
Arisotura d0b27178f1 miserable, feeble little attempt at executing AR codes.
also, it's hardcoded. probably not a good thing.
2020-02-14 20:13:06 +01:00
Arisotura 106b9a6f24 lay base for AR cheatzorz. baahahhhh 2020-02-14 19:26:52 +01:00
Arisotura 2944575cbc
Merge pull request #544 from i404788/master
Fix hanging UI when `null` addr
2020-02-14 14:30:54 +01:00
Arisotura fcda1abbaa
Merge pull request #570 from KAMiKAZOW/patch-2
Use different icon location
2020-02-14 14:30:28 +01:00
Arisotura 7f54ced73f
Merge pull request #573 from MoochMcGee/master
Fix CodeBlocks build
2020-02-14 14:30:07 +01:00
Melissa Goad eaaac6aa3b Fix CodeBlocks build 2020-02-02 10:49:09 -06:00
Markus ⛅ da0afbde88
Use different icon location
"pixmaps" is the deprecated, legacy-only location. "hicolor" is the current, proper location that supports multiple resolutions which we now use
2020-01-30 17:25:08 +01:00
RSDuck e512e7a6ed
Merge pull request #549 from rzumer/ignore-build-dir
Ignore the build directory
2020-01-29 18:18:20 +01:00
Arisotura 2c51a49527
Merge pull request #546 from nadiaholmquist/feature/unix-xdg
Make melonDS properly installable systemwide on UNIX systems
2020-01-28 21:37:36 +01:00
Arisotura 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
Arisotura 12732aa51b
Merge pull request #550 from rzumer/slot2
Support GBA game cartridges for DS connectivity
2020-01-28 21:32:29 +01:00
Arisotura 3984491cce * prevent potential race condition while changing window title
* cap framerate at 1000FPS

fixes #547
2019-12-30 13:29:19 +01:00
Raphaël Zumer 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
Raphaël Zumer 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
Raphaël Zumer a57ba1368e Skip saving/loading GBA flash state if SRAM is null 2019-12-22 11:45:11 -05:00
Raphaël Zumer 2abdcc54dd Implement DoSavestate() for GBACart classes
Admittedly untested.
2019-12-19 00:12:40 -05:00
Raphaël Zumer be19e0e8d4 Make solar sensor hotkeys configurable 2019-12-18 23:35:18 -05:00
Raphaël Zumer 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
Nadia Holmquist Pedersen c5623c4dcd Change the config/data dirs from "melonds" to "melonDS" for consistency. 2019-12-19 02:52:34 +01:00
Nadia Holmquist Pedersen 43535c873a Remove redundant desktop file and change desktop/icon file name to net.kuribo64.melonDS, also change melonds to melonDS. 2019-12-19 02:48:11 +01:00
Raphaël Zumer 67903b7974 Include romlist.bin with Linux CI artifacts 2019-12-13 13:01:06 -05:00
Raphaël Zumer 55db337c8d Package shared resources with Windows CI artifacts 2019-12-13 13:00:42 -05:00
Raphaël Zumer 86ae2e02d0 Fix Ubuntu CI when Microsoft breaks repositories 2019-12-13 09:59:28 -05:00
Raphaël Zumer 331c3c3b86 Upload CI build artifacts 2019-12-12 22:58:30 -05:00
Raphaël Zumer 546e7ded96 Add Windows CI configuration 2019-12-12 21:35:19 -05:00
Raphaël Zumer 469ff2d932 Update packages on CI before installing 2019-12-12 17:07:52 -05:00
Raphaël Zumer d2e7519763 Enable GitHub CI on pull request
Also rename the build to be more specific.
2019-12-12 15:34:44 -05:00
i404788 295404a5a6
Fix weird spacing 2019-12-12 09:03:01 +00:00
Raphaël Zumer 7027813cb2 Add C/C++ with CMake GitHub workflow
This enables continuous integration
with GitHub Actions.
2019-12-11 11:46:23 -05:00
Raphaël Zumer f8e43ac486 Display solar sensor level changes on OSD 2019-12-10 19:24:30 -05:00
Raphaël Zumer f257b007a2 Properly pass through GBA GPIO writes 2019-12-10 19:10:14 -05:00
Raphaël Zumer 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
Raphaël Zumer f6cd66e5b1 Implement solar sensor processing 2019-12-10 17:43:25 -05:00
Raphaël Zumer 9128517b90 Add basic GBA GPIO support, solar sensor detection 2019-12-10 16:36:39 -05:00
Raphaël Zumer 0092937148 Rename SRAMFlash to SRAMFlashState 2019-12-10 16:36:00 -05:00
Raphaël Zumer 4d1f3d419e Clarify comments and credit DeSmuME for Flash I/O 2019-12-10 09:57:15 -05:00
Raphaël Zumer 68d3474458 Fix GBA Flash read/writes and clean up 2019-12-09 07:37:09 -05:00
Raphaël Zumer 8fc9a33a9f Implement GBA cartridge Flash reading and writing 2019-12-09 06:10:26 -05:00