Commit Graph

6133 Commits

Author SHA1 Message Date
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
Vicki Pfau 74edd964da Qt: Create OpenGL context on a thread without moving it 2020-11-09 22:31:10 -08:00
Vicki Pfau 7be68ffd1d Qt: Better handle switching between software and hardware renderers 2020-11-09 22:29:53 -08:00
Vicki Pfau 4b4d5b59e5 Debugger: Close trace log when done tracing 2020-11-09 00:08:36 -08:00
Vicki Pfau e7028e4b29 Qt: Fix running proxied video if it gets pushed to the main thread 2020-11-08 23:14:29 -08:00
Vicki Pfau a2dc6557e3 Util: Add default memory.c implementation 2020-11-08 00:39:14 -08:00
Vicki Pfau 9edbe75ff8 Python: Better handling of Git revision info (fixes #1933) 2020-11-08 00:39:14 -08:00
Michael Forney cb2a2126f2
Libretro: Only set camera peripheral when it is available (#1931)
Otherwise, if the frontend does not support GET_CAMERA_INTERFACE,
the start and stop functions are NULL, causing a crash when a gameboy
ROM is unloaded.
2020-11-07 14:23:34 -08:00
Vicki Pfau 01e73bc15f Qt: Actually bounds check memory block index 2020-11-02 01:01:17 -08:00
Vicki Pfau e9b5190369 ARM: Move shifter call to avoid stack usage 2020-11-01 19:00:49 -08:00
Vicki Pfau a53b01be00 ARM: Fix Addressing mode 1 shifter on rs == pc (fixes #1926) 2020-11-01 02:29:58 -08:00
Lothar Serra Mari 791818e9a8 Qt: Update German GUI translation 2020-10-31 09:27:49 +01:00
Lothar Serra Mari 7bf7d0270c Qt: Update German GUI translation 2020-10-30 12:05:09 +01:00
Vicki Pfau e5ab0ae277 Vita: Clear both buffers when loading a game 2020-10-26 23:55:33 -07:00
Vicki Pfau bedbaf3978 GBA Serialize: Ensure program counter is aligned when loading 2020-10-26 22:14:55 -07:00
Vicki Pfau a2cd8f6cce ARM Decoder: Fix decoding pre-indexed writeback instructions (fixes #1915) 2020-10-24 15:46:11 -07:00
Vicki Pfau 4aed125b3e GBA Video: Add window y offsetting 2020-10-22 20:31:58 -07:00
Vicki Pfau c8e1e14d3f GBA Video: Add window toggling 2020-10-22 19:49:26 -07:00
Vicki Pfau 9064cb107b Qt: Add background and window toggling to frame viewer 2020-10-21 22:03:29 -07:00
Vicki Pfau 9dfa8f753f GB, GBA Video: Copy disable flags when drawing scanlines in proxy when not blocking 2020-10-21 22:00:27 -07:00
Vicki Pfau 5af50db66c GB Video: Initialize disable flags in proxy 2020-10-21 21:59:32 -07:00
Vicki Pfau 1629eede4e GB Video: Fix drawing background when window is force-disabled by frontend 2020-10-21 21:54:10 -07:00
Vicki Pfau 064d0e992b GB: Add enum for the layer names 2020-10-21 21:32:08 -07:00
Vicki Pfau 4ea2a8c6f3 GB Video: Copy layer disable state across proxy 2020-10-21 21:31:23 -07:00
Vicki Pfau ac8d1e2bf6 GB I/O: Finally rename registers to have a prefix 2020-10-21 21:03:52 -07:00
Vicki Pfau 659b929f3e Qt: Window title updates can be disabled (closes #1912) 2020-10-21 19:34:55 -07:00
Vicki Pfau c134c6cae1 ARM: Don't force passed opcodes to be truncated 2020-10-18 01:51:54 -07:00
clobber bf2cdbacb6
OpenEmu: Update implementation (#1910)
* OpenEmu: Update implementation

* CMake: Add ARC compile option to OpenEmu build
2020-10-16 18:12:41 -07:00
Vicki Pfau 2702dcfb6f mGUI: Fix cycling through config setting states with accept button 2020-10-14 23:41:05 -07:00
Vicki Pfau 2aa39cacbb mGUI: Game Boy Player feature support 2020-10-14 23:41:05 -07:00
Vicki Pfau 6a2f1279fd GBA: Clear GBP connection on reset 2020-10-14 23:41:05 -07:00
Vicki Pfau d588aa47e6 GBA Hardware: Don't gate GBP features on not having an SIO driver installed 2020-10-14 23:41:05 -07:00
Vicki Pfau 73c8a343a5 Libretro: Add GBP rumble option 2020-10-14 23:41:05 -07:00
Vicki Pfau 888841fe8f GBA Core: Add forceGbp option for always-GBP mode 2020-10-14 23:41:05 -07:00
Vicki Pfau 7f5102e26c Qt: Clean up redundant config tweaking 2020-10-14 20:41:32 -07:00
Vicki Pfau 6ffa43d453 Qt: Fix aliasing on background logo (closes #1886) 2020-10-14 20:39:47 -07:00
Vicki Pfau c7a1475981 ARM Decoder: Only print PC-relative register contents in loads (fixes #1908) 2020-10-12 18:08:13 -07:00
Vicki Pfau 67d3eed8fb ARM Decoder: Revamp load/store interface, readability cleanup 2020-10-12 18:07:11 -07:00
Vicki Pfau 29a30920d2 Qt: Start adding support for GB to the frame view 2020-10-12 00:12:25 -07:00
Vicki Pfau bea8959e25 GB: Disallow skipping BIOS with no ROM loaded 2020-10-11 23:59:30 -07:00
Vicki Pfau 3b93e762ae GB Video: Clean up OBJ parsing outside of renderer 2020-10-11 23:56:51 -07:00
Vicki Pfau 7a9e1e4600 Qt: Fix stride changing when toggling SGB borders (fixes #1898) 2020-10-11 22:44:26 -07:00
Vicki Pfau ba566f334d GB Core: Add reload config option for SGB borders 2020-10-11 22:42:23 -07:00
Vicki Pfau 8b8ff65821 GBA Video: Fix mode 4 transparency in OpenGL (fixes #1907) 2020-10-11 16:37:49 -07:00
Vicki Pfau 7b3900ff93 Qt: Load/save bytes from memory viewer in the order visible (fixes #1900) 2020-10-06 01:42:32 -07:00
Lothar Serra Mari 22950a6796 Win32: Add more language options to the installer
NOTE: Requires the content of the directory

	https://github.com/jrsoftware/issrc/tree/main/Files/Languages/Unofficial

to be present in the "Languages/" directory on the build host!
2020-10-05 18:39:50 +02:00
Lothar Serra Mari 78343663c4 Win32: Fix supressing start menu item creation 2020-10-05 18:27:06 +02:00
Vicki Pfau 3f10823ef5 GBA Video: Fix deferred blending when OBJWIN matches window (fixes #1905) 2020-10-05 00:25:00 -07:00
Vicki Pfau 9bbdd2ba35 Qt: Fix drawing on macOS break when using OpenGL (fixes #1899) 2020-10-04 18:10:47 -07:00
Vicki Pfau b3d97a4389 GBA Video: Do not affect OBJ pixel priority when writing OBJWIN (fixes #1890) 2020-10-04 01:02:28 -07:00
Vicki Pfau a3d5e3481f GBA Video: Improve speed of window texture generation on AMD 2020-09-26 21:34:18 -07:00
Vicki Pfau b5ca2b89e2 GBA Video: Convert OpenGL VRAM texture to integer 2020-09-26 16:29:47 -07:00
Vicki Pfau e11dc3fad0 GBA Video: Emulate sprite cycle limits in OpenGL renderer (fixes #1635) 2020-09-26 02:32:26 -07:00
Vicki Pfau e83a371e50 GBA BIOS: Division by zero sometimes doesn't crash 2020-09-19 00:27:30 -07:00
Bastien Orivel ca67e63abb Fix a race condition on `InputController::m_pendingEvents`
This member could be accessed at the same from different threads leading
to random (rare) crashes.

Fixes #1875
2020-09-13 17:04:14 -07:00
Vicki Pfau e232e5ce41 GB MBC: Fix some MBC3 bit masking 2020-09-12 22:50:04 -07:00
Vicki Pfau 06a3770daa GBA BIOS: Division by zero should emit a FATAL error 2020-09-10 23:43:07 -07:00
Vicki Pfau e1b57de035 Qt: Add copy button to GB printer dialog 2020-09-10 23:40:37 -07:00
Vicki Pfau 5a50f47bf7 Qt: Fix camera image being upside-down sometimes (fixes #829 again) 2020-09-10 23:17:47 -07:00
Vicki Pfau ee698cc311 SM83: Disassemble STOP as one byte 2020-09-09 23:05:11 -07:00
Vicki Pfau 30e0be098f GB: Add support for sleep and shutdown callbacks 2020-09-09 23:05:11 -07:00
Vicki Pfau a8999958da Core: Add shutdown callback 2020-09-09 23:05:11 -07:00
Vicki Pfau ad7146a801 GB I/O: Add BANK register name 2020-09-09 23:05:11 -07:00
Kevin 11f105eec7 support variant symfile format with function sizes 2020-09-07 22:43:59 -07:00
Vicki Pfau 87ec3f3d4a ARM Debugger: Disassembler now resolves addresses to symbol names 2020-09-07 15:55:51 -07:00
Vicki Pfau 17ca8f524a GBA Video: Fix rare regression blending semitransparent sprites (fixes #1876) 2020-09-07 01:27:46 -07:00
Urgau d1178689cb Qt: Update French translations
This pull request update the French translations for the Qt platform.
2020-09-06 12:33:36 -07:00
Vicki Pfau c2ee50288b GBA I/O: Green swap register should be readable 2020-09-05 15:53:31 -07:00
Vicki Pfau 347c5f2de5 GB MBC: Add MBC6 flash support (read-only currently) 2020-09-03 23:43:47 -07:00
Vicki Pfau 2251d93938 CMake: Install cinema with tests 2020-09-03 17:18:28 -07:00
Vicki Pfau c825c57281 GBA Video: Implement green swap (fixes #1609) 2020-08-31 22:28:19 -07:00
Vicki Pfau 6a97b1dbf5 GBA Memory: Minor code simplification 2020-08-29 22:51:53 -07:00
Vicki Pfau c8028e1a60 Util: Fill out and fix big-endian byteswap load/stores 2020-08-29 16:14:49 -07:00
negativeExponent f6523e2c01 libretro: Fix cheevos memory map for GB games using external RAM 2020-08-28 18:39:21 -07:00
negativeExponent 274a97a5f0 Libretro: Add cheevos support for GB/GBC
Working implementation:
https://github.com/libretro/mgba/issues/182#issuecomment-617561652
2020-08-28 18:39:09 -07:00
RufoH 0019cb69d8 Libretro: Add Italian core options translation 2020-08-28 18:36:20 -07:00
Vicki Pfau 6a04f02251 Libretro: Build fixes for non-GB and coe cleanup 2020-08-28 18:33:31 -07:00
Vicki Pfau 9dc6dc7e65 GB: Add separate overrides for GBC games that can also run on SGB or regular GB 2020-08-28 18:19:13 -07:00
Vicki Pfau 3e91c50f2d Qt: Fix language code for Korean 2020-08-28 01:52:20 -07:00
Vicki Pfau ddc913c13a Qt: Refactor GB names and lists into namespace 2020-08-28 01:49:07 -07:00