Commit Graph

755 Commits

Author SHA1 Message Date
Vicki Pfau 00531d1180 mGUI: De-constify fonts 2021-03-27 22:35:29 -07:00
Antonio Niño Díaz c0cfa602af GBA Audio: Fix reads from CH3 Wave RAM
The previous code always read the state of bank 0. The correct behaviour
is to read from the bank that isn't selected. Most likely, no game has
ever tried to read from this RAM and verify the values because the
values are destroyed as soon as the channel starts to play the desired
sound.

Writes were done correctly: The values are saved to the bank that isn't
selected.

Also, when the sound hardware is off, it acts like bank 0 has been
selected in register SOUND3CNT_L.
2021-03-27 13:46:07 -07:00
Vicki Pfau 9ac9366257 Switch: Optimize font rendering (fixes #2078) 2021-03-24 19:13:59 -07:00
Vicki Pfau ffeb5cfe27 GB Video: Discard SGB packets in non-SGB mVLs 2021-03-23 19:37:53 -07:00
Vicki Pfau c5b78f9354 GB Audio: Add channel 4 batching back (fixes #1313) 2021-03-17 18:20:38 -07:00
Vicki Pfau f600c7c317 GB Audio: Remove redundant timing argument to GBAudioUpdateFrame 2021-03-15 21:39:27 -07:00
Vicki Pfau dd1d1a0a9d GBA Memory: Fix masking of misaligned jumps 2021-03-03 04:17:05 -08:00
Vicki Pfau 7d672a2215 All: Fix various build failure fallout 2021-02-26 02:02:25 -08:00
Vicki Pfau b966d71a2c GB: Clean up BIOS unmapping 2021-02-25 23:42:45 -08:00
Vicki Pfau 003e181add GB: Clean up cartridge removal codepath (fixes #398) 2021-02-24 20:18:13 -08:00
Vicki Pfau 1e017ade23 GBA Memory: Fix AGBPrint writing past 16MB ROMs 2021-02-24 18:44:41 -08:00
Vicki Pfau 67475a6da8 GBA Memory: Improved AGBPrint emulation of edge cases (fixes #1867) 2021-02-24 01:20:48 -08:00
Vicki Pfau 8926aeea01 ARM: Optimize PC-write functions 2021-02-21 12:27:07 -08:00
Vicki Pfau 49ec1ed702 ARM: Fix long and accumulate multiply timing 2021-02-15 23:40:49 -08:00
Vicki Pfau 3309892657 GB, GBA Serialize: Attempt to fix MSVC build 2021-02-09 01:28:21 -08:00
Vicki Pfau 2498f85cda VFS: Fix build with minizip 2021-02-03 21:08:52 -08:00
Vicki Pfau ca3050d76b Core: Add mCoreCreate function for making a core based on platform type 2021-01-14 23:14:02 -08:00
Vicki Pfau 527f235934 Core: Adding to library is now recursive 2021-01-05 00:23:52 -08:00
Vicki Pfau bda4316839 GB: Redo double speed emulation (closes #1515) 2021-01-02 22:20:54 -08:00
Vicki Pfau 466e0c5efa Utils: Clean up duplicated clamping code 2021-01-01 18:54:54 -08:00
Vicki Pfau 1c69a714c7 Core: Add memory block info lookup function 2021-01-01 17:24:09 -08:00
Vicki Pfau a760c7bb4a Core: Add prefix to platform enum names 2020-12-26 18:53:19 -08:00
Vicki Pfau 5781566717 Core: Improve support for ROM patch cheats, supporting disabling overlapping patches 2020-12-23 18:35:42 -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
Jeffrey Pfau f7d17d62b5 Util: Make clz consistent 2020-12-10 23:59:29 -08:00
Vicki Pfau f1592d350f Core: Clean up and extend config saving/loading 2020-12-08 23:09:51 -08:00
Vicki Pfau 5ecd28cdc6 GBA Video: Fix palette when being initialized mid-frame 2020-12-05 18:41:44 -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 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 fc3e47a4ba Feature: Allow configuring waiting on frame flushing in proxy 2020-11-27 18:24:11 -08:00
Vicki Pfau b169e6b0df ARM: Fix non-debugger build 2020-11-25 20:40:20 -08:00
Vicki Pfau 1a694b0b56 Debugger: Fix change watchpoints (fixes #1947) 2020-11-24 01:41:41 -08:00
Vicki Pfau 7918b5af45 GB Video: Fix SGB video logs 2020-11-22 15:08:45 -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 c80cc1e307 Core: Replace GBA_COLOR_WHITE with M_COLOR_WHITE 2020-11-21 17:44:19 -08:00
Vicki Pfau 61f8f14694 Core: Rework thread state synchronization 2020-11-18 01:33:56 -08:00
Vicki Pfau 5a1e68beba ARM Debugger: Fix debugger API misdeclaration 2020-11-02 00:42:56 -08: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 064d0e992b GB: Add enum for the layer names 2020-10-21 21:32:08 -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 c134c6cae1 ARM: Don't force passed opcodes to be truncated 2020-10-18 01:51:54 -07:00
Vicki Pfau 67d3eed8fb ARM Decoder: Revamp load/store interface, readability cleanup 2020-10-12 18:07:11 -07:00
Vicki Pfau 3b93e762ae GB Video: Clean up OBJ parsing outside of renderer 2020-10-11 23:56:51 -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 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
Vicki Pfau 87ec3f3d4a ARM Debugger: Disassembler now resolves addresses to symbol names 2020-09-07 15:55:51 -07:00
Vicki Pfau 347c5f2de5 GB MBC: Add MBC6 flash support (read-only currently) 2020-09-03 23:43:47 -07:00
Vicki Pfau c825c57281 GBA Video: Implement green swap (fixes #1609) 2020-08-31 22:28:19 -07:00
Vicki Pfau 1d186dd9ea Util: Use __builtin_bswap on PPC big-endian platforms that support it 2020-08-29 16:15:39 -07:00
Vicki Pfau c8028e1a60 Util: Fill out and fix big-endian byteswap load/stores 2020-08-29 16:14:49 -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 f5a1ceb025 Core: Add savedataUpdated callback 2020-08-28 00:53:40 -07:00
Vicki Pfau 65fb61d7e2 GBA Memory: Improve robustness of Matrix memory support 2020-08-27 04:27:13 -07:00
Vicki Pfau 3dcf879e94 Qt: Add CoreManager::getExtdata API 2020-08-25 20:22:41 -07:00
Vicki Pfau 07c2c87d00 3DS: Fix thread cleanup 2020-08-24 18:24:22 -07:00
Vicki Pfau 5c58186f03 GBA Audio: Revamp FIFO emulation (fixes #356, fixes #875, fixes #1847) 2020-08-21 04:45:15 -07:00
Vicki Pfau 8a3a2bf058 VFS: Change semantics of VFile.sync on mapped files (fixes #1730) 2020-08-19 18:34:02 -07:00
Vicki Pfau bbdbfaf34e Vita: Port socket shim 2020-08-18 18:41:51 -07:00
Vicki Pfau 209eed35ed mGUI: Add status indicators for fast-forward and mute 2020-08-17 20:17:59 -07:00
Vicki Pfau 010a4dad44 Wii: Fix ppc32 endianness regression 2020-08-17 20:17:59 -07:00
Vicki Pfau b6a3133a13 Util: Table cleanup, add HashTableEnumerateBinary 2020-08-17 00:51:21 -07:00
Vicki Pfau bf16c7b6bf GB MBC: Add Hitek and BBD mappers 2020-08-16 16:27:11 -07:00
Vicki Pfau 9403a02481 Util: ppc64 byteswap access fixes 2020-08-15 21:04:32 -07:00
Adam Higerd daf2193894 Debugger: parse memory operations correctly 2020-08-10 22:19:54 -07:00
Adam Higerd 07667955f6 ARM: Expose ARMSelectBank API 2020-08-10 22:19:54 -07:00
Vicki Pfau 7652fe9f7a GB Audio: Fix serializing sweep time 2020-08-10 18:11:54 -07:00
Vicki Pfau 549787227a Core: Add mTimingScheduleAbsolute 2020-08-10 15:57:38 -07:00
Vicki Pfau 3b784485f8 mGUI: Show battery percentage 2020-08-09 17:56:26 -07:00
Vicki Pfau 38613b5770 GBA BIOS: Make HLE BIOS calls interruptable (fixes #1711, fixes #1823) 2020-08-07 02:06:11 -07:00
Vicki Pfau cee1a3e08c Revert "OpenGL: Attempt to fix some build configurations (fixes #1839)"
This reverts commit d68bf5bd1a.
2020-08-04 23:17:09 -07:00
Vicki Pfau d68bf5bd1a OpenGL: Attempt to fix some build configurations (fixes #1839) 2020-08-04 18:01:35 -07:00
Vicki Pfau 0d6946dcee 3DS: Migrate to libctru CondVar 2020-07-31 19:16:45 -07:00
Vicki Pfau 1756baae74 Debugger: Fix Python build 2020-07-31 19:06:29 -07:00
Adam Higerd a98c01bafc Debugger: add support for simple command scripts 2020-07-31 18:50:04 -07:00
Adam Higerd 002e9c8802 Debugger: look up symbols in stack traces 2020-07-31 18:50:04 -07:00
Adam Higerd 044710c3a8 Debugger: reverse symbol lookup 2020-07-31 18:50:04 -07:00
Adam Higerd 26555959f2 Util: support non-string keys in hash tables 2020-07-31 18:50:04 -07:00
Vicki Pfau e27963bd29 GB/GBA Video: Move dummy renderer to core 2020-07-31 18:02:29 -07:00
Adam Higerd 8ee4b3c046 Stack traces: add detection for other calling conventions and stack manipulation 2020-07-30 20:20:51 -07:00
Vicki Pfau 89de06a610 Test: Add wildcard matching 2020-07-30 19:03:15 -07:00
Vicki Pfau 287fd86e6a GBA: Allow pausing event loop while CPU is blocked 2020-07-30 18:51:05 -07:00
Vicki Pfau ba2175f5c5 GB: Allow pausing event loop while CPU is blocked 2020-07-30 18:51:05 -07:00
Vicki Pfau 51c3fca3bf Util: Refactor TLS out of platform-specific APIs 2020-07-30 18:51:05 -07:00
Vicki Pfau d02e8a2a87 Util: Reset vector size on deinit 2020-07-29 21:36:57 -07:00
Adam Higerd fb267a32ff Stack trace: coding style cleanup 2020-07-27 22:30:43 -05:00
Adam Higerd 3d12659fca Stack trace: trace mode CLI control 2020-07-27 21:26:55 -05:00
Adam Higerd 80f78f1682 Stack trace: finish implementation and debug 2020-07-27 21:26:55 -05:00
Adam Higerd 238c68f080 Stack trace: WIP backtrace implementation 2020-07-27 21:23:34 -05:00
Adam Higerd d0edc7dc76 Stack trace: add tracing to ARM debugger 2020-07-27 21:23:34 -05:00
Adam Higerd fadd0391d6 Stack trace: implement data structures 2020-07-27 21:23:34 -05:00
Adam Higerd d156e48da2 ARM/SM83: Wrap register files in structs 2020-07-27 21:23:32 -05:00
Vicki Pfau 89f9a0b8b1 SM83: Simplify register pair access on big endian 2020-07-26 18:12:20 -07:00
Vicki Pfau a786be5bdf SM83: Fix flags on little endian PowerPC 2020-07-26 17:54:40 -07:00
Vicki Pfau 3f75078174 Util: Factor out gcd code 2020-07-23 21:42:35 -07:00
Vicki Pfau 78524ee078 GB: Export GBInputInfo 2020-07-18 00:32:18 -07:00
Vicki Pfau 7973d70b04 mVL: Add parameter for closing the video log backing 2020-07-16 18:04:48 -07:00
Vicki Pfau b8e9f50c92 Core: Add mVideoLogIsCompatible function 2020-07-16 18:04:48 -07:00
Vicki Pfau 7328e96ced GBA Video: Fix color of disabled screen 2020-07-14 01:08:25 -07:00
Vicki Pfau 73c38b95b6 All: Correct more format strings on Windows (fixes #1817) 2020-07-11 15:35:29 -07:00
Vicki Pfau cdf9105f56 GB MBC: Support for unlicensed Pokemon Jade/Diamond Game Boy mapper 2020-07-07 18:14:33 -07:00
Vicki Pfau 029b0b937a All: Use calloc instead of malloc in several places 2020-07-07 18:02:34 -07:00
Vicki Pfau 2f066a9790 Util: Start cleaning up some bounded string copies 2020-07-06 16:08:23 -07:00
Vicki Pfau d9cc9b20ff GBA Memory: Stall on VRAM access in mode 2 (fixes #190) 2020-06-30 03:15:17 -07:00
Vicki Pfau 3c73afb7a9 Core: Const-correctness 2020-06-26 01:22:39 -07:00
Vicki Pfau 5ef12b5979 All: Correct format strings for some numbers on Windows (fixes #1794) 2020-06-20 03:02:27 -07:00
Vicki Pfau 96f1838faa GB MBC: Fix MBC1 mode changing behavior 2020-06-16 20:48:08 -07:00
Vicki Pfau 031049cd06 GBA Video: Simplify sprite cycle counting (fixes #1279) 2020-06-10 01:28:39 -07:00
Vicki Pfau 90e932e12c SM83: Emulate HALT bug 2020-06-05 20:29:31 -07:00
Vicki Pfau 7f64f8cf3b Debugger: Keep track of global cycle count 2020-05-30 18:01:15 -07:00
Vicki Pfau 4297ae70fd Core: Fix version header 2020-05-26 22:10:22 -07:00
Vicki Pfau ff4406fab0 All: Improve export headers (fixes #1738) 2020-05-24 22:58:50 +00:00
Vicki Pfau f78951b7dd GB IO: Add some register names 2020-05-24 13:41:09 -07:00
Vicki Pfau 9ddf82bebc GB Video: Fix state after skipping BIOS (fixes #1715 and fixes #1716) 2020-05-13 01:56:46 -07:00
lif 0a06af1aa6 Use consistent conditionals for big endian detection (not all PowerPC hosts are big-endian!) 2020-04-21 20:21:01 -07:00
Vicki Pfau cd6209d7f0 All: Fix your libc, Windows 2020-02-27 21:33:15 -08:00
Vicki Pfau 1352e2fc4f GBA SIO: Fix Multiplayer busy bit 2020-02-24 19:54:39 -08:00
Vicki Pfau a47bc8455c GBA Video: Fix IO cache size 2020-02-24 19:53:26 -08:00
Vicki Pfau 210c7a91cd GBA e-Reader: Increase scanning stability more 2020-02-23 18:01:53 -08:00
Vicki Pfau 7091494583 GBA e-Reader: Batch scanning 2020-02-23 16:58:44 -08:00
Vicki Pfau e2bc15192f GBA e-Reader: Split out into separate file 2020-02-23 15:04:52 -08:00
Vicki Pfau e0ca7c69a2 GBA Hardware: First working e-Reader scanning 2020-02-19 20:21:47 -08:00
Vicki Pfau 433759f1fe GBA Hardware: Remove leftover code 2020-02-19 20:21:47 -08:00
Vicki Pfau d3526be8f5 GBA Hardware: Fix-up card scanning 2020-02-19 20:21:47 -08:00
Vicki Pfau 4b5efa2365 GBA Hardware: I know this e-Reader code is wrong 2020-02-19 20:21:47 -08:00
Vicki Pfau 131cb3d938 GBA Hardware: Still-broken implementation of e-Reader serial protocol 2020-02-19 20:21:47 -08:00
Vicki Pfau 62a198357b GBA Hardware: Add skeleton for e-Reader support 2020-02-19 20:21:47 -08:00
Vicki Pfau 7611913d65 GB: Add input description file 2020-02-17 16:18:39 -08:00
Vicki Pfau 7ea3728165 GBA BIOS: Implement dummy sound driver calls 2020-02-12 23:41:25 -08:00
Vicki Pfau 4f327de210 Wii: Add network socket support 2020-02-08 17:46:56 -08:00
Vicki Pfau 7feee35eba Core: Ensure ELF regions can be written before trying 2020-01-31 18:16:18 -08:00
Vicki Pfau e9cab735cd GBA Video: Remove redundant flags layers 2020-01-29 18:02:36 -08:00
Vicki Pfau 41775416ce GBA: Rip out old rr code 2020-01-28 18:15:49 -08:00
Vicki Pfau befef8ee26 GBA Video: Fix Hblank timing 2020-01-27 18:27:03 -08:00
Vicki Pfau 1285aa2749 GBA Serialize: Fix audio serialization for desynced FIFOs 2020-01-24 21:51:15 -08:00
Vicki Pfau 93633ea605 GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301, fixes mgba.io/i/1320) 2020-01-24 18:07:08 -08:00
Vicki Pfau f44846cb9a GBA Video: Changing OpenGL scaling no longer requires restart 2020-01-19 19:15:36 -08:00
Vicki Pfau 5a543b2a64 Switch: Fix build on libnx 3.0.0 2020-01-19 16:20:23 -08:00
Vicki Pfau f96b08c52f Debugger: Minor interface cleanup 2020-01-09 18:31:48 -08:00
Vicki Pfau ad870aa26b GBA Audio: Redo channel 4 batching for GBA only 2020-01-01 17:02:02 -08:00
Vicki Pfau 51a122f20d SM83: Rename LR35902 to SM83 2020-01-01 11:35:00 -08:00
Vicki Pfau ed2353ff76 GBA Video: Fix BLDY for semitransparent sprite on non-target-2 backgrounds 2019-12-31 00:05:59 -08:00
Vicki Pfau bb1ce789d2 Debugger: Print break-/watchpoint ID when breaking in CLI 2019-12-21 14:05:22 -08:00
Vicki Pfau a6fc606a2d Debugger: Separate aliases from main commands 2019-12-21 13:52:16 -08:00
Vicki Pfau b9edcd8d93 Core: Add more memory search ops (closes #1510) 2019-10-13 17:31:05 -07:00
Vicki Pfau a44a8f668f GB: Add yanking 2019-09-07 18:32:37 -07:00
Vicki Pfau 34529398bb GB: More SGB controller incrementing fixes 2019-09-03 19:38:51 -07:00
Vicki Pfau 5c5be73c47 GB MBC: Support for unlicensed Wisdom Tree Game Boy mapper 2019-07-04 17:45:03 -07:00
Vicki Pfau 981a8bcb7d mGUI: Refactor fixed ROM buffer code out of cores, add loading progress 2019-06-30 17:57:02 -07:00
Vicki Pfau 6bd38d1565 GBA Cheats: Add support for loading EZ Flash-style cht files 2019-06-30 14:51:27 -07:00
Vicki Pfau 09cce3627b GB, GBA: Make file type checking functions public API 2019-06-30 11:33:47 -07:00
Vicki Pfau cbc27f08f9 Core: Add single config option reloading function 2019-06-30 11:25:40 -07:00
Vicki Pfau aead90a2c1 Windows: Fix ATOMIC_*_PTR in MSVC 2019-06-24 14:02:56 -07:00
Vicki Pfau fb72b70505 All: Don't require dllexports.h on standalone builds (really fixes #1464) 2019-06-24 08:31:21 -07:00
Arves100 0a06f4dad0 All: Added exports for qt 2019-06-22 20:22:42 -07:00
Vicki Pfau 3f044a5791 Core: Add support for loading Libretro-style cht files 2019-06-22 13:02:58 -07:00
Arves100 98d2671c6d Util: Removed broken dllexport symbol 2019-06-22 00:26:10 -07:00
Arves100 120e1006d0 All: Microsoft Visual C++ compatibility code 2019-06-20 13:57:04 -07:00
Vicki Pfau 918caf87c4 Core: Create game-related paths if they don't exist (fixes #1446) 2019-06-17 13:29:15 -07:00
Vicki Pfau 442a0794be GBA Video: Add transparent sprite priority updating for GL 2019-06-11 13:44:52 -07:00
Vicki Pfau 7d821d4f11 mGUI: Remmeber name and position of last loaded game 2019-06-07 12:26:49 -07:00
Vicki Pfau 81476720e2 GB Serialize: Fix loading non-BIOS state from BIOS (fixes #1280) 2019-06-06 16:15:07 -07:00
Vicki Pfau 5c11ea8c27 GBA: Work around CFFI regression 2019-06-04 16:30:53 -07:00
Vicki Pfau 4787eb29c5 GBA SIO: Stop using bitfield structs 2019-06-04 16:30:34 -07:00
Vicki Pfau b99d8164dd Qt: Initial mask support for transformed sprites 2019-06-01 23:41:28 -07:00
Vicki Pfau f41f3a8478 GBA Video: Support highlighting layers 2019-06-01 14:30:22 -07:00
Vicki Pfau 570f2c5f38 Core: Video packet injection 2019-06-01 14:28:39 -07:00
Vicki Pfau 3cce95b287 Core: Video log enhancements 2019-06-01 11:07:49 -07:00
Vicki Pfau 33d13b3757 GBA Video: Optimize mode 0 offset changes in GL 2019-05-28 17:31:09 -07:00
Vicki Pfau ef2a2e5002 GBA Video: Move window drawing to a shader 2019-05-27 20:48:42 -07:00
Vicki Pfau ba2d702fb5 GBA Video: Replace palette texture with uniforms 2019-05-27 16:22:37 -07:00
Vicki Pfau 0f99419487 Qt: Fix loading shaders while game is not running 2019-05-27 11:53:13 -07:00
Vicki Pfau 47bf26ff73 OpenGL, Qt: Add interframe blending 2019-05-27 11:53:13 -07:00
Vicki Pfau 1f2bd30b14 Switch: Fix threading-related crash on second launch 2019-05-26 14:26:35 -07:00
Vicki Pfau f5fb96f256 GBA Video: More GL ES fixes 2019-05-25 23:22:16 -07:00
Vicki Pfau 75c212b23c GBA Video: Extrapolate edges in affine 2019-05-22 21:15:23 -07:00
Vicki Pfau 5cc4c752e5 GBA Video: Batch affine modifications 2019-05-22 20:37:04 -07:00
Vicki Pfau 572f4df7e7 GBA Video: Begin work on batching GL draw calls 2019-05-22 17:33:56 -07:00
Vicki Pfau f781c793f5 GBA Video: Use 1d texture for backdrop bits 2019-05-20 12:21:10 -07:00
Vicki Pfau 6eab8d3418 GBA Video: GL OBJ mosaic 2019-05-20 10:26:01 -07:00
Vicki Pfau d84793edee GBA Video: GL BG mosaic 2019-05-20 10:08:56 -07:00
Cameron Cawley 19747ea21d CMake: Improved detection of pthreads. 2019-05-20 09:38:30 -07:00
Vicki Pfau 4e2052f934 GBA Audio: Experimental HLE audio 2019-05-18 18:42:45 -07:00
Vicki Pfau 43180dca1d GBA Video: Window interpolation 2019-05-18 00:37:54 -07:00
Vicki Pfau 6890c070e6 GBA Video: Fix GL mode 2 distortion 2019-05-17 21:14:51 -07:00
Vicki Pfau 03c17cdc56 Merge branch 'feature/hwrender' 2019-05-17 17:11:43 -07:00
Le Hoang Quyen bb37a60765 Fixed link cable stability 2019-05-17 17:08:30 -07:00
Le Hoang Quyen b11de7538e Implement atomic macros for win32 2019-05-17 16:30:50 -07:00
lehoangquyen 7a5840fb5a Use atomic functions in more places 2019-05-17 16:17:16 -07:00
Vicki Pfau 8a26a7977c GBA Video: GL screenshots 2019-05-17 14:00:34 -07:00
Vicki Pfau 25f0bc7f2b GBA Video: Massively simplify compositing 2019-05-17 14:00:34 -07:00
Vicki Pfau ee6cd36402 OpenGL: Use VAOs 2019-05-17 14:00:34 -07:00
Vicki Pfau 8450417086 Core: Improve OpenGL integration, update Qt to use improvements 2019-05-17 14:00:34 -07:00
Vicki Pfau 49a9da3e5c GBA Video: GL OBJWIN 2019-05-17 14:00:34 -07:00
Vicki Pfau 4e4e461175 GBA Video: Clean up GL uniforms 2019-05-17 14:00:34 -07:00
Vicki Pfau 3e8bb42e9f GBA Video: Windows in GL 2019-05-17 14:00:34 -07:00
Vicki Pfau 424fbddfea GBA Video: GL better blending and finalization 2019-05-17 14:00:34 -07:00
Vicki Pfau c15dedf3f4 GBA Video: Add transformed objects to GL 2019-05-17 14:00:34 -07:00
Vicki Pfau bd69c9fb26 GBA Video: Add per-pixel flags in GL 2019-05-17 14:00:34 -07:00
Vicki Pfau 62f70379f6 GBA Video: GL sprite initial work 2019-05-17 14:00:34 -07:00
Vicki Pfau 68f0176ee4 GBA Video: Mode 2 cubic interpolation 2019-05-17 14:00:34 -07:00
Vicki Pfau 8a6ea929d2 GBA Video: GL cleanup, initial work on blending 2019-05-17 14:00:34 -07:00
Vicki Pfau 18e6acaf72 GBA Video: Basic interpolation for GL renderer 2019-05-17 14:00:34 -07:00
Vicki Pfau fab3091ed1 Core: Some texid plumbing 2019-05-17 14:00:34 -07:00
Vicki Pfau 3e0675f539 GBA Video: Add GL mode 2 2019-05-17 14:00:34 -07:00
Vicki Pfau b86857696a GBA Video: Mostly functional mode 0 GL renderer 2019-05-17 14:00:34 -07:00
Vicki Pfau bb997f9b46 GBA Video: Start mode 0 GL renderer 2019-05-17 14:00:34 -07:00
Vicki Pfau e99cd34b66 GBA Video: Move video registers and structs into common file 2019-05-17 14:00:34 -07:00
Vicki Pfau 82ef919ee2 Feature: More video logging plumbing 2019-05-17 14:00:34 -07:00
Vicki Pfau 42813bb197 Qt: Add VideoProxy 2019-05-17 14:00:34 -07:00
Vicki Pfau f39ab5b353 ARM, LR35902: Const correctness 2019-05-08 11:22:10 -07:00
Vicki Pfau 43e2a6ab5d GBA: Move VIDEO_*_PIXELS to public interface 2019-05-01 21:59:39 -07:00
Vicki Pfau fbe375fab9 Core: Add support for caching bitmapped modes 2019-04-30 17:44:56 -07:00
Vicki Pfau 1deff07aa1 Debugger: Print breakpoint/watchpoint number when inserting 2019-04-28 13:37:51 -07:00
Vicki Pfau 1d6d4a5377 Debugger: Add tracing to file 2019-04-28 13:27:10 -07:00
Vicki Pfau a898c1b755 Debugger: Make tracing compatible with breakpoints/watchpoints 2019-04-28 13:13:04 -07:00
Vicki Pfau bf8c1d1b4b ARM: Remove need for CPSR load in some flag calculations 2019-03-31 11:59:18 -07:00
Vicki Pfau 73cb853ae4 ARM: Simplify addition OverflowFrom 2019-03-29 22:17:09 -07:00
Vicki Pfau c364a6527a Windows: Fix passing Unicode filenames (fixes #1359) 2019-03-16 19:58:40 -07:00
Vicki Pfau 0425fa805c Core: Add keysRead callback 2019-03-08 09:55:51 -08:00
Vicki Pfau b3687bfbe9 GB Debugger: Expose platform info in CLI 2019-03-04 18:30:57 -08:00
Vicki Pfau d6ac0dc6f5 LR35902: Support PC-relative opcode decoding 2019-03-04 18:30:57 -08:00
Vicki Pfau c3ec7311e8 Debugger: Add unary operators and memory dereferencing 2019-03-04 18:30:57 -08:00
Vicki Pfau a3c79c92d7 GB Video: Fix window being enabled mid-scanline (fixes #1328) 2019-03-03 17:27:53 -08:00
Vicki Pfau f9f105a852 GBA: Improve delayed IRQ timing 2019-02-24 00:28:49 -08:00
Vicki Pfau 6e1ae2321e GB: Add GBC color palettes for GB games 2019-02-20 20:34:03 -08:00
Vicki Pfau fb473e5eb4 GBA Peripherals: Partial Beast Link Gate support 2019-02-16 14:05:09 -08:00
Vicki Pfau 85a85672e4 GBA Peripherals: Start implementing Progress Gate 2019-02-15 21:41:04 -08:00
Vicki Pfau 86b6f2e9cd GBA Peripherals: Improve BattleChip Gate support 2019-02-14 21:43:16 -08:00
Vicki Pfau f7f8e38dc1 GBA Peripherals: Start implementing BattleChip Gate 2019-02-10 16:29:51 -08:00
Vicki Pfau 0c9802e4da Debugger: Revamp breakpoint/watchpoint API, add listing 2019-01-31 22:52:27 -08:00
Vicki Pfau 4e39875e7b Qt: Revamp logging configuration 2019-01-20 21:09:34 -08:00
Vicki Pfau 6158a4fb8d GB Audio: Skip frame if enabled when clock is high 2018-12-05 19:48:40 -08:00
Vicki Pfau b913419069 Core: Expose timing 2018-10-17 21:40:06 -07:00
Vicki Pfau 4d383b129d ARM: De-macro-ize ARM/Thumb PC write routines 2018-10-12 21:09:49 -07:00
Vicki Pfau 50d735b99b GBA Savedata: EEPROM performance fixes 2018-10-12 11:13:43 -07:00
Vicki Pfau f6a4a13b60 GBA: All IRQs have 7 cycle delay (fixes #539, #1208) 2018-10-07 12:52:00 -07:00
lacastri 08ab254fef cmake libretro "visual studio 15 2017" 2018-10-01 21:06:43 -07:00
Vicki Pfau 479bee3707 GB, GBA: Fix broken opposing button filter (fixes #1191) 2018-09-29 12:55:35 -07:00
Vicki Pfau 32c5fd6d90 mGUI: Add variants 2018-09-29 11:09:16 -07:00
Vicki Pfau fdfab146a0 Core: Fix up thread proxy waiting 2018-09-23 13:26:52 -07:00
Vicki Pfau 555122e0a1 GB Audio: Improve channel 4 accuracy 2018-09-21 21:41:57 -07:00
Vicki Pfau 9f1b2e9d1d Core: Finish removing rewindSave option 2018-09-20 11:27:57 -07:00
Vicki Pfau 9fb7485051 mGUI: Add BATTERY_NOT_PRESENT state 2018-09-20 11:22:58 -07:00
Vicki Pfau 9564a1ab60 GB I/O: Fix PCM12/34 register numbers 2018-09-18 20:50:58 -07:00
Vicki Pfau 76d6411479 GB Serialize: Fix IRQ pending/EI pending confusion 2018-09-18 20:12:56 -07:00
Vicki Pfau 65473a97f9 GB Video: Frame event cleanup 2018-09-18 18:51:37 -07:00
Vicki Pfau 91eb813e56 Core: Remove disabling rewind affecting savedata 2018-09-17 12:48:56 -07:00
Vicki Pfau f6587cda6c Switch: Add missing file 2018-09-15 15:28:33 -07:00
Vicki Pfau af03ad75be Switch: Initial mGUI port 2018-09-13 18:12:32 -07:00
Vicki Pfau 4f312a0998 Util: Add missing PNG read functions 2018-09-12 19:27:23 -07:00
Vicki Pfau cc2362aea9 Switch: Initial port work 2018-09-10 22:36:12 -07:00
Vicki Pfau 0d7cdb9ed8 GBA Serialize: Serialize POSTFLG 2018-09-08 11:24:46 -07:00
Vicki Pfau cbf460a164 mGUI: Revamp file filtering 2018-09-03 17:54:40 -07:00
Vicki Pfau 6c664c7efe GBA Serialize: Fix docs 2018-09-01 16:19:18 -07:00
Vicki Pfau 0b47bb1204 Debugger: Add ARMIPS symbol table loading 2018-08-30 18:56:13 -07:00
Vicki Pfau 7cc09c713b GB Video: SGB borders can now be toggled during games (fixes #868) 2018-08-28 13:13:12 -07:00
Vicki Pfau 575adcaf4c GB MBC: Add MMM01 2018-07-28 01:04:36 -07:00
Vicki Pfau f8fb86ef79 Feature: Added loading savestates from command line (fixes #1125) 2018-07-14 14:18:16 -07:00
Vicki Pfau e11e5ef970 util: Formatting cleanup 2018-07-02 20:42:20 -07:00
Vicki Pfau 781f2fbb90 GB Video: Fix SCX timing 2018-06-28 13:37:05 -07:00
Vicki Pfau 2ee648a2bb Core: Fix audio sync breaking when interrupted 2018-05-28 22:50:40 -07:00
Vicki Pfau c353e1254a PowerPC: Fix overflow in LOAD/STORE_64LE (fixes #1089) 2018-05-26 13:09:13 -07:00
Vicki Pfau 064530e056 PowerPC: Fix potential register clobbering in LOAD_64LE 2018-05-25 17:33:59 -07:00
Vicki Pfau 56e40b118c GB Audio: Implement capacitor charge 2018-05-11 17:02:58 -07:00
Vicki Pfau 73010a4121 ARM: Prevent register check code from being inlined 2018-05-08 14:11:51 -07:00
Vicki Pfau c3e02f9c92 GBA Savedata: Remove ability to disable realistic timing 2018-05-08 10:25:09 -07:00
Vicki Pfau 67a135e5e7 Qt: Add layer placement features 2018-04-26 18:38:02 -07:00
Vicki Pfau 0207048679 GB Video: Implement MLT_REQ controller iterating 2018-04-21 17:57:49 -07:00
Vicki Pfau 4101fe54c6 GB Video: Make SGB packet transfers atomic (fixes #1054, closes #1030) 2018-04-21 16:56:51 -07:00
Vicki Pfau 4a10ea2f69 GB MBC: Add MBC6 SRAM support 2018-04-18 18:26:50 -07:00
Vicki Pfau fac10eae96 GB Memory: Fix OAM DMA blocking regions (fixes #1013) 2018-03-21 09:24:54 -07:00
Vicki Pfau 3443c14169 Core: Fix some linking issues when debuggers are disabled 2018-03-09 22:30:04 -08:00
Vicki Pfau 82f78ba37e GBA: Fix SharkPort saves for EEPROM games 2018-02-05 22:06:44 -08:00
Vicki Pfau 2c870cacf4 GB Audio: Clock frame events on DIV 2018-02-03 23:56:32 -08:00
Vicki Pfau 3a9d77d9e0 PSP2: Access to ur0 and uma0 partitions 2018-01-25 18:41:30 -08:00
Vicki Pfau 38e3dbc0fc GBA Memory: Matrix Memory support 2018-01-14 10:54:54 -08:00
Vicki Pfau 7097d249af 3DS: Use ctrlib Thread abstraction 2018-01-10 00:39:35 -08:00
Vicki Pfau 12931fbe25 GB Video: Implement SGB ATTR_CHR 2018-01-08 23:42:43 -08:00
Vicki Pfau caea7e0700 GB: Skip BIOS option now works 2018-01-08 08:39:26 -08:00
Vicki Pfau 0131a196d1 Debugger: Conditional watchpoints 2017-12-29 16:38:46 -05:00
Vicki Pfau 0383c82b46 Debugger: Conditional breakpoints 2017-12-29 16:11:40 -05:00
Vicki Pfau f5ef07bebb Add two-character operators 2017-12-29 14:46:21 -05:00
Vicki Pfau 5d98f9c963 Debugger: Add modulo operator 2017-12-29 14:01:55 -05:00
Vicki Pfau d7900fdf5f Debugger: Refactor lexer to use Vector type 2017-12-29 00:47:49 -05:00
Vicki Pfau c692006b9d Debugger: Expose parser evaluation 2017-12-29 00:02:20 -05:00
Vicki Pfau e192973bc5 Debugger: Migrate identifier lookups 2017-12-28 23:52:03 -05:00
Vicki Pfau e2f4fdbdac GBA Memory: AGBPrint support 2017-12-28 14:20:55 -05:00
Vicki Pfau 821c8988a3 Debugger: Add more operators 2017-12-27 20:57:33 -05:00
Vicki Pfau a6a6e31169 GB Video: Improved window implementation 2017-12-26 16:48:41 -05:00
Vicki Pfau f3ea4caf84 All: Support building on PPC Mac 2017-12-23 16:23:51 -08:00
Vicki Pfau 8ab6987823 CMake: Build fixes 2017-11-27 12:58:33 -08:00
Vicki Pfau 3842b35ab0 GBA Cheats: Increase maximum ROM patch slots 2017-11-25 18:03:23 -08:00
Vicki Pfau f5afadb72d Core: Add support for cheat device buttons 2017-11-19 10:51:14 -08:00
Vicki Pfau 764acb7d63 Core: Add autosave/-load cheats 2017-11-11 12:30:04 -08:00
Vicki Pfau fe354097f2 GB Serialize: Update docs 2017-11-11 11:23:10 -08:00
Vicki Pfau 5134e39681 GB IO: Name PCM12/34 2017-11-08 01:09:47 -08:00
Vicki Pfau dec7b6902e GB IO: Use correct lockout register 2017-11-08 01:07:38 -08:00
Vicki Pfau d054be88c7 GB Memory: HDMAs should not start when LCD is off (fixes #310) 2017-11-05 21:46:10 -08:00
Vicki Pfau 679630701e GBA DMA: Fix invalid DMA reads (fixes #142) 2017-11-01 16:55:31 -07:00
Vicki Pfau 4e296c3efc GBA Video: Cache mode 0 map data per 8 rows 2017-10-28 00:23:23 -07:00
Vicki Pfau 63d7927b60 GBA SIO: Add generic JOY bus implementation, Python bindings 2017-10-21 17:26:42 -07:00
Prof. 9 168cad7f9c Fix PARv3 If-AND code types (fixes #913) (#914) 2017-10-19 18:06:47 -07:00
Vicki Pfau 7ebd2d6e75 GB Video: Fix loading states while in mode 3 2017-10-17 21:25:35 -07:00
Vicki Pfau b05cfe7764 GBA: Implement display start DMAs 2017-10-16 20:07:04 -07:00
Vicki Pfau 8385869652 Core: Add additional memory search operations 2017-10-14 17:13:06 -07:00
Vicki Pfau db9725a563 Core: Add memory delta search 2017-10-14 16:19:25 -07:00
Vicki Pfau 591ab468e9 Core: Start improving memory search 2017-10-14 15:36:51 -07:00
Vicki Pfau d484c98eba Debugger: Add get/set register functions 2017-10-13 00:29:38 -07:00
Vicki Pfau a2447d09e3 Debugger: Redo argument handling 2017-10-13 00:28:35 -07:00
Vicki Pfau d3d7b9606c GB: Support CGB lockout 2017-09-26 18:22:09 -07:00
Vicki Pfau b11171c6f1 GB Video: Expand custom palettes to separate BG/OBJ palettes 2017-09-26 18:21:51 -07:00
Vicki Pfau a949fdfced GB: Revamp IRQ handling based on new information 2017-09-26 15:40:49 -07:00
Vicki Pfau bec2757dbf Python: Add map view 2017-09-24 22:32:58 -07:00
Vicki Pfau 405eafb969 Qt: Make clicking tiles work 2017-09-24 22:32:58 -07:00
Vicki Pfau a7ee79ff45 Core: More map viewer fixes 2017-09-24 22:32:32 -07:00
Vicki Pfau f27be6e5f2 Core: Fix "macro" tile dynamic sizing 2017-09-24 22:32:32 -07:00
Vicki Pfau 697c1cfa9d Util: Add alpha versions of PNG functions 2017-09-24 22:32:32 -07:00
Vicki Pfau 507d033a97 GB Video: Support map cache 2017-09-24 22:32:32 -07:00
Vicki Pfau c6f0d6c5db Core: Still quite buggy map cache 2017-09-24 22:31:20 -07:00
Vicki Pfau df9616c15c Core: Revamp tile cache, add untested map cache 2017-09-24 22:31:20 -07:00
Vicki Pfau 5dfa036fa5 GBA Savedata: Fix size of SRAM saves (fixes #883) 2017-09-22 21:19:07 -07:00
Vicki Pfau d582cf7d36 GBA Savedata: Fix 512 byte EEPROM saving as 8kB (fixes #877) 2017-09-17 15:01:20 -07:00
Vicki Pfau ca4d53f014 GBA: Detect hardware for Pokémon FireRed ROM hacks 2017-09-09 11:22:14 -07:00
Vicki Pfau bd4dd8de5c Util: Don't build crc32 if the function already exists 2017-09-09 10:51:40 -07:00
Vicki Pfau 448bc200c3 Util: Get rid of _to16Bit 2017-08-26 18:23:29 -07:00
Vicki Pfau 04713d9de1 Util: Remove elf_repl.h check 2017-08-13 13:25:12 -07:00
Vicki Pfau ec1fc632b2 GB MBC: MBC6 skeleton 2017-08-12 14:17:43 -07:00
Vicki Pfau ff272a5f1d GB, GBA Serialize: Restore master cycles 2017-08-05 20:48:18 -07:00
Vicki Pfau 558055277f GB Video: Ability to disable SGB borders 2017-08-05 08:52:58 -07:00
Vicki Pfau a496ddc072 GB: Start building up MGB 2017-08-05 08:52:57 -07:00
Vicki Pfau 3203159123 GB Core: Ability to set default Game Boy model 2017-08-05 07:56:36 -07:00
Vicki Pfau 1a74924023 Core: Add pause/unpause callbacks to mCoreThread 2017-08-03 23:56:44 -07:00
Vicki Pfau 51a6079e91 GBA Video: Caching cleanup 2017-08-03 17:57:01 -07:00
Vicki Pfau e71baacd2f GBA Video: Scanline-level I/O caching 2017-08-03 16:54:17 -07:00
Vicki Pfau 05c2fc3e0d GB Serialize: Support serializing/deserializing SGB 2017-08-02 23:42:00 -07:00
Vicki Pfau ec25074cec GBA Video: Mark scanlines as dirty if they need to be updated 2017-08-02 18:27:59 -07:00
Vicki Pfau f61c0ce02f GB: Support SGB boot ROM 2017-08-02 17:00:29 -07:00
Vicki Pfau 871c21fb6c GB Video: Further SGB work, support for ATTR_BLK 2017-08-02 14:47:23 -07:00
Vicki Pfau 36c1fb59be GB: Super Game Boy borders 2017-08-01 19:01:55 -07:00
Vicki Pfau dc976eaf51 GB SIO: Game Boy Printer 2017-07-30 19:12:59 -07:00
Vicki Pfau e0f04a0d5a Core: Color formats 2017-07-27 15:11:54 -07:00
Vicki Pfau ce9439031f Qt: Improve QCamera support for 5.5+ 2017-07-26 14:40:06 -07:00
Vicki Pfau 31b9100f38 GB MBC: Pocket Cam support 2017-07-26 13:58:39 -07:00