Commit Graph

7005 Commits

Author SHA1 Message Date
Vicki Pfau b8087c1d97 Test: Fix no-return register ROM tester usage 2022-07-09 05:08:33 -07:00
Vicki Pfau 5ad8907acb Test: Use core register API instead of hardcoding 2022-07-09 04:34:39 -07:00
Vicki Pfau 8c2f2a8649 GB Core: Case-insensitive register name matching 2022-07-09 03:59:04 -07:00
Vicki Pfau 325f59f404 Test: Make logging configuration work with ROM tester 2022-07-09 02:34:39 -07:00
Vicki Pfau 8997055fc0 Core: Migrate SDL logging enhancements into core 2022-07-09 02:34:10 -07:00
Vicki Pfau 01c881d18d Debugger: Minor parser refactoring; fix crash 2022-07-06 23:55:49 -07:00
Vicki Pfau 5b3fea3038 Qt: More Windows frame-pacing fixes 2022-07-04 21:30:14 -07:00
Vicki Pfau 38ae69d54d Qt: Remove broken-on-ninja ts.cmake 2022-07-03 21:17:21 -07:00
Vicki Pfau 0cfaf0a240 Qt: Add more bounds checks to tile selection 2022-07-03 18:53:55 -07:00
Vicki Pfau 76d6055bb0 Qt: Improve frame pacing, maybe 2022-07-03 06:45:50 -07:00
Vicki Pfau 9bcfd248e9 Qt: Fix bounded sync when sync to video is enabled 2022-07-03 06:45:50 -07:00
Vicki Pfau c11392e77a Qt: Early painter abort 2022-07-03 06:45:50 -07:00
Vicki Pfau 2700bf2c97 Qt: Don't attempt to draw a frame if holding an interrupter 2022-07-03 04:19:08 -07:00
Vicki Pfau fa5c5e9601 Scripting: Fix memory domain writing 2022-07-02 22:49:47 -07:00
Vicki Pfau 57880bf674 Core: Add romSize function 2022-07-02 22:49:47 -07:00
Vicki Pfau 71f74d25b0 GBA: Fix 64 MiB GBA Video ROMs 2022-07-02 22:49:47 -07:00
Vicki Pfau 977b184ecb Feature: More warning burndown 2022-07-02 03:17:58 -07:00
Vicki Pfau e03e48f9c6 Scripting: Use return with lua_error so static analysis gets less confused 2022-07-02 03:11:34 -07:00
Vicki Pfau 39886c72f5 Qt: Update translations 2022-07-01 23:57:46 -07:00
Dardo Marasca c71baa0c87 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-07-01 23:51:16 -07:00
Lothar Serra Mari dcd63f1ceb Qt: Update translation (German)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2022-07-01 23:51:00 -07:00
Vicki Pfau ae33504577 Core: Fix memory leak when refreshing a directory 2022-07-01 23:42:41 -07:00
Vicki Pfau 7f91cfe58d GBA: Fix some ROM buffer handling issues with oddly sized files 2022-07-01 23:37:50 -07:00
Vicki Pfau dd29e0cad3 Qt: Clean up views 2022-07-01 20:25:25 -07:00
Vicki Pfau d053058ea3 Scripting: Add boolean type 2022-07-01 02:02:55 -07:00
Vicki Pfau fa985d5798 Scripting: Add save state file API 2022-07-01 00:48:18 -07:00
Vicki Pfau 9515de7212 Scripting: Add loading API 2022-07-01 00:34:33 -07:00
Vicki Pfau 84e60e99f4 All: More warning burndown 2022-06-30 05:55:56 -07:00
Vicki Pfau 96c137c1a2 Core: Fix leaks and clean up mDirectorySet 2022-06-30 04:42:58 -07:00
Vicki Pfau 11589d874f Qt: Fix leak when opening a ROM in an archive 2022-06-30 04:42:58 -07:00
Vicki Pfau 68ef5d3a5b GB: Fix replacing the ROM crashing when accessing ROM base 2022-06-30 04:42:58 -07:00
Vicki Pfau 0979380c74 Debugger: Shaving recursive yaks takes a lot of work 2022-06-28 18:43:15 -07:00
Vicki Pfau 1bf1a97023 GBA Video: Fix sprite layer priority updating in GL 2022-06-28 02:23:39 -07:00
Vicki Pfau 2969a8bf7a Core: Fix cache writes that span multiple tiles 2022-06-27 21:10:16 -07:00
Vicki Pfau 5c80fa67ef Qt: Fix Quit role 2022-06-24 22:24:05 -07:00
Vicki Pfau 6629aeebec GBA Video: Fix high tiles rendering wrong on macOS 2022-06-24 21:46:02 -07:00
Vicki Pfau d21da6df2d Qt: Fix crash when calling createBuffer from a callback 2022-06-24 19:01:10 -07:00
Vicki Pfau e8a39fea95 All: Clean up some warnings 2022-06-24 17:48:52 -07:00
Vicki Pfau f3209e1942 Qt: Move scripting classes into folder 2022-06-24 17:25:53 -07:00
Vicki Pfau 5349cab4b2 Qt: Better error checking in mGLWidget 2022-06-24 01:55:52 -07:00
Vicki Pfau b1f1da4f7d Core: Fix warning 2022-06-24 00:53:15 -07:00
Vicki Pfau 1a61da9f83 Qt: Fix warning 2022-06-24 00:53:06 -07:00
ahigerd 1bda318531
Qt: Refactor the script buffer list into a model (#2566) 2022-06-23 23:15:35 -07:00
Vicki Pfau c1b1f72005 Scripting: Fix crashes when functions return null 2022-06-21 16:17:32 -07:00
ahigerd 8d7c040b46
Don't crash when resetting scripting UI (#2564) 2022-06-20 22:48:55 -07:00
Vicki Pfau 0dce8b392a Scripting: Fix test fallout 2022-06-16 23:45:20 -07:00
Vicki Pfau 79506cef72 Scripting: Fix elision of MemoryDomain documentation 2022-06-16 23:40:37 -07:00
Vicki Pfau 840e2806b5 Scripting: Basic void type bringup 2022-06-16 23:40:11 -07:00
Vicki Pfau 0b2cfb505f Qt: Fix build on older Qt 2022-06-16 22:01:03 -07:00
Vicki Pfau 4851109027 Core: Add wallclock offset RTC type 2022-06-16 21:57:45 -07:00
Vicki Pfau a60bc18ad0 CMake: Cleanup and enhance FindFeature, fix static libedit 2022-06-16 16:12:32 -07:00
Vicki Pfau ddccbee47b Qt: Show correct channel for modern macOS builds 2022-06-16 15:41:28 -07:00
Vicki Pfau 07221181ea Qt: Fix VAO reinitialization 2022-06-16 15:39:29 -07:00
Vicki Pfau fa910fc629 Mac: Start bringing up Universal build support 2022-06-15 23:31:20 -07:00
Vicki Pfau 6159c5a70b GBA Audio: Decrunchify GB audio 2022-06-15 20:34:06 -07:00
Vicki Pfau 33b3d33da2 Core: Rename GBAStereoSample to mStereoSample 2022-06-15 18:39:38 -07:00
Vicki Pfau a0613e27ab SDL: Support exposing an axis directly as the gyro value (closes #2531) 2022-06-14 21:12:53 -07:00
Vicki Pfau f7d8b77bd4 GB MBC: Fix edge case with Pocket Cam register accesses (fixes #2557) 2022-06-14 15:15:11 -07:00
Vicki Pfau 4707368d7f Qt: Fix typo 2022-06-14 00:17:54 -07:00
Vicki Pfau 7f453ce202 GBA Video: Fix horizontal lines in GL when charbase is changed (fixes #1631) 2022-06-14 00:13:51 -07:00
Vicki Pfau d2ac7c4ca0 Qt: Add Lua to report view 2022-06-10 20:59:27 -07:00
Vicki Pfau c12fa581b3 Scripting: Fix build with Lua 5.1 and 5.2 2022-06-10 20:51:33 -07:00
Vicki Pfau 601d025e30 Scripting: Fix require return values 2022-06-10 19:55:45 -07:00
Vicki Pfau 9ac6096c3d GB SIO: Fix bidirectional transfer starting (fixes #2290) 2022-06-09 21:10:27 -07:00
Vicki Pfau d9092c6acf Scripting: Invert search order 2022-06-09 16:37:40 -07:00
Vicki Pfau 45b47c32d2 Scripting: Much cleaner require shimming 2022-06-09 16:18:34 -07:00
Vicki Pfau aee35a4442 Scripting: More cleanup 2022-06-09 14:54:30 -07:00
Vicki Pfau b43509e705 Scripting: Free memory leak 2022-06-09 01:00:46 -07:00
Vicki Pfau 3e4f1fcb2e Scripting: Lua requires should be relative to the file they were run from 2022-06-08 21:44:01 -07:00
Vicki Pfau b42b997f00 Scripting: Why does this function take PCWSTR?? 2022-06-08 18:04:43 -07:00
Vicki Pfau 6e196748d8 Scripting: Hand off full filename to Lua, add directory to DLL search path 2022-06-08 17:55:37 -07:00
Vicki Pfau 7b8ba05f88 Qt: Only disable DisplayGL updates on Windows 2022-06-08 15:32:49 -07:00
Vicki Pfau ae0c5e91aa Qt: Simplify Window drawing (fixes #2190) 2022-06-08 15:32:42 -07:00
Vicki Pfau 97cb18d3fd GBA Video: Fix two sprite boundary conditions in OpenGL 2022-06-08 01:53:35 -07:00
Vicki Pfau 7a07b148cb GBA Video: Fix OBJ tile wrapping with 2D char mapping (fixes #2443) 2022-06-08 00:15:52 -07:00
Vicki Pfau 5ba82aaed0 GB I/O: Windowed WAVE RAM reading only works on CGB, not CGB-on-AGB 2022-06-07 00:21:16 -07:00
Vicki Pfau f9e03e7182 GBA Memory: Implement adjustable EWRAM waitstates (closes #1276) 2022-06-07 00:05:27 -07:00
Vicki Pfau fda7f83855 GB I/O: Fix writing to WAVE RAM behavior (fixes #1334) 2022-06-06 22:57:45 -07:00
Vicki Pfau 00421cd046 GB Audio: Fix APU re-enable timing glitch 2022-06-06 22:35:35 -07:00
Vicki Pfau 542824e3c0 CMake: Minor fixes 2022-06-06 21:40:18 -07:00
shinyoyo aad78be37f Update new translated Simplified Chinese entry 2022-06-06 01:12:45 -07:00
Vicki Pfau 11837ffc15 ARM: Disassemble Thumb mov pseudo-instruction properly 2022-06-05 20:59:30 -07:00
Vicki Pfau 3687863cbc Scripting: Add callback removing 2022-06-05 20:36:54 -07:00
Vicki Pfau 10eb2b9784 Scripting: Add root-scope docstrings 2022-06-05 03:29:18 -07:00
Vicki Pfau 00bd093fe3 Scripting: Add bitmask handling functions 2022-06-05 03:29:18 -07:00
Vicki Pfau d4c1ab1728 Scripting: Fix some Lua memory lifetimes 2022-06-05 03:29:18 -07:00
Vicki Pfau d6accc4ef6 Scripting: Add calling functions with lists 2022-06-05 03:29:18 -07:00
Celeste Wouters e87ba99140 GBA Memory: update the renderer on rawWrite{16,32}/GBAPatch{16,32}
rawWrite{16,32}/GBAPatch{16, 32} is used by the memory editor on Qt,
and changes to the VRAM area there were not reflected on the graphical
output, palette or OAM writes are. This fixes this inconsistency.
2022-06-04 13:43:34 -07:00
Vicki Pfau 3c228dad60 Qt: Fix games not displaying on macOS after first run 2022-06-03 23:45:34 -07:00
Vicki Pfau 9f5267e24e GBA Audio: Claw back some performance 2022-06-03 22:36:19 -07:00
Vicki Pfau f4217a7a77 GBA Video: Use memset instead of manually assigning 2022-06-03 15:41:07 -07:00
Vicki Pfau 46b59268d3 GB Audio: Optimize channel 4 2022-06-02 23:26:15 -07:00
Vicki Pfau c19457aa4b GBA Overrides: Add Game Boy Wars Advance 1+2 entry (fixes #2540) 2022-06-02 22:19:15 -07:00
Vicki Pfau 818314a6fd GBA I/O: SOUNDBIAS is readable when sound is off (fixes #2541) 2022-06-02 22:19:07 -07:00
Vicki Pfau 3c0d9f7197 GBA Audio: Sample FIFOs at SOUNDBIAS-set frequency 2022-06-01 19:13:05 -07:00
Vicki Pfau 29dbb55c80 GBA I/O: Unstub SOUNDBIAS 2022-06-01 02:32:21 -07:00
Vicki Pfau cbbcf7478e GBA Audio: Adjust PSG sampling rate with SOUNDBIAS 2022-06-01 02:15:07 -07:00
Vicki Pfau cdabfd491b GB Audio: Minor optimizations 2022-06-01 01:29:33 -07:00
Vicki Pfau 76a8f4da2b GB Audio: Migrate channel 3 into GBRunAudio 2022-06-01 01:29:33 -07:00
Vicki Pfau 779e7bc94b GB Audio: Migrate channel 4 into GBRunAudio 2022-06-01 01:11:45 -07:00
Vicki Pfau 68f628a211 GB Audio: Redo channels 1 and 2 2022-06-01 01:11:40 -07:00
Vicki Pfau 5e6d063aa1 Qt: I'm so tired 2022-05-30 22:53:21 -07:00
Vicki Pfau 39bb404332 Qt: Actually fix the build order this time, except with MSVC, but I'll take it 2022-05-30 22:50:53 -07:00
Vicki Pfau 14f217963c Qt: Attempt to fix build order again 2022-05-30 22:43:38 -07:00
Vicki Pfau 4f9cfd5a7e Qt: Attempt to fix build order 2022-05-30 22:02:47 -07:00
Vicki Pfau 61bc17953b Updater: Add support for appimage 2022-05-30 21:46:08 -07:00
Vicki Pfau 82ac857c2c Qt: Update translations 2022-05-29 20:39:09 -07:00
Vicki Pfau 6fd3bfb86b Qt: Fix preloading for ROM replacing 2022-05-29 20:39:09 -07:00
Alejandro Alcaide a9978e9892 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-05-29 19:26:25 -07:00
José J. Placencia Bobadilla 6285387bdd Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-05-29 19:26:25 -07:00
Luna Lyday 9306510023 Qt: Update translation (Polish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2022-05-29 19:26:25 -07:00
LucentW b4df69c0f9 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2022-05-29 19:26:25 -07:00
Vicki Pfau 0c02f2798a GBA Video: Fix sprites with mid-frame palette changes in GL (fixes #2476) 2022-05-29 18:49:40 -07:00
Vicki Pfau 511a12c507 GBA Video: Fix highlighting for sprites with mid-frame palette changes 2022-05-29 18:46:34 -07:00
Vicki Pfau 81289cdb62 Scripting: More MSVC fixes 2022-05-29 14:32:51 -07:00
Vicki Pfau 4358364830 CMake: Fix Lua build with older versions 2022-05-29 13:53:04 -07:00
Vicki Pfau b6ec54dadf Merge branch 'feature/scripting' 2022-05-29 13:29:20 -07:00
Vicki Pfau 8e617556e9 Scripting: Get docgen to print to file, fix some warnings 2022-05-29 02:44:17 -07:00
Vicki Pfau 2471648dd0 Scripting: Start bringing up composite wrapper types 2022-05-29 02:44:17 -07:00
Vicki Pfau 6ebe735a73 Scripting: Add filename parameter to emu:screenshot 2022-05-29 02:44:17 -07:00
Vicki Pfau 64fba235b2
Merge pull request #2452 from ahigerd/alh/nicer-logging-checkboxes
Clean up rendering of logging grid checkboxes
2022-05-28 23:39:22 -07:00
Vicki Pfau 38299f397f GBA: Overdue constant prefixing 2022-05-28 20:58:57 -07:00
Vicki Pfau c8978fd425 Util: Rebalance non-hashed Tables too 2022-05-28 19:03:27 -07:00
Vicki Pfau 21e2ccb025 Qt: Improve cheat parsing (fixes #2297) 2022-05-28 15:04:18 -07:00
Vicki Pfau edc2e1b7f5 Scripting: Pass back old buffers when reopening view 2022-05-27 20:19:29 -07:00
Vicki Pfau 997adecddc Scripting: Add MRU 2022-05-27 20:19:29 -07:00
Vicki Pfau df60b17639 Scripting: Expose core reset 2022-05-27 20:19:29 -07:00
Vicki Pfau ccc7cd4d7f Scripting: Expose more save state functionality 2022-05-27 20:19:29 -07:00
Vicki Pfau fd202105ef Scripting: Improve docs 2022-05-27 20:19:29 -07:00
Vicki Pfau ced8fb516c Scripting: Expose more key functionality 2022-05-27 20:19:29 -07:00
Vicki Pfau 85b619dc78 Scripting: Add register information to docgen 2022-05-27 20:19:29 -07:00
Vicki Pfau 42efdc46eb Scripting: Add class-level docstrings 2022-05-27 20:19:29 -07:00
Vicki Pfau fc34b72741 Scripting: Add prototype documentation generator, outputs to YAML 2022-05-27 20:19:29 -07:00
Vicki Pfau c6e68f7224 Scripting: Expose information about the memory domains 2022-05-27 20:19:29 -07:00
Vicki Pfau 98c371b769 Scripting: Rename mScriptCallbackAdapter to mScriptCallbackManager 2022-05-27 20:19:28 -07:00
Vicki Pfau f739c28b5f Scripting: Rename mScriptMemoryAdapter to mScriptMemoryDomain 2022-05-27 20:19:28 -07:00
Vicki Pfau 6b2fa8fe67 Scripting: Add more docstrings 2022-05-27 20:19:28 -07:00
Vicki Pfau e69be0cc6f Scripting: Add reset menu opiton 2022-05-27 20:19:28 -07:00
Vicki Pfau b3476a997a Scripting: Pass filenames down to scripting engines 2022-05-27 20:19:28 -07:00
Vicki Pfau b84a549e8c Scripting: Expose mCore.checksum function 2022-05-27 20:19:28 -07:00
Vicki Pfau 7a6b16dc41 Scripting: Fix up Lua tables 2022-05-27 20:19:28 -07:00
Vicki Pfau 7bc7656988 Scripting: Memory fixes 2022-05-27 20:19:28 -07:00
Vicki Pfau 304d8d1a4d Scripting: More API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 7e36a71953 Scripting: Fix segment addressing 2022-05-27 20:19:28 -07:00
Vicki Pfau a747545014 Scripting: Improve Lua error reporting 2022-05-27 20:19:28 -07:00
Vicki Pfau d15bd4969e Res: Add WIP example Pokemon script 2022-05-27 20:19:28 -07:00
Vicki Pfau 28d7bfdffc Scripting: Add prototype "buffer" pseudo-TUI interface 2022-05-27 20:19:28 -07:00
Vicki Pfau f570786d78 Scripting: Add memory range reading 2022-05-27 20:19:28 -07:00
Vicki Pfau 9c6068a526 Scripting: Start bringing up lists in lua 2022-05-27 20:19:28 -07:00
Vicki Pfau 31a7f09b8a Scripting: Add register read/write 2022-05-27 20:19:28 -07:00