Commit Graph

7831 Commits

Author SHA1 Message Date
oltolm 26ea53b024 fix numpad shortcuts 2024-10-31 16:45:51 -07:00
Jan200101 377ddf5081 Qt: Recreate Window to release old surface and create a OpenGL one 2024-10-30 17:11:44 -07:00
Vicki Pfau 47e5cd2432 Qt: Fix "QFSFileEngine::open: No file name specified" warning 2024-10-29 22:56:39 -07:00
oltolm 65b14b4ad9 fix assignment of modifier keys 2024-10-29 22:48:41 -07:00
Vicki Pfau 279485fc3e Qt: Fix saving named states breaking when screenshot states disabled (fixes #3320) 2024-10-20 18:04:30 -07:00
Vicki Pfau 1c739e39e7 GBA DMA: Minor branch optimization 2024-10-18 05:08:14 -07:00
Vicki Pfau 4a5a25e90c GBA DMA: Cache cycle estimation on first DMA 2024-10-18 03:50:09 -07:00
Vicki Pfau afff68cfc0 Qt: Show a dummy shader settings tab if shaders aren't supported 2024-10-11 21:52:48 -07:00
Vicki Pfau 67c3c40989 Util: Shut Coverity up about a false positive 2024-10-09 00:26:10 -07:00
Vicki Pfau 4ef98c7ddf Core: Fix patch autoloading leaking the file handle 2024-10-08 04:39:53 -07:00
Vicki Pfau eaf45b9ab8 GB, GBA: Clean up some corner cases with ROM fd closing 2024-10-08 04:34:30 -07:00
Vicki Pfau 7e474db93a Qt: Fix some new SIO cleanup issues 2024-10-08 04:32:43 -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 5fb7c5e3ee Core: Add sanity check for mDirectorySetOpenSuffix 2024-10-04 17:17:59 -07:00
Vicki Pfau 541ed9606c Core: Check for null when autoloading/saving cheats 2024-10-04 17:13:43 -07:00
Vicki Pfau c71cd4a81b Qt: Improve --script help 2024-10-01 02:02:18 -07:00
Vicki Pfau bfc52cd2f0 All: Fix whitespace errors 2024-09-30 17:24:04 -07:00
Vicki Pfau 8941f74292 Qt: Add missing tr()s 2024-09-29 20:27:34 -07:00
Vicki Pfau 36f321f848 Python: Actually fix build 2024-09-29 20:27:34 -07:00
Vicki Pfau ed0a63d1b8 Python: Attempt to fix build 2024-09-29 20:09:48 -07:00
Vicki Pfau d57bb82d22 Merge branch 'feature/new-sio' 2024-09-29 20:00:23 -07:00
Vicki Pfau f0d65b73e8 GBA SIO: Late cleanup 2024-09-29 19:59:02 -07:00
Vicki Pfau 3f7cfb3e32 GBA SIO: Attempt to clean up resyncing on disconnects 2024-09-29 19:58:56 -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
CasualPokePlayer a26971cdc7 This should be in Deserialize not Serialize 2024-09-29 00:58:29 -07:00
CasualPokePlayer 2c1fcf9691 Fix savestates not writing back GPIO variables to gpioBase
Resolves #3294

Also see https://github.com/TASEmulators/BizHawk/issues/4060 (this is fixed with this patch).
2024-09-29 00:58:29 -07:00
Vicki Pfau 79ed790a4e GBA IO: Fix SIOCNT/RCNT serialization 2024-09-28 00:24:31 -07:00
Vicki Pfau 39d90e5e44 GBA SIO: Only set up GBP driver if no other driver is loaded 2024-09-28 00:24:31 -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 5db42e83c9 Qt: Delay attaching SIO driver until a second player is connected 2024-09-28 00:24:31 -07:00
Vicki Pfau 7fa572e3ff GBA SIO: Split lockstep interval for linked and unlinked times 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 f2bbf8e66c GBA SIO: Support save states in lockstep driver 2024-09-26 22:40:26 -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 cd8933415c Qt: Switch to new GBA 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
Vicki Pfau 0b9cf1270c GBA SIO: Modify GBASIOTransferCycles to not require SIO struct 2024-09-26 22:40:26 -07:00
Vicki Pfau 621eb4d425 GBA SIO: Move starting/end timing logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 435c4aa243 GBA SIO: Improve RCNT emulation 2024-09-26 22:40:26 -07:00
Vicki Pfau 0425dadee9 GBA SIO: Add RCNT bitfield 2024-09-26 22:40:26 -07:00
Vicki Pfau 914d879811 GBA SIO: Allow seamless mode switching if driver supports it 2024-09-26 22:40:26 -07:00
Vicki Pfau ab655db3f8 GBA SIO: Fix NORMAL timing out 2024-09-26 22:40:26 -07:00
Vicki Pfau b572e8b09f GBA SIO: Fix SIO register writing per mode 2024-09-26 22:40:26 -07:00
Vicki Pfau aeb547e3dc GBA SIO: Finish up GBASIOWriteRegister logging 2024-09-26 22:40:26 -07:00
Vicki Pfau aad552ff47 GBA SIO: Add writeRCNT callback, mostly for GPIO mode 2024-09-26 22:40:26 -07:00
Vicki Pfau 5da4b1fc4d GBA SIO: Replace writeRegister with writeSIOCNT 2024-09-26 22:40:26 -07:00
Vicki Pfau 9998de4880 GBA SIO: Move more write logging out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 54c9e9d411 GBA SIO: Move NORMAL finishing logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 1b0b540de6 GBA SIO: Move cycle estimation values into core 2024-09-26 22:40:26 -07:00
Vicki Pfau cd4132fba3 GBA SIO: Move MULTI finishing logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau f9e15c53d9 GBA SIO: Move more SIO logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 09a69a32c0 GBA SIO: Start moving common SIO logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 451da0f8a4 GBA SIO: Start adding new SIO callbacks for revamped API 2024-09-26 22:40:26 -07:00
Vicki Pfau 4cfa9c6545 Python: Remove SIO API pending revamp 2024-09-26 22:40:26 -07:00
Vicki Pfau 4b0b6b5d37 Scripting: Fix readRegister return type 2024-09-26 21:22:08 -07:00
Vicki Pfau c564a20970 GBA I/O: Fix 8-bit NR44 write 2024-09-20 23:21:14 -07:00
Vicki Pfau 1636078b34 GBA I/O: Fix audio register 8-bit write behavior (fixes #3086) 2024-09-20 03:12:06 -07:00
Vicki Pfau 49fa1a30c5 Qt: Fix Windows shared build 2024-09-19 02:09:20 -07:00
Vicki Pfau c64dbd6631 Qt: Make window corners square on Windows 11 (fixes #3285) 2024-09-19 00:05:58 -07:00
Vicki Pfau b37bd308f2 Qt: Update translations 2024-09-16 02:57:54 -07:00
Vicki Pfau 3853b699f4 Qt: Fix how some languages are shown in settings 2024-09-16 02:56:26 -07:00
Imre Kristoffer Eilertsen 9d9cb7450f Qt: Update translation (Norwegian Bokmål)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/nb_NO/
2024-09-16 02:55:35 -07:00
Evrins Hu a60448d7bc Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2024-09-16 02:55:35 -07:00
Milihraim e4973a98d8 Qt: Update translation (Russian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ru/
2024-09-16 02:55:35 -07:00
Hexaae 3ad4e62b02 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2024-09-16 02:55:35 -07:00
Vicki Pfau bb8a6e05f9 GBA Memory: Add support for palette RAM, VRAM, and OAM to GBAPatch8 2024-09-15 03:18:16 -07:00
Vicki Pfau a6914b2ddb Util: Rename color_t to avoid namespace conflicts 2024-09-06 23:24:40 -07:00
Vicki Pfau 1c85dba0df Core: Fix creating mVL contexts dropping the savestate 2024-09-06 23:24:40 -07:00
Vicki Pfau b072cb40cb Core: Fix video proxy renderer creation and improve API 2024-09-06 23:24:40 -07:00
Vicki Pfau ae6cc33a5e Core: Improve future-proofing of struct initialization 2024-09-06 21:33:09 -07:00
Vicki Pfau 3a07834226 Test: Allow extdata fuzzing 2024-09-06 21:19:34 -07:00
Vicki Pfau a5ea157c9a GBA Video: Add stubs for saving/loading extra data out of the video renderers 2024-09-01 01:56:52 -07:00
Vicki Pfau da553d191f Core: Extdata should not have a size < 0 2024-09-01 01:36:07 -07:00
Vicki Pfau 59b561b8c0 Core: mStateExtdataGet const correctness 2024-09-01 01:28:05 -07:00
Vicki Pfau 3a6657bd88 Core: Add stubs for loading/saving subsystem extra state 2024-09-01 00:55:29 -07:00
Vicki Pfau c06a376b2e Core: Switch video log state load/store to use mCore*State functions 2024-08-31 05:14:54 -07:00
Vicki Pfau 84dd69ff86 Util: Add UIntList predefined vector 2024-08-25 02:32:39 -07:00
anthonydo8196 ecfdff2338
Add load most recent script menu option (#3266) 2024-08-19 18:58:47 -07:00
Vicki Pfau eaee4228ba GBA Video: Improve emulation of window start/end conditions (fixes #1945) 2024-08-16 02:32:44 -07:00
Vicki Pfau e91da0f423 Scripting: Expose currentCycle in debugger builds
The global time is only maintained in debugger builds for performance reasons.
While it can be reconstructed on GBA, this is not the case on GB, so limit it
to debugger builds only.
2024-08-13 18:38:07 -07:00
Vicki Pfau cd22c140f0 GB: Fix potential null pointer deref 2024-08-13 00:16:42 -07:00
Vicki Pfau dfab801277 No-Intro: Prevent database from being downgraded 2024-08-12 16:08:36 -07:00
Vicki Pfau 17cf2e6237 No-Intro: Index database on MD5 and SHA1 too 2024-08-11 23:25:18 -07:00
Vicki Pfau b12858e974 GBA: Fix getting game info for multiboot ROMs 2024-08-11 23:25:18 -07:00
Vicki Pfau 8ab2681bca Core: Expose more ROM information from the API 2024-08-11 23:25:18 -07:00
jmjoy fde15b6e7d Remove SDL_WINDOW_OPENGL flag in mSDLSWInit 2024-08-08 20:34:08 -07:00
Vicki Pfau 09f456484c GB Serialize: Prevent loading invalid states where LY >= 144 in modes other than 1 2024-07-19 19:43:12 -07:00
Adam Higerd eb1b5718c3 Fix misplaced return in previous PR 2024-07-12 17:28:18 -07:00
Adam Higerd d1ab52112a Don't try to load non-.sym files as ARMIPS symbols 2024-07-12 17:20:44 -07:00
Vicki Pfau 9b598d2fe4 GBA Core: Fix crash after loading debug symbols (fixes #3254) 2024-07-11 14:09:35 -07:00
Vicki Pfau 4c161ff4df GBA Core: Fix loading symbols from ELF files if the file doesn't end with .elf 2024-07-07 11:13:32 -07:00
Vicki Pfau 5ebf3822cc Debugger: Remove redundant ifdef 2024-07-07 11:08:29 -07:00
Vicki Pfau bdffa83e6b GB, GBA Core: Fix memory leak if reloading debug symbols
Also fix loading an ELF if the current seek is not 0
2024-07-07 11:03:25 -07:00
Vicki Pfau f394c51a75 Qt: Fix some controllers with multiple players (e.g. Mayflash GC adapter) getting duplicated 2024-07-01 20:52:04 -07:00
Vicki Pfau 0a57aca1a5 Qt: Fix closure argument types 2024-07-01 20:45:26 -07:00
oltolm a824989e5a fix shortcuts 2024-06-28 02:18:01 -07:00