Commit Graph

21 Commits

Author SHA1 Message Date
346dd4006e Move all core types into namespaces (#1886)
* Reorganize namespaces

- Most types are now moved into the `melonDS` namespace
- Only good chance to do this for a while, since a big refactor is next

* Fix the build
2023-11-25 18:32:09 +01:00
8f1b0d4a05 convert AREngine 2023-11-04 17:28:16 +01:00
ac38faef14 update copyright years 2023-11-04 00:21:46 +01:00
bc71618457 remove AR code size limit (#1802)
Co-authored-by: Arisotura <thetotalworm@gmail.com>
2023-08-27 13:34:11 +02:00
79dfb8dc8f Introduce Platform::Log (#1640)
* Add Platform::Log and Platform::LogLevel

* Replace most printf calls with Platform::Log calls

* Move a brace down

* Move some log entries to one Log call

- Some implementations of Log may assume a full line

* Log the MAC address as LogLevel::Info
2023-03-23 18:04:38 +01:00
0761fe736f add support for zero-address in AR codes 3-A 2022-01-28 20:56:08 +01:00
35cc79787d update copyright headers 2022-01-09 02:15:50 +01:00
e665e25bd3 Custom path support (#1333)
also including:
* getting rid of shitty strings
* all new, cleaner ROM handling code
* base for DSi savestates
* GBA slot addons (for now, memory cart)
2022-01-07 14:00:43 +01:00
436b3c4c1d update copyright year and add missing GPL headers 2021-03-12 20:07:40 +01:00
39af95e869 make the AR engine use the correct bus funcs based on DS/DSi mode 2020-08-24 19:55:20 +02:00
4cefff2528 add AR code file parser and shit 2020-08-13 00:20:34 +02:00
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
3a4947fbbe also that might have been bad for security. who knows. 2020-02-15 17:26:48 +01:00
e40d414c56 now we can even parse the code from a text code. bahaahhhh 2020-02-15 16:20:53 +01:00
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
51dbb7165e finish the AR interpreter, I guess
or mostly
2020-02-15 00:36:22 +01:00
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
eb44833171 well, more AR shito 2020-02-14 21:19:36 +01:00
83f8e11bc1 update copyright years 2020-02-14 20:18:08 +01:00
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
106b9a6f24 lay base for AR cheatzorz. baahahhhh 2020-02-14 19:26:52 +01:00