Commit Graph

1114 Commits

Author SHA1 Message Date
RSDuck c58fdbd66b jit: branch instructions 2020-04-26 13:02:58 +02:00
RSDuck ff97211114 jit: thumb block transfer working
also pc and sp relative loads and some refactoring
2020-04-26 13:02:57 +02:00
RSDuck 2c44bf927c JIT: most mem instructions working
+ branching
2020-04-26 13:02:57 +02:00
RSDuck 5f932cdf48 JIT: compilation of word load and store 2020-04-26 13:02:56 +02:00
RSDuck ff901141e7 jit: correct cycle counting for thumb shift by reg 2020-04-26 13:02:55 +02:00
RSDuck ebce9f035f JIT: implemented most ALU instructions 2020-04-26 13:02:55 +02:00
RSDuck c5c342c009 JIT: base
all instructions are interpreted
2020-04-26 13:02:53 +02:00
Arisotura d2f05cd30f prepare JIT beta branch 2020-04-26 13:02:26 +02:00
Arisotura 5ef71181c8 goodbye old CodeBlocks project 2020-04-25 15:04:46 +02:00
Arisotura 1c756843f0
Merge pull request #588 from rzumer/gh-master
Disable CI on non-master branches
2020-04-15 11:30:14 +02:00
Arisotura 1b5e53f1df
Merge pull request #601 from nadiaholmquist/fix/msys2-sdl
Fix build with latest MSYS2 SDL2 package
2020-04-15 11:23:16 +02:00
Arisotura 0701257546 add credit for the icon 2020-04-14 23:32:47 +02:00
Nadia Holmquist Pedersen 4b57416552 Windows: explicitly link gdi32 2020-04-12 17:15:39 +02:00
Nadia Holmquist Pedersen a6150a9a9e Use pkg-config to find SDL2 on Windows 2020-04-12 16:59:06 +02:00
Arisotura ec6e4a2d1e GPU3D: more accurate viewport transform (emulate quirk with W greater than 0xFFFF) 2020-04-12 16:40:08 +02:00
Arisotura 33b4cdb077 GPU3D: implement zero-dot W limit (DISP_1DOT_DEPTH) 2020-04-12 14:01:43 +02:00
Arisotura 4c560f3324 GPU3D: swap vin and vout during clipping, giving results that are closer to hardware.
fixes #598 and also fixes #379
2020-04-11 23:56:36 +02:00
Arisotura d412630a49 should probably be a strncmp() and not strncasecmp() 2020-03-30 13:28:51 +02:00
Arisotura d2cae446b9 Merge branch 'master' of https://github.com/Arisotura/melonDS 2020-03-30 11:05:09 +02:00
Arisotura 104b2a03aa properly handle ROMs with encrypted secure area 2020-03-30 11:04:50 +02:00
Raphaël Zumer fa1558319b Disable CI on non-master branches 2020-03-21 18:40:44 -04:00
Arisotura 57c1e6587e
Merge pull request #581 from niemand-deu/patch-1
Small tweak to the missing files error message.
2020-02-27 14:59:31 +01:00
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