Commit Graph

8027 Commits

Author SHA1 Message Date
Adam Higerd 86df2543e6 PR review updates 2025-03-31 21:06:37 -05:00
CasualPokePlayer 4bca59daa5 Mask away unused GPIO bits
Unused GPIO bits are not writable and always return 0. This is documented on gbatek and I've confirmed this is the correct behavior on my own Emerald cartridge.
2025-03-31 18:44:54 -07:00
Adam Higerd 165cce1a6c fix library icons 2025-03-31 10:18:54 -05:00
Adam Higerd 130319494a switch away from APIs removed / compatibility-broken by upstream 2025-03-31 10:18:54 -05:00
Adam Higerd 578709254f clean up according to PR comments 2025-03-31 10:18:54 -05:00
Adam Higerd 447054674d Library: store platform models in database, render GBC/SGB icons 2025-03-31 10:18:52 -05:00
Adam Higerd ba8671d1d6 Library: rewrite Qt library frontend 2025-03-31 10:12:07 -05:00
Vicki Pfau 93d248859f Qt: Add missing use of isZeroed 2025-03-30 21:33:16 -07:00
Vicki Pfau a9262868fc Qt: Use less questionable way of checking for zeroing 2025-03-30 21:26:14 -07:00
Vicki Pfau 5d7b875629 Scripting: Add SHA1 checksum constant 2025-03-30 21:12:35 -07: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 410fbccb5a GBA e-Reader: Attempt to improve scan consistency 2025-03-26 22:46:45 -07:00
Vicki Pfau 10eb794cfd GB: Better handling of SRAM and ROM unloading/reloading 2025-03-15 03:02:20 -07:00
Vicki Pfau 360a163ad6 Qt: Mark Ut Video string as notr 2025-03-15 02:36:54 -07:00
Vicki Pfau 0b0961b804 Qt: Fix up memory view size hints 2025-03-15 02:30:29 -07:00
Vicki Pfau 50a314913f GB MBC: Ensure SRAM size is properly updated if GBMBCInit is called again 2025-03-15 01:32:37 -07:00
Vicki Pfau 84704502bd Qt: Properly activate context when resizing layers (fixes #3435) 2025-03-14 14:57:01 -07:00
Vicki Pfau cfe04fff88 OpenGL: Fix layer texture generation 2025-03-14 14:55:56 -07:00
Vicki Pfau 95043a5864 Qt: Nahimic sucks 2025-03-14 13:55:14 -07:00
Vicki Pfau 05d1cff6eb FFmpeg: Add Ut Video option 2025-03-11 15:08:47 -07:00
Vicki Pfau aa5f4bc3a4 3DS: Change title ID to avoid conflict with commercial title (fixes #3023) 2025-03-11 14:51:04 -07:00
Vicki Pfau b698d4e317 ARM: Placate Coverity even more 2025-03-08 02:09:54 -08:00
Vicki Pfau 1bbdbd4482 Util: Placate Coverity a bit more 2025-03-08 02:09:28 -08:00
Vicki Pfau ae3a5988d0 Qt: Placate Coverity a bit 2025-03-07 23:10:09 -08:00
Vicki Pfau 2c71435c43 SDL: Add a small bit of allowable extra audio buffering 2025-03-03 19:19:20 -08:00
Vicki Pfau 056f53ff4a Feature: Fix memory leak when recording a video log 2025-02-28 21:37:04 -08:00
Eric Warmenhoven eeb52e4027 libretro: change accelerometer values to be same as for switch 2025-02-28 16:30:48 -08:00
Vicki Pfau 51e813aa9a Core: Add ENABLE_DIRECTORIES to optionally slim down VFS further 2025-02-28 16:18:02 -08:00
Vicki Pfau c302d99d1b Libretro: Add missing SCGB model BIOS name 2025-02-28 03:09:15 -08:00
Vicki Pfau abb46602ca GB: Allow use of CGB-E and AGB-0 BIOS versions (closes #3427) 2025-02-27 02:38:04 -08:00
Vicki Pfau 9923d1b3a1 Util: Cap internal buffer size when unzipping files (fixes #3404) 2025-02-26 23:46:39 -08:00
Vicki Pfau 5fd0ba0d67 GBA Cheats: Let VBA-style codes patch ROM (fixes #3423) 2025-02-23 22:49:08 -08:00
Vicki Pfau 2dc4397c1b Vita: Allow using rear touch pads as L2/L3/R2/R3 (#3054) 2025-02-14 22:54:06 -08:00
Vicki Pfau 6a29f23ca5 Qt: Update translations 2025-02-14 18:19:54 -08:00
reimu105 9c9614e16d Qt: Update translation (Chinese (Simplified Han script))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2025-02-14 18:17:12 -08:00
தமிழ்நேரம் 0d19cf1d5c Qt: Added translation (Tamil)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ta/
2025-02-14 18:17:12 -08:00
Felipe 2e0f926892 Qt: Update translation (Portuguese (Brazil))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2025-02-14 18:17:12 -08:00
reimu105 9c4c541c91 Qt: Update translation (Chinese (Traditional Han script))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2025-02-14 18:17:12 -08:00
Adam Higerd 8c98eafc77 Qt: Fix use-after-free in shader settings 2025-02-13 22:36:31 -08:00
Vicki Pfau 7607a5bea9 GB MBC: Add Sintax support 2025-02-12 03:52:03 -08:00
Vicki Pfau 6221cd2d06 Qt: Enable ROM preloading by default 2025-02-11 05:12:35 -08:00
Vicki Pfau daf01b03d5 3DS: Expose late thread flush as "loose sync" 2025-02-10 02:24:15 -08:00
Vicki Pfau a9041b122f GBA Video: Allow proxy flush timing configuration 2025-02-10 02:23:53 -08:00
Vicki Pfau fc14b4b0da mGUI: Add better description of the fastForwardMute option 2025-02-09 16:27:34 -08:00
Vicki Pfau 55f21cd951 mGUI: Fix saving integer config values 2025-02-09 16:26:36 -08:00
Vicki Pfau d365312757 ARM Debugger: Fix disassembly of ror r0 barrel shift (fixes #3412) 2025-02-07 18:02: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 92e10f31ea Qt: Fix regression where loading BIOS creates a save file (fixes #3359) 2025-01-21 00:50:34 -08:00
Vicki Pfau 2dd11712db Python: Fix some missing constants (fixes #3402) 2025-01-21 00:33:42 -08:00
Vicki Pfau 7fe4f4593e GBA Savedata: Rename flash ID constants, add missing entries 2025-01-20 16:55:30 -08:00
Vicki Pfau e518a5ced0 Debugger: Define and use mDebuggerModuleClearNeedsCallback 2025-01-19 16:58:15 -08:00
Vicki Pfau 4cc49a6700 Qt: Let memory access logs be loaded read-only 2025-01-18 23:46:24 -08:00
Vicki Pfau 7012f9c666 Debugger: Allow memory access logs to operate read-only 2025-01-15 23:46:20 -08:00
Vicki Pfau 311d9f3550 Debugger: Unroll watchpoint access loop 2025-01-14 03:38:30 -08:00
Vicki Pfau b8c890e1bc Debugger: Plumb access source information through to access logger 2025-01-14 03:30:28 -08:00
Vicki Pfau deb4f547fa Qt: GB memory access logger fixes 2025-01-12 22:41:29 -08:00
Vicki Pfau 8c2e2e1d46 Qt: Fix build 2025-01-12 16:22:34 -08:00
Vicki Pfau 6be223d84a Qt: Defer destroying the CoreController until after the CoreController::stopping slots finish 2025-01-12 06:14:10 -08:00
Vicki Pfau 762a54a388 Core: Threads should not attempt to exit a thread that is already dead 2025-01-12 06:01:10 -08:00
Vicki Pfau 159b0dc445 Qt: Add access log view to memory view 2025-01-12 06:00:40 -08:00
Vicki Pfau 75dc290853 Debugger: Expose mDebuggerAccessLoggerGetRegion 2025-01-12 04:30:12 -08:00
Vicki Pfau 511437312c Qt: Revamp memory view layout 2025-01-11 19:47:21 -08:00
Vicki Pfau 87bf982338 Qt: Update translations 2025-01-11 14:54:53 -08:00
Artur Dudka 61d1dc742d Qt: Update translation (Polish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2025-01-11 14:53:15 -08:00
Roll8ack d96ff26983 Qt: Update translation (Chinese (Simplified Han script))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2025-01-11 14:53:15 -08:00
reimu105 e3f3baed51 Qt: Update translation (Chinese (Traditional Han script))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2025-01-11 14:53:15 -08:00
Momo cao 0880b007fa Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2025-01-11 14:53:15 -08:00
Daniel Nylander 34c992eb23 Qt: Update translation (Swedish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/sv/
2025-01-11 14:53:15 -08:00
Felipe 3e5e20c6f0 Qt: Update translation (Portuguese (Brazil))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2025-01-11 14:52:52 -08:00
Vicki Pfau a2fda7f441 Qt: Split MemoryAccessLogView and MemoryAccessLogController 2025-01-11 14:50:30 -08:00
Vicki Pfau f58f9746d7 Qt: Allow passing multiple games on command line for multiplayer (closes #3061) 2025-01-10 02:46:58 -08:00
Vicki Pfau 77e50f7aec Feature: Add ability for subparsers to consume extra arguments 2025-01-10 02:45:27 -08:00
Vicki Pfau 7643a044f4 mGUI: Wrap around menu cursor when navigating past end (closes #3356) 2025-01-09 00:37:54 -08:00
Vicki Pfau 838439dcef Headless: goto considered harmful 2025-01-07 02:44:03 -08:00
Vicki Pfau 20dfbbbe55 CMake: Strip mgba-headless, fix up packaging a bit 2025-01-07 02:40:47 -08:00
Adam Higerd 419435c35b Scripting: send print() to stdout if no console is installed 2025-01-02 20:39:38 -08:00
Vicki Pfau 0ccd3c84dc Qt: Make --script explanation match headless explanation 2025-01-02 02:07:04 -08:00
Vicki Pfau d9aa7d5103 Headless: Rename mgba-rom-test to mgba-headless 2025-01-02 01:59:08 -08:00
Vicki Pfau 69ead6e3c9 ROM Tester: Add script running 2025-01-02 01:59:08 -08:00
Vicki Pfau ef6659d587 Scripting: Make mScriptContextLoad run the script too 2025-01-02 01:59:08 -08:00
Johan Mattsson fe37fa2ab2 Fix potential index out of bounds in DisplayQt.cpp 2025-01-02 01:24:57 -08:00
Vicki Pfau ee21e43bdb Scripting: Install callbacks in mScriptContextAttachCore instead of mCoreThread 2025-01-02 01:21:20 -08:00
Vicki Pfau eb5fc371ff Scripting: Let mScriptContextAttachLogger take NULL for logger 2025-01-02 01:14:11 -08:00
Vicki Pfau 3c59429d96 FFmpeg: Fix build 2025-01-02 00:15:46 -08:00
Vicki Pfau e29b5ac047 FFmpeg: Use avcodec_get_supported_config when present 2025-01-02 00:11:04 -08:00
Vicki Pfau 4eb1dbca36 Core: Quash some warnings 2025-01-01 01:22:08 -08:00
Vicki Pfau 9f5c2aa00c Scripting: Expose MD5 checksum 2024-12-31 17:04:52 -08:00
Vicki Pfau 132293449d Scripting: Attempt to fix Windows build 2024-12-31 16:51:50 -08:00
Vicki Pfau 23531e24b8 Scripting: Remove needless heap allocations 2024-12-31 03:11:31 -08:00
Vicki Pfau 72ee6f9840 Scripting: Expose info table to breakpoint/watchpoint callbacks (closes #3369) 2024-12-31 02:53:14 -08:00
Vicki Pfau abb9bec571 GB Core: Fix cloning savedata when backing file is outdated (fixes #3388) 2024-12-31 01:45:03 -08:00
Vicki Pfau 6b5638efda Core: Improve PNG deserialization logging 2024-12-31 01:35:53 -08:00
Vicki Pfau 4007e19736 CMake: Fix entitlements plist filename 2024-12-29 17:38:14 -08:00
Vicki Pfau ad0d3972a6 Updater: Fix rewriting folders and files on Windows (fixes #3384) 2024-12-28 22:47:13 -08:00
Vicki Pfau d82fc3dec1 FFmpeg: Fix failing to record videos with CRF video (fixes #3368) 2024-12-24 18:54:10 -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 39ab641953 GBA Savedata: Demote savegme time offset message to DEBUG level 2024-12-20 02:14:23 -08:00
Vicki Pfau 1983d0f42c GBA Core: Fix booting into BIOS when skip BIOS is enabled 2024-12-14 22:28:08 -08:00
Vicki Pfau fb0fed21aa Qt: Skip processing QLocale::C if present 2024-12-13 14:48:27 -08:00
Vicki Pfau 34e1ef45b6 Qt: Update translations 2024-12-12 04:08:48 -08:00
Vicki Pfau 0ca391cffc Qt: Fix up how the language names get displayed 2024-12-12 04:08:48 -08:00
Vicki Pfau c2741c73db Qt: Rename LatAm Spanish to just "Spanish" 2024-12-12 04:08:48 -08:00
Momo cao 0df20d2da5 Qt: Update translation (Spanish (Latin America))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es_419/
2024-12-12 04:08:48 -08:00
Roll8ack 082dd75591 Qt: Update translation (Chinese (Simplified Han script))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2024-12-12 04:08:48 -08:00
Daniel Nylander 1e21b38793 Qt: Update translation (Swedish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/sv/
2024-12-12 04:08:48 -08:00
ibizastweet 9099ff0d44 Qt: Update translation (French)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/fr/
2024-12-12 04:08:48 -08:00
Hexaae 54a9457c65 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2024-12-12 04:08:48 -08:00
Gabriel Kao 50e30447fb Qt: Update translation (Chinese (Traditional Han script))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2024-12-12 04:08:48 -08:00
reimu105 97d3f34a25 Qt: Update translation (Chinese (Traditional))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2024-12-12 04:08:47 -08:00
Still Hsu 63492252d2 Qt: Update translation (Chinese (Traditional))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2024-12-12 04:08:47 -08:00
cyruuspmd5de3b0e46e4e4998 66a909a9b7 Qt: Update translation (Chinese (Traditional))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2024-12-12 04:08:47 -08:00
Vicki Pfau 7d2fbb060a Qt: Added translation (Chinese (Traditional))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2024-12-12 04:08:47 -08:00
Hoseok Seo f7d2c464d4 Qt: Update translation (Korean)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2024-12-12 04:08:47 -08:00
Felipe 23bb668200 Qt: Update translation (Portuguese (Brazil))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2024-12-12 04:08:47 -08:00
Daniel Nylander 3c32fd867b
Update setup.iss.in with Swedish (#3367) 2024-12-12 02:35:14 -08:00
Vicki Pfau edaa27796b GBA: Improve reset behavior of various hardware components 2024-12-11 17:24:22 -08:00
Vicki Pfau 655211651a GBA Memory: Properly narrow down GPIO write validity check 2024-12-11 16:25:17 -08:00
Vicki Pfau 109fbe60f5 GBA Hardware: Fix loading states unconditionally overwriting GPIO memory 2024-12-11 16:24:51 -08:00
Vicki Pfau 00d17c6f42 GBA BIOS: Fix reseting SWI mode SPSR in SoftReset 2024-12-07 18:00:23 -08:00
Adam Higerd 938ee55d42 Qt: honor control characters in ScriptingTextBuffer::print 2024-12-03 23:18:26 -08:00
Vicki Pfau 1eb130a28b GBA SIO: Allow externally-clocked NORMAL transfers (fixes #3360) 2024-12-03 23:04:45 -08:00
Vicki Pfau a9bddb92e3 GBA Unlicensed Carts: Detect "SPIDERMAN3" header too 2024-11-25 19:29:23 -08:00
Vicki Pfau f9851e6b75 GBA BIOS: Move SoftReset implementation to assembly
This improves the timing of the SoftReset implementation (though it's still way
faster than Nintendo's official implementation), which is important for some
multicarts.
2024-11-25 19:28:23 -08:00
Vicki Pfau 7ec56763f9 Qt: Fix installer updates if a version number is in the filename (fixes #3109) 2024-11-24 17:55:53 -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 822a2c8df5 GBA Unlicensed Carts: Improve bank swapping behavior 2024-11-23 03:23:45 -08:00
Vicki Pfau bdb0057fb3 GBA Serialize: Add support for Vast Fame state 2024-11-23 03:23:05 -08:00
Adam Higerd 122128eae5 Qt: load unpacked shaders, warn on shader load error 2024-11-22 23:42:09 -08:00
Adam Higerd a2e7e5b902 Qt: don't save shader choice until OK/Apply is clicked 2024-11-22 23:42:09 -08:00
Adam Higerd f930184efb Qt: save shader settings when OK/Apply clicked 2024-11-22 23:42:09 -08:00
CasualPokePlayer cca3267ef6 Serialize light counter to the correct bitfield
Resolves #3294
2024-11-20 15:53:22 -08:00
Vicki Pfau 2a0ed00d0d CMake: I'm tired of putting out fires 2024-11-18 00:55:55 -08:00
Vicki Pfau d9b43463d0 CMake: Set both -mmacosx-version-min and CMAKE_OSX_DEPLOYMENT_TARGET 2024-11-18 00:44:04 -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 d5fbd0ff1c GBA VFame: Refactor reordering code to be simpler 2024-11-17 02:27:28 -08:00
Vicki Pfau 3d493239d7 GBA Savedata: Update flash busy comment 2024-11-17 02:27:28 -08:00
Vicki Pfau cfd30b7a95 GBA Savedata: Fix erroneously setting the error bit 2024-11-08 21:38: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 645d1cf344 GBA Savedata: Improve save write edge cases 2024-11-08 02:27:45 -08:00
Vicki Pfau f89184d51f GBA BIOS: Fix locked BIOS read on boot 2024-11-08 02:27:45 -08:00
Vicki Pfau 77e747ebf6 mGUI: Fix control remapping not reloading (fixes #3277) 2024-11-03 19:38:17 -08:00
Vicki Pfau 17b03b6f20 GBA Video: Fix potential shader compilation error 2024-11-03 18:03:18 -08:00
Adam Higerd b272968969 Qt: handle newlines in TextBuffer print() 2024-11-03 17:19:50 -08:00
yeah-its-gloria a114207828 Fix various macOS related problems
- Disable a duplicate libraries warning that isn't needed
- Quit using QApplication::quit instead of QWidget::close to prevent closing inside a dialog from crashing the application
- Allow Qt 6 builds to use std::filesystem if the proper macOS SDK version is present
- Stop looking for QtMultimedia plugins if Qt 6 is being used for macOS builds
2024-11-03 17:19:05 -08:00
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