Commit Graph

6212 Commits

Author SHA1 Message Date
Vicki Pfau 466e0c5efa Utils: Clean up duplicated clamping code 2021-01-01 18:54:54 -08:00
Vicki Pfau fe3e554b60 GB Cheats: Fix Game Genie codes 2021-01-01 17:26:42 -08:00
Vicki Pfau 1c69a714c7 Core: Add memory block info lookup function 2021-01-01 17:24:09 -08:00
Vicki Pfau cab1415d07 GB Core: Return the current number of banks for ROM/SRAM, not theoretical max 2021-01-01 17:12:38 -08:00
Vicki Pfau bca8cb918f Qt: Use relative paths in portable mode when applicable (fixes #838) 2020-12-30 15:37:43 -08:00
Vicki Pfau 239351bdfc GB: Fix regression with HDMAs not always properly blocking 2020-12-29 17:50:40 -08:00
Vicki Pfau 2ee7642d0b GB, GBA: Fix global cycle counter discrepancy 2020-12-29 17:50:40 -08:00
Vicki Pfau 0026249806 Debugger: Add event dumping 2020-12-28 19:14:33 -08:00
Vicki Pfau e27e333305 Wii: Fix build 2020-12-28 03:05:58 -08:00
Lothar Serra Mari 62d7075751 Qt: Update German GUI translation 2020-12-28 00:47:33 +01:00
Vicki Pfau 658747839f GB Video: Always clean OAM at x 0 2020-12-27 01:42:44 -08:00
Vicki Pfau 562c9ab1d9 Qt: Add button to jump to log settings 2020-12-26 19:29:37 -08:00
Vicki Pfau c1147c9616 Qt: Update translations 2020-12-26 18:53:40 -08:00
Vicki Pfau a760c7bb4a Core: Add prefix to platform enum names 2020-12-26 18:53:19 -08:00
Vicki Pfau 18403682f7 Qt: Add GB support in I/O viewer 2020-12-26 18:29:16 -08:00
Vicki Pfau 418c3c40ce Qt: Lay groundwork for adding GB IO register descriptions 2020-12-26 01:47:18 -08:00
Vicki Pfau 17253f5760 Qt: Mark more strings as untranslated 2020-12-23 19:09:04 -08:00
J. Lavoie 3a603f6682 Translated using Weblate (Italian)
Currently translated at 96.0% (902 of 939 strings)

Translation: mGBA/mGBA Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2020-12-23 18:55:52 -08:00
J. Lavoie 50d5b926e7 Translated using Weblate (French)
Currently translated at 98.1% (922 of 939 strings)

Translation: mGBA/mGBA Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/fr/
2020-12-23 18:55:32 -08:00
Kevin López Brante 574eca3234 Translated using Weblate (Spanish)
Currently translated at 97.9% (920 of 939 strings)

Translation: mGBA/mGBA Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2020-12-23 18:36:01 -08:00
Vicki Pfau 5781566717 Core: Improve support for ROM patch cheats, supporting disabling overlapping patches 2020-12-23 18:35:42 -08:00
J. Lavoie a59ffbc9a6 Qt: Import German GUI translation updates from weblate
Translated using Weblate (German)

Currently translated at 97.1% (912 of 939 strings)

Translation: mGBA/mGBA Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2020-12-22 20:25:45 +01:00
Vicki Pfau cadceecdab Qt: Fix loading a new game crashing on Wayland (fixes #1992) 2020-12-20 21:00:17 -08:00
Vicki Pfau ff6218fe1e Libretro: Fix sensors 2020-12-19 13:15:27 -08:00
p-sam 983a482527 Use sensor interface; add sensor light core option
Behavior synced from standalone mgba
2020-12-19 12:52:46 -08:00
Vicki Pfau 57c8ac1dd9 Core: Improve memory handling when deleting a cheat device 2020-12-19 12:52:46 -08:00
Vicki Pfau 0cf138775b GBA Cheats: Allow unlimited ROM patch-type codes per set 2020-12-19 12:52:46 -08:00
easyaspi314 (Devin) 4ecf64a41c Remove arm-algo.S and references
It wasn't fully optimized and it doesn't even compile anymore.
2020-12-18 17:00:24 -08:00
EmpyreusX 2770b654f5
Qt: Review JPN translation (#1986)
* Qt: Review JPN translation

* Qt: Review JPN translation
2020-12-18 02:35:44 -08:00
Vicki Pfau 218f804427 SDL: Remove debug test that got left in 2020-12-17 02:16:47 -08:00
Vicki Pfau 71379aac66 Qt: Unify monospace font usage 2020-12-16 18:16:41 -08:00
Vicki Pfau c4123a2386 SDL: Fall back to sw blit if OpenGL init fails 2020-12-16 18:16:41 -08:00
Vicki Pfau 7b78906772 Windows: Replace installer image, @2x this time 2020-12-13 22:07:30 -08:00
Vicki Pfau 7618b58c2d Windows: Use provided version string where possible 2020-12-13 22:07:30 -08:00
Vicki Pfau 9397eee606 CMake: Add method for specifying alternate package names 2020-12-13 17:39:35 -08:00
Vicki Pfau 346f5dc0b5 GBA Serialize: Fix alignment check when loading states 2020-12-13 15:02:08 -08:00
Vicki Pfau beba0cb2c5 Debugger: Add fin alias for finish 2020-12-13 00:06:19 -08:00
Vicki Pfau 70f581162f ARM Debugger: Only break on exceptions when stack call tracing is on 2020-12-13 00:06:06 -08:00
Vicki Pfau 6e40b38b63 Qt: Fix issues with I/O viewer not properly synchronizing state 2020-12-12 23:42:37 -08:00
Lothar Serra Mari 1751824818 Qt: Update German GUI translation 2020-12-12 11:12:30 +01:00
Vicki Pfau 846333ac9a Qt: Actually fix build on MSVC 2020-12-12 01:57:52 -08:00
EmpyreusX 715cdd751c
New README_ZH_CN.md and updates to Simp. Chinese and Japanese translation (#1981)
* Create README_ZH_CN.md

* General fixes to Simp. Chinese translation

New translations based on `mgba-template.ts`
Delete unused entries
Fix typos and invaild lines

* A small fix

* Revamped Japanese translation.

* A small fix

* More fixes.

* Qt: A tiny fix in mgba-zh_CN.ts

* Further translation fixes in mgba-ja.ts
2020-12-12 01:24:31 -08:00
Vicki Pfau d7db136ebe Qt: Fix build on MSVC 2020-12-11 20:59:46 -08:00
Vicki Pfau 21c5e7ae97 Qt: Move empty string list to new file 2020-12-11 01:58:37 -08:00
Vicki Pfau fe249dec27 Qt: Fill in mgba-en.ts 2020-12-11 01:06:38 -08:00
Vicki Pfau e6b7c3b977 Qt: Mark more labels as not needing translation 2020-12-11 01:06:19 -08:00
Vicki Pfau 874fae7b5a Qt: Add slightly more CPU info to bug report 2020-12-10 23:54:53 -08:00
Vicki Pfau 71a3ef046a Qt: Update TS files 2020-12-10 19:15:17 -08:00
Vicki Pfau 8904e4b540 Qt: Mark several labels as not needing translation 2020-12-10 18:58:41 -08:00
EmpyreusX 20bd78596a
Qt: General fixes to Simp. Chinese translation (#1977)
* General fixes to Simp. Chinese translation

* Update mgba-zh_CN.ts
2020-12-10 18:51:26 -08:00
Vicki Pfau bdacf0e9ff Qt: Fix build 2020-12-09 18:38:35 -08:00
Vicki Pfau 0065b62633 Qt: Add bug report tool 2020-12-09 18:30:36 -08:00
Vicki Pfau a5f3718f81 Core: Fix getting config directory on Windows (fixes #1974) 2020-12-09 18:30:27 -08:00
Vicki Pfau 2bc19f3a7d Qt: Fix build on old gcc 2020-12-09 00:04:57 -08:00
Vicki Pfau d70be08dd1 Qt: Add load/saveState VFile functions, flags parameter to explicit state functions 2020-12-08 23:23:45 -08:00
Vicki Pfau 4d3f9389e9 Qt: Add wrappers for accessing QIODevices as VFiles 2020-12-08 23:23:45 -08:00
Vicki Pfau 47de013283 Qt: Add API wrapper for VFileMemChunk 2020-12-08 23:23:45 -08:00
Vicki Pfau 3c4929b798 Core: Fix build on Windows 2020-12-08 23:23:35 -08:00
Vicki Pfau f1592d350f Core: Clean up and extend config saving/loading 2020-12-08 23:09:51 -08:00
Vicki Pfau 67f8197493 VFS: Initial write support for zip files 2020-12-08 23:09:51 -08:00
Vicki Pfau faa27b0754 Qt: Fix some sign warnings 2020-12-05 20:13:11 -08:00
Vicki Pfau ec97747a94 Qt: Fix unused variable warnings 2020-12-05 20:13:11 -08:00
Vicki Pfau a8e924ae5e Qt: Fix unhandled case warnings 2020-12-05 19:52:18 -08:00
Vicki Pfau 5ecd28cdc6 GBA Video: Fix palette when being initialized mid-frame 2020-12-05 18:41:44 -08:00
Vicki Pfau 6a7e80c969 GBA Video: Fix I/O registers when switching renderer (fixes #1967) 2020-12-05 18:34:49 -08:00
Vicki Pfau b7947a0a6e GBA BIOS: Add VBA LZ77 decompression bug compat in VBA bug compat mode 2020-12-05 16:28:17 -08:00
Lothar Serra Mari 63b17d20a9 Win32: Add missing Spanish README file; add missing language tokens 2020-12-05 22:56:15 +01:00
Lothar Serra Mari 3049980cc0 Win32: Update list of available languages in the Inno Setup installer 2020-12-05 10:08:11 +01:00
Lothar Serra Mari c7f1339d67 Qt: Update German GUI translation 2020-12-05 10:01:51 +01:00
Vicki Pfau 3aa74f2d65 Qt: Fix proxied events blocking properly 2020-12-04 00:23:33 -08:00
Vicki Pfau 2f7232292c Qt: Always start painter thread even if not in use 2020-12-04 00:23:33 -08:00
Vicki Pfau d44a26d962 Qt: Pay down some technical debt in the shader selector 2020-12-03 23:57:52 -08:00
Vicki Pfau a8a7372083 Qt: Add checking and downgrading OpenGL support outside of the painter 2020-12-03 23:57:52 -08:00
Vicki Pfau e31de6b470 Qt: Fix crash when editing shortcuts with none selected (fixes #1964) 2020-12-03 20:45:21 -08:00
Vicki Pfau 542404b7fa Qt: Set default setting for dynamicTitle (fixes #1965) 2020-12-03 18:20:55 -08:00
Vicki Pfau d3019c306f GBA Video: Ensure wait instead of flush when getting proxy pixels 2020-12-02 21:06:34 -08:00
Lothar Serra Mari f29eeac09a Qt: Update German GUI translation 2020-12-02 20:30:42 +01:00
Margen67 4fd8fe12cb Fix typo in SettingsView.ui 2020-12-02 11:14:15 -08:00
Vicki Pfau ba6e34fd90 Libretro: Defer loading save so RTC loading actually works (fixes #1959) 2020-12-02 00:13:09 -08:00
Vicki Pfau 63921e025e GB: Restore RTC state if loading save after reset 2020-12-02 00:06:00 -08:00
Vicki Pfau 046f7a3374 GBA Video: Fix resetting palettes 2020-12-01 21:23:48 -08:00
Vicki Pfau aaf1fef5ad GB Video: Fix clearing scanline buffer (fixes #1958) 2020-12-01 21:16:06 -08:00
Vicki Pfau 41a40acefc GBA Video: Avoid integer division using reciprocal tricks 2020-11-30 23:19:57 -08:00
Vicki Pfau e1fc8cd912 GBA Video: Fix depth/stencil masking while clearing 2020-11-30 23:19:57 -08:00
Vicki Pfau fc3a6153e2 GBA Video: New GL palette approach, no more batch splitting on palette edits 2020-11-30 23:19:57 -08:00
Vicki Pfau 60ec3e0e99 Qt: Fix up GL changes causing timing issues 2020-11-29 22:03:03 -08:00
Vicki Pfau 2d6087aa98 mGUI: Improve loading speed (fixes #1957) 2020-11-29 15:56:15 -08:00
Vicki Pfau 20f8baa82c GBA: Regrettably add VBA bug compat mode 2020-11-29 13:41:53 -08:00
Vicki Pfau 60b59ae312 GBA Hardware: Unpack RTC struct 2020-11-29 13:35:21 -08:00
Vicki Pfau bcad149454 GBA Hardware: e-Reader should not re-scan last card 2020-11-29 12:47:31 -08:00
Vicki Pfau fbba3efb34 ARM: Fix long multiply-and-accumulate register write order (fixes #1956) 2020-11-28 21:29:00 -08:00
Vicki Pfau 98799dae6d Debugger: Fix crash when tracing without a file output 2020-11-28 21:29:00 -08:00
Vicki Pfau 5bcf243139 Qt: Fix build on clang 2020-11-27 19:47:47 -08:00
Vicki Pfau 8e096916b1 Qt: Discard additional frame draws if waiting fails 2020-11-27 18:31:13 -08:00
Vicki Pfau fc3e47a4ba Feature: Allow configuring waiting on frame flushing in proxy 2020-11-27 18:24:11 -08:00
Vicki Pfau bb74b60cd9 Core: Fix possible video sync deadlock 2020-11-27 17:38:31 -08:00
Vicki Pfau 39324749f2 3DS: Batch directory reads 2020-11-27 15:18:23 -08:00
Vicki Pfau 99e622eb43 GBA Video: Skip attempting to render offscreen sprites in OpenGL 2020-11-27 13:53:33 -08:00
Vicki Pfau 7640c38684 mGUI: Skip second scan loop when possible 2020-11-26 22:33:05 -08:00
Vicki Pfau 0d96ba4f8f Wii: Add libwiidrc support 2020-11-26 22:09:01 -08:00
Vicki Pfau b169e6b0df ARM: Fix non-debugger build 2020-11-25 20:40:20 -08:00
Vicki Pfau b50d8e35e9 GB I/O: Implement preliminary support for PCM12/PCM34 (#1468) 2020-11-25 20:10:32 -08:00
Vicki Pfau 87d87b200f Qt: Pre-attach GDB stub when launching with -g (fixes #1950) 2020-11-24 22:18:15 -08:00
Vicki Pfau b8e5b47c80 GBA: Fix loading multiboot ELF files (fixes #1949) 2020-11-24 01:41:41 -08:00
Vicki Pfau f7749b31de Core: Fix loading ELF files that have unexpected empty program headers 2020-11-24 01:41:41 -08:00
Vicki Pfau d01190bf90 CMake: Replace desktop file installing code with just the file 2020-11-24 01:41:41 -08:00
Vicki Pfau 1a694b0b56 Debugger: Fix change watchpoints (fixes #1947) 2020-11-24 01:41:41 -08:00
Vicki Pfau 19b77189c8 GBA Hardware: Add support for "reduced" header e-Reader dumps 2020-11-24 01:41:41 -08:00
Átila Camurça Alves ecc7522cf6
Brazilian portuguese translation (#1917)
* Brazilian portuguese translation

* Review and fixed some typos

* Suggested revisions implemented

* Not translating the word Shader

It's not a common word in Portuguese, so it's easy to understand in
English.

* Review of suggested changes
2020-11-23 12:43:37 -08:00
Vicki Pfau 447750dc2e Qt: Take SGB border into account in frame viewer 2020-11-22 16:08:51 -08:00
Vicki Pfau e9ed09e9be Qt: Allow frame viewer on Game Boy 2020-11-22 16:08:33 -08:00
Vicki Pfau 45e0ce8e27 GB Video: Fix highlighting after modifying GB palettes 2020-11-22 15:36:21 -08:00
Vicki Pfau 7918b5af45 GB Video: Fix SGB video logs 2020-11-22 15:08:45 -08:00
Vicki Pfau 13c36a54f1 GBA Video: Only use shader for setting window params if a clear is insufficient 2020-11-22 03:58:12 -08:00
Vicki Pfau 19e73dae1c GBA Video: Minor cleanup 2020-11-22 03:32:47 -08:00
Lothar Serra Mari 513c97d6cd Qt: Update German GUI translation 2020-11-22 11:06:07 +01:00
Vicki Pfau 1093849ad5 Qt: Add option to toggle forceGbp mode 2020-11-22 01:11:24 -08:00
Vicki Pfau 2f5fb22659 GBA: Remove Pokemon Pinball R/S override 2020-11-22 01:03:10 -08:00
Vicki Pfau 9902e2eeee GBA Video: Fix OBJWIN erratic rendering in OpenGL renderer 2020-11-22 00:46:55 -08:00
Vicki Pfau 4baa8b3d9b GB Video: Add highlighting 2020-11-21 20:29:16 -08:00
Vicki Pfau 6174858d0d Core: Add RGB8 to native color function 2020-11-21 20:29:16 -08:00
Vicki Pfau 0b0a70d9b7 Core: Make _mix public 2020-11-21 20:29:16 -08:00
Vicki Pfau ce97e265a3 GB Video: Add constants for OBJ maxima 2020-11-21 20:29:16 -08:00
Vicki Pfau 7d77aac68f GBA Video: Clean up redundant code 2020-11-21 20:29:16 -08:00
Vicki Pfau c80cc1e307 Core: Replace GBA_COLOR_WHITE with M_COLOR_WHITE 2020-11-21 17:44:19 -08:00
Vicki Pfau bf54c2d36f Qt: Fix unused variable warning in SettingsView 2020-11-21 17:28:53 -08:00
Vicki Pfau d2fbd88c78 Qt: Fix some unused parameter warnings 2020-11-21 17:26:40 -08:00
Bastien Orivel ce2fe95814 Fix a few warnings regarding `QAbstractButton::setChecked` usage
The method takes a boolean, not a `Qt::CheckState`. Since the rest of
the codebase uses booleans, I didn't bother keeping the enum where it
was possible (for checkboxes, one could use `setCheckState` with a
`Qt::CheckState` but that's only really useful for tristate checkboxes).

Note that this shouldn't change any behavior as the enum has a value of
0 for the `Unchecked` variant.
2020-11-21 17:20:23 -08:00
jsmolka 99944093f5 GBA Memory: Return correct byte in out of bounds ROM read 2020-11-21 16:46:48 -08:00
Vicki Pfau e050a2ae3d GB: Improve emulation of DMG-on-CGB register reads 2020-11-20 02:52:31 -08:00
Vicki Pfau d5e434c684 GB: Fix CGB-to-DMG switchover 2020-11-20 02:34:07 -08:00
Vicki Pfau 54fba4c461 GBA I/O: Ignore high bits on IME 2020-11-20 01:15:46 -08:00
Vicki Pfau c640819179 GB: Downgrade DMG-only ROMs from CGB mode even without boot ROM 2020-11-20 00:35:52 -08:00
Vicki Pfau bf611e01f2 Core: Fix ordering of thread state request processing 2020-11-19 23:27:52 -08:00
Vicki Pfau d20b2e1e23 Qt: Fix gamepad event dispatching (fixes #1922) 2020-11-19 23:22:52 -08:00
Vicki Pfau 9ae85bdccc mGUI: Don't attempt to preload files larger than can fit in RAM 2020-11-19 20:12:19 -08:00
Vicki Pfau 2def7289f3 Wii: Fix crash on unloading irregularly sized GBA ROMs 2020-11-18 18:36:19 -08:00
Vicki Pfau 43bc47742f Qt: Fix GIF view title 2020-11-18 01:33:56 -08:00
Vicki Pfau 67dae057ed Qt: Fix cancelling pausing before the frame ends 2020-11-18 01:33:56 -08:00
Vicki Pfau 61f8f14694 Core: Rework thread state synchronization 2020-11-18 01:33:56 -08:00
Vicki Pfau a37060d053 Qt: Fix game display sometimes disappearing after closing load/save state screen 2020-11-17 22:57:03 -08:00
Vicki Pfau 1c2ec714e1 Core: Fix thread unsafety issue when dispatching code to a thread 2020-11-14 16:42:51 -08:00
Vicki Pfau 89937d62b0 Qt: Remove thread parameter for Interrupter that can be autodetected 2020-11-14 15:49:39 -08:00
Vicki Pfau 9a0561e9c2 Core: Fix threading improperly setting paused state while interrupted 2020-11-14 02:29:39 -08:00
Vicki Pfau 01ed3f2990 GBA Memory: Mark Famicom Mini games 22 through 28 as non-mirroring 2020-11-13 01:54:29 -08:00
Bastien Orivel d7fcbb8c26 Fix the GBVideoDummyRendererDrawRange signature 2020-11-12 01:55:48 -08:00
Bastien Orivel 199f692d55 Qt: Remove unused variables
* The usage for this one was removed in
  be3e884ba5
* This one is not used since afae3c8b80
  which moved the whole refresh process into its own method
* I couldn't find any usage of this one in the history, it was probably
  never read.
* This one was used until 10d5588d4c which
  removed the usage but not the declaration
* Unused since cf7017dd86
2020-11-12 01:55:00 -08:00
Bastien Orivel b799907143 Reorder initialization in CoreController to silence a few warnings 2020-11-12 01:51:54 -08:00
Vicki Pfau c188e77b15 Qt: Clean up unique_ptr a bit 2020-11-12 00:13:06 -08:00
Vicki Pfau cb7f150cc2 Qt: Asynchronous drawing startup 2020-11-11 23:48:01 -08:00