Commit Graph

876 Commits

Author SHA1 Message Date
Vicki Pfau 7e786068bf ARM: Remove erroneous SMLAL(S) decodings (fixes #3544) 2025-08-10 20:28:24 -07:00
Vicki Pfau 62070f11d5 GBA Video: Disable window interpolation at 1× scale (fixes #1810) 2025-07-15 15:26:08 -07:00
Felix Jones db5a2bbbfc Debugger: Allow setting a temporary breakpoint for internal usage 2025-07-14 14:53:59 -07:00
Vicki Pfau 9f2a555204 Core: Narrow axis values to 16 bits in input core 2025-06-21 01:32:33 -07:00
Vicki Pfau 9a4c4e720f Util: Use FreeType's stroker instead of an SDF 2025-06-08 23:10:45 -07:00
Vicki Pfau 7fa4acf1c7 Util: Add text metrics functions 2025-06-08 22:19:02 -07:00
Vicki Pfau 467768d414 Scripting: Expose some basic geometric utility types 2025-06-08 21:57:01 -07:00
Vicki Pfau c4d3cf7de5 Util: Add somewhat hacky SDF masking for outlined text rendering 2025-06-06 01:55:10 -07:00
Vicki Pfau 67b5a51614 Util: Add basic text rendering, expose to scripting 2025-05-31 23:26:28 -07:00
Vicki Pfau 30a94053c3 GB MBC: Add M161 support for one Mani 4-in-1 multicart 2025-05-22 02:54:50 -07:00
Vicki Pfau 35f287e24c Windows: Fix some MSVC warnings 2025-05-04 00:24:39 -07:00
Vicki Pfau c4ae9015d9 Util: Add and use ATTRIBUTE_NONSTRING to fix warnings 2025-05-02 04:35:19 -07:00
CasualPokePlayer c5cddc0407
RTC state machine improvements (#3459)
* Try to correct the RTC state machine to only operate on edges

Unsure if all of this is entirely right (haven't ran any tests to confirm behavior here). Fixes RTC within Pokemon games (and maybe other games) due to the added write latch code adding a _readPins call.

* More correct behavior based on testing

* Move this init to align to struct

* Correctly handle rtc output on falling edges rather than raising edges

also correctly handle rtc output in general, even in cases outside of an rtc read cmd
_outputPins needed to be corrected here, it shouldn't be reading gpioBase here...

* Simplify

* More RTC state machine fixes

Separate out command start and command write data processing
Command start processing happens again if the command magic is invalid (note: doesn't apply to the unmapped command 5)
Ensure command data processing loops
Output 1s for commands with no actual output

* Put SIO output in states

* Try to correct light sensor too

* inc state version

* fix reserved names
2025-04-29 22:48:23 -07:00
Vicki Pfau 233c6a2836
Merge pull request #2570 from ahigerd/alh/library
rewrite Qt library frontend
2025-04-09 19:01:26 -07:00
CasualPokePlayer 8740f3dde1 Narrow these in runtime struct too 2025-04-06 21:20:39 -07:00
CasualPokePlayer 57d1552582 Increment state version, narrow direction in state too 2025-04-06 21:20:39 -07:00
CasualPokePlayer 3ae429fd91 Implement GPIO internal write latch
Regardless of direction, a write to GPIO data actually succeeds fully with all 4 bits. However, this does not directly touch the pin state. It instead places it into an internal write only latch. This latch asserts bits onto the pin state if direction allows for such, otherwise the other side (e.g. RTC) will be the one asserting bits (but this does not end up touching the internal write latch).

The implementation here is likely not entirely accurate for direction changes from out to in (as that depends on each external device implementation), but it should be correct for in to out changes.
2025-04-06 21:20:39 -07:00
Adam Higerd 447054674d Library: store platform models in database, render GBC/SGB icons 2025-03-31 10:18:52 -05:00
Vicki Pfau 0e42f9d561 Util: Bring up MD5 and SHA-1 library and No-Intro querying 2025-03-30 20:58:05 -07:00
Vicki Pfau eb781d290b Core: Add SHA1 hashing for ROMs 2025-03-30 16:44:33 -07:00
Vicki Pfau 51e813aa9a Core: Add ENABLE_DIRECTORIES to optionally slim down VFS further 2025-02-28 16:18:02 -08:00
Vicki Pfau 7607a5bea9 GB MBC: Add Sintax support 2025-02-12 03:52:03 -08:00
Vicki Pfau a9041b122f GBA Video: Allow proxy flush timing configuration 2025-02-10 02:23:53 -08:00
Vicki Pfau 2e7918d8b2 GBA: Update some register information with new stereoscopy discoveries 2025-02-07 03:03:09 -08:00
Vicki Pfau 7fe4f4593e GBA Savedata: Rename flash ID constants, add missing entries 2025-01-20 16:55:30 -08:00
Vicki Pfau 7012f9c666 Debugger: Allow memory access logs to operate read-only 2025-01-15 23:46:20 -08:00
Vicki Pfau b8c890e1bc Debugger: Plumb access source information through to access logger 2025-01-14 03:30:28 -08:00
Vicki Pfau 75dc290853 Debugger: Expose mDebuggerAccessLoggerGetRegion 2025-01-12 04:30:12 -08:00
Vicki Pfau 77e50f7aec Feature: Add ability for subparsers to consume extra arguments 2025-01-10 02:45:27 -08:00
Vicki Pfau 39ced7dd81 Windows: Don't redefine WIN32_LEAN_AND_MEAN if already defined 2024-12-31 16:52:34 -08:00
Vicki Pfau 08430fc058 mGUI: Load parent directory if last used directory is missing (fixes #3379) 2024-12-22 04:50:46 -08:00
Vicki Pfau edaa27796b GBA: Improve reset behavior of various hardware components 2024-12-11 17:24:22 -08:00
Vicki Pfau 109fbe60f5 GBA Hardware: Fix loading states unconditionally overwriting GPIO memory 2024-12-11 16:24:51 -08:00
Vicki Pfau a5e3e746b2 GBA Unlicensed Carts: Prevent multicarts from remapping after being locked 2024-11-23 19:46:44 -08:00
Vicki Pfau bdb0057fb3 GBA Serialize: Add support for Vast Fame state 2024-11-23 03:23:05 -08:00
Vicki Pfau dc263295dd GBA Memory: Add unlicensed cart write handling stub 2024-11-17 03:34:33 -08:00
Vicki Pfau 91cf829261 GBA Memory: Add initial support for N-in-1 style multicarts 2024-11-17 02:58:25 -08:00
Vicki Pfau 4d6fb5b3c5 Scripting: Combine frame argument and return value stacks
These were never used a the same time, and it reduces malloc/free churn
2024-11-08 02:27:45 -08:00
Vicki Pfau 4a5a25e90c GBA DMA: Cache cycle estimation on first DMA 2024-10-18 03:50:09 -07:00
Vicki Pfau 2ccfde0f33 Core: Add MD5 hashing for ROMs 2024-10-08 04:09:26 -07:00
Vicki Pfau 58510ca250 Util: Add MD5 implementation and consistency tests 2024-10-08 04:06:39 -07:00
Vicki Pfau 7950279a09 Core: Split out semantics of rumble integrator init/reset (fixes #3309) 2024-10-04 22:20:21 -07:00
Vicki Pfau bfc52cd2f0 All: Fix whitespace errors 2024-09-30 17:24:04 -07:00
Vicki Pfau 7089a5572b GBA SIO: Add periodic hard sync so the runner doesn't get too ahead 2024-09-29 19:58:56 -07:00
Vicki Pfau 1d584edb77 GBA: Expose setting the link port device as a peripheral 2024-09-28 00:24:31 -07:00
Vicki Pfau 0823797671 GBA SIO: Remove driver sets and driver load/unload concepts 2024-09-28 00:24:31 -07:00
Vicki Pfau 630e3a591a GBA SIO: Add support for side data in save states 2024-09-26 22:40:26 -07:00
Vicki Pfau 26e20ca846 GBA SIO: Remove old lockstep driver 2024-09-26 22:40:26 -07:00
Vicki Pfau 0955b94466 GBA SIO: Bring up new lockstep driver 2024-09-26 22:40:26 -07:00
Vicki Pfau 36c1a8cfbc Core: Implement mLockstepUser for mCoreThread 2024-09-26 22:40:26 -07:00