Commit Graph

479 Commits

Author SHA1 Message Date
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