Commit Graph

835 Commits

Author SHA1 Message Date
Vicki Pfau 7ab5f3d690 Scripting: Allow "opaque" pointers a bit more clarity 2022-05-27 20:19:28 -07:00
Vicki Pfau b3476a997a Scripting: Pass filenames down to scripting engines 2022-05-27 20:19:28 -07:00
Vicki Pfau 7a6b16dc41 Scripting: Fix up Lua tables 2022-05-27 20:19:28 -07:00
Vicki Pfau 304d8d1a4d Scripting: More API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 28d7bfdffc Scripting: Add prototype "buffer" pseudo-TUI interface 2022-05-27 20:19:28 -07:00
Vicki Pfau 304a8d1655 Scripting: Split macros into separate header 2022-05-27 20:19:28 -07:00
Vicki Pfau 1895ed34fc Scripting: Add making strings from non-UTF8-clean text 2022-05-27 20:19:28 -07:00
Vicki Pfau 5c84278667 Scripting: Start exporting some constants 2022-05-27 20:19:28 -07:00
Vicki Pfau cb9d45caee Scripting: Add savestate slot access 2022-05-27 20:19:28 -07:00
Vicki Pfau e228857eef Scripting: Add default arguments 2022-05-27 20:19:28 -07:00
Vicki Pfau f3ba5f7692 Scripting: API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau ca073379fb Scripting: Add Table iteration 2022-05-27 20:19:28 -07:00
Vicki Pfau c14fb54a74 Scripting: Add callback API 2022-05-27 20:19:28 -07:00
Vicki Pfau e8e9a3e3c3 Scripting: Bring up lists 2022-05-27 20:19:28 -07:00
Vicki Pfau 076299a5f6 Scripting: Start bringing up constructors/destructors 2022-05-27 20:19:28 -07:00
Vicki Pfau bbf6d94fe2 Scripting: More table scaffolding 2022-05-27 20:19:28 -07:00
Vicki Pfau deff3585bd Scripting: Default "get" handling a la Python and casting a struct into one of its members 2022-05-27 20:19:28 -07:00
Vicki Pfau aa91ffabfd Scripting: Revamp pointer handling, struct casting 2022-05-27 20:19:28 -07:00
Vicki Pfau c296ea79ff Scripting: Add flag for freeing the value buffer 2022-05-27 20:19:28 -07:00
Vicki Pfau 0c28e34a7e Scripting: Remove static members 2022-05-27 20:19:28 -07:00
Vicki Pfau 17d2373975 Scripting: Add "console" logger bridge 2022-05-27 20:19:28 -07:00
Vicki Pfau e3758597f8 Scripting: Hook up Lua strings and add context autodrain pool 2022-05-27 20:19:28 -07:00
Vicki Pfau af44a65c3d Scripting: Add weak references for opaque runtime access 2022-05-27 20:19:28 -07:00
Vicki Pfau 7bb051b01d Scripting: Start hooking things together 2022-05-27 20:19:28 -07:00
Vicki Pfau 8326ecddce Scripting: Add missing C++ guard ends 2022-05-27 20:19:28 -07:00
Vicki Pfau b9f88061ca Scripting: Add error reporting 2022-05-27 20:19:28 -07:00
Vicki Pfau 8c45d51b8e Scripting: Code cleanup, add parameter names 2022-05-27 20:19:28 -07:00
Vicki Pfau ce3710323b Scripting: Start working on mCore bridge 2022-05-27 20:19:28 -07:00
Vicki Pfau 7226b7ee31 Scripting: Interface cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 5c67c3b600 Scripting: Lua method calling cleanup and testing 2022-05-27 20:19:28 -07:00
Vicki Pfau 7c9ea1ec9b Scripting: Add basic inheritance + struct struct member access + const casting 2022-05-27 20:19:28 -07:00
Vicki Pfau 9ddada00f2 Scripting: Add struct setter 2022-05-27 20:19:28 -07:00
Vicki Pfau b0567832f8 Scripting: More const bringup 2022-05-27 20:19:28 -07:00
Vicki Pfau eadc0c677b Scripting: Minor code cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 3179419f52 Scripting: Add static dispatch to classes 2022-05-27 20:19:28 -07:00
Vicki Pfau e912450e85 Scripting: Attempt to add const structs 2022-05-27 20:19:28 -07:00
Vicki Pfau 1a6fa25a33 Scripting: Add struct dynamic dispatch binding 2022-05-27 20:19:28 -07:00
Vicki Pfau af2e226cc4 Scripting: First pass on structs/classes 2022-05-27 20:19:28 -07:00
Vicki Pfau c8848876fa Scripting: Add 8/16-bit integer types for struct interop 2022-05-27 20:19:28 -07:00
Vicki Pfau 2e00104d1a Scripting: Clean up function binding CPP 2022-05-27 20:19:28 -07:00
Vicki Pfau 9d92c185c6 Scripting: Minor cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau ce97d86906 Scripting: Start bringing up Lua bindings 2022-05-27 20:19:28 -07:00
Vicki Pfau 512572769e Scripting: Rework functions; add wrapper type for stack references 2022-05-27 15:57:38 -07:00
Vicki Pfau c507157ab8 Scripting: Start bringing up execution contexts 2022-05-27 15:57:38 -07:00
Vicki Pfau 2a81e5a1ba Scripting: Add 64-bit types 2022-05-27 15:57:38 -07:00
Vicki Pfau cbae6a61e5 Scripting: Start adding type-aware casting 2022-05-27 15:57:38 -07:00
Vicki Pfau 9955d0d19b Scripting: Start string bringup 2022-05-27 15:57:38 -07:00
Vicki Pfau 8818bf4048 Scripting: Move equality into type implementation 2022-05-27 15:57:38 -07:00
Vicki Pfau 16563fe4d2 Scripting: Typing cleanup 2022-05-27 15:57:38 -07:00
Vicki Pfau a2b0230c71 Scripting: Add some helper macros 2022-05-27 15:57:38 -07:00
Vicki Pfau 34752e95d5 Scripting: Adapt Table type to use HashTableCustom 2022-05-27 15:57:38 -07:00
Vicki Pfau 1a33a71771 Scripting: Initial runtime bringup work 2022-05-27 15:57:38 -07:00
Vicki Pfau f3c26add07 Core: Add mCoreTakeScreenshotVF function 2022-05-27 14:29:17 -07:00
Vicki Pfau fe10c00289 Util: Implement HashTableEnumerateCustom 2022-05-27 00:44:33 -07:00
Vicki Pfau 4c1d44692c Util: Add Table iterators 2022-05-26 23:58:35 -07:00
Vicki Pfau 68c57df1f6 Util: Add custom callbacks for hash tables 2022-05-26 23:58:35 -07:00
Vicki Pfau 0035b5a22b Util: Reformat hashing and let it use 64-bit regions 2022-05-26 23:52:06 -07:00
Vicki Pfau 87738ba8f3 Core: Migrate register access API from debugger into core 2022-05-16 15:58:50 -07:00
Vicki Pfau af043e0792 Core: Add getKeys API 2022-05-16 15:12:21 -07:00
Vicki Pfau e76698ae59 Util: Add latin1ToUtf8 2022-05-15 21:44:36 -07:00
Vicki Pfau 155c57b19e Util: Add utf8strlen, tests 2022-05-15 21:44:20 -07:00
Vicki Pfau f326d02e33 Qt: Boot both a multiboot image and ROM with CLI args (closes #1941) 2022-04-21 22:09:46 -07:00
Vicki Pfau 4556d4b121 Feature: Modernize argument parsing API 2022-04-21 19:27:26 -07:00
Vicki Pfau bc9bb43f88 Debugger: Add poll interrupting 2022-04-03 02:49:05 -07:00
Vicki Pfau 5418bb066f Debugger: Add callback for updating while the runloop is suspended; use for GDB 2022-03-27 02:33:32 -07:00
Vicki Pfau 64d8dd1b69 GBA Cheats: Implement "never" type codes (closes #915) 2022-02-22 19:40:21 -08:00
Vicki Pfau 7c8a06816b GBA Video: Implement layer placement for OpenGL renderer (fixes #1962) 2022-02-20 19:45:13 -08:00
Vicki Pfau ad00b2f883 Core: Fix the runloop resuming after a game has crashed (fixes #2451) 2022-02-18 22:09:14 -08:00
Vicki Pfau cf06497456 GBA DMA: Enhanced logging (closes #2454) 2022-02-18 20:31:52 -08:00
Vicki Pfau 8289222c18 3DS: Update ifdef macros 2022-02-14 22:48:28 -08:00
Vicki Pfau 8ac1ece17a GB: Support for GBX ROMs 2022-02-10 14:25:21 -08:00
aldelaro5 6f697744d1 GDB Stub: allow to override GDB's handling logic of write watchpoint
Also allow to break on nonmodifying writes.
2022-02-09 21:52:50 -08:00
Vicki Pfau 0676769b68 GB MBC: Sachen MMC2 support 2022-02-08 18:36:12 -08:00
Vicki Pfau a5976e6c34 GB MBC: Sachen MMC1 support 2022-02-07 22:20:46 -08:00
Vicki Pfau d33471e117 GB MBC: Add NT (new) support (closes #2435) 2022-02-06 21:44:55 -08:00
Vicki Pfau 26aea8544f GB MBC: Initial HuC-3 save format 2022-02-04 23:48:27 -08:00
Vicki Pfau c829cd2e70 GB MBC: Improved support for HuC-3 mapper 2022-02-04 02:32:07 -08:00
Vicki Pfau 16df8fe957 GBA Video: Clean up flag calculation 2022-01-30 14:57:32 -08:00
Vicki Pfau d071bffe0a GBA Video: Fix Hblank timing (fixes #2131, #2310) 2022-01-26 18:26:56 -08:00
Vicki Pfau b127178377 GB: More selective savegame dirt, unify logic 2022-01-20 22:30:04 -08:00
aldelaro5 8564f5fef4 GDB Stub: Add target descriptior and memory map xml
This allows gdb to know the memory mapping as well as the architecture once connected. It also allows us to not send dummy data for the fpr because we explicitly do not mention them.
2022-01-20 20:03:53 -08:00
Vicki Pfau 1f53174270 GBA Video: Bump OpenGL requirement to 3.3 (closes #2425) 2022-01-20 18:10:53 -08:00
Vicki Pfau ddca55347e GBA Video: Fix OpenGL rendering on M1 Macs 2022-01-19 23:06:19 -08:00
Vicki Pfau 9a85fc8a5a Core: Frame counter should be unsigned 2022-01-15 15:30:41 -08:00
Vicki Pfau cb0af1b77b GBA: Remove obsolete RTC API 2022-01-15 15:29:40 -08:00
Vicki Pfau 70f75bba49 GB Video: Draw SGB border pieces that overlap GB graphics (fixes #1339) 2022-01-13 18:07:01 -08:00
Vicki Pfau 27d59e5ed6 mGUI: Add read-only menu items 2022-01-09 15:05:57 -08:00
Vicki Pfau 9f0d184e4b Wii: Add text cursor 2022-01-05 22:10:01 -08:00
Vicki Pfau f176c096b0 Wii: Initial OSK implementation 2022-01-05 00:29:45 -08:00
Vicki Pfau ea1abe2fcc Core: Add creator metadata extdata to savestates 2022-01-04 03:55:28 -08:00
Vicki Pfau 398ee0c827 GB I/O: Fix erroneously added registers 2022-01-04 03:49:43 -08:00
Vicki Pfau 23a815b99c GB I/O: Add placeholder names for some unimplemented registers 2021-12-28 15:27:25 -08:00
Vicki Pfau a1641f7fae GBA Savedata: Add GSV importing 2021-12-21 20:36:18 -08:00
Vicki Pfau fa2975a4ab GBA Serialization: Serials key IRQ state, update docs 2021-12-06 12:38:08 -08:00
Vicki Pfau 58ddecb830 Core: Add mCoreConfigGetBoolValue 2021-12-02 17:55:02 -08:00
Vicki Pfau 603de394d8 mGUI: Refactor menu code into separate functions 2021-11-29 23:11:17 -08:00
Vicki Pfau 283196ceb3 Qt: Save converter now supports importing SharkPort saves 2021-11-29 14:09:14 -08:00
nia eeeefa4532
NetBSD build fixes (#2366) 2021-11-29 01:53:18 -08:00
Vicki Pfau dfd44b280f Qt: Pay down technical debt with map caches 2021-11-17 17:52:25 -08:00
Vicki Pfau 858267da3f GBA: Add flag to allow opposing inputs in key callbacks (fixes #2334) 2021-11-10 13:12:55 -08:00
Vicki Pfau f696619b11 GBA I/O: Redo internal key input, enabling edge-based key IRQs 2021-10-14 01:59:59 -07:00
shuffle2 40d4c430fc msvc : fix compilation for c11/c17 lang standards
msvc currently supports up to c17 but does not implement some optional features. see https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160 and https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=msvc-160
2021-09-30 13:57:34 -07:00
Vicki Pfau 86fe869087 ARM7: Fix unsigned multiply timing 2021-09-20 15:59:28 -07:00
Vicki Pfau f603fcdb72 mGUI: Add 9-slice drawing 2021-09-09 14:30:08 -07:00
Vicki Pfau bc37f48e29 CMake: Attempt to fix #1839 again 2021-08-28 22:05:49 -07:00
Vicki Pfau c6167470eb All: Fix indentation errors 2021-08-26 03:35:19 -07:00
Vicki Pfau 2d5f6dd675 All: Add updater stub and hook it into the Qt frontend 2021-08-10 22:09:24 -07:00
Vicki Pfau 4a7feb66f9 Qt: Add update checking infrastructure 2021-08-10 22:04:46 -07:00
Vicki Pfau 9a26c1a679 mGUI: Use variants for menu data 2021-06-28 21:13:05 -07:00
Vicki Pfau 78d3a1f17e GB Memory: Add cursory cartridge open bus emulation (fixes #2032) 2021-06-23 20:34:11 -07:00
Vicki Pfau b1ff578201 Qt: Only set default controller bindings if loading fails (fixes #799) 2021-06-20 00:34:45 -07:00
Vicki Pfau 3e1793d3f8 GBA Savedata: Support for 64 kiB SRAM saves 2021-06-07 18:47:22 -07:00
Vicki Pfau 1640d00e87 GB: Add SGB palettes, options for selecting which palettes 2021-05-08 16:23:52 -07:00
Vicki Pfau e00987ddeb GB: Support for combo "Super Game Boy Color" SGB + GBC ROM hacks 2021-05-07 14:37:19 -07:00
Vicki Pfau 2a316ee1dc Core: Suspend runloop when a core crashes 2021-05-06 00:14:10 -07:00
Vicki Pfau 6c3fb29d53 mGUI: Add arrow keys to symbol and add unicode codepoints 2021-05-02 16:37:00 -07:00
Vicki Pfau a713d51e05 GB: Presets for Game Boy palettes 2021-05-01 19:27:23 -07:00
Vicki Pfau 4ba921ccc5 mGUI: Initial OSK support 2021-04-23 00:24:27 -07:00
Vicki Pfau 926e8fcccb Util: Add toUtf16 function 2021-04-23 00:18:18 -07:00
Vicki Pfau 950767e6ad Util: 2D convolve with channels 2021-04-15 22:10:58 -07:00
Vicki Pfau 3b781c00e6 GBA e-Reader: Initial error detection and retrying 2021-04-11 16:08:39 -07:00
Vicki Pfau a0360ec936 GBA e-Reader: Add visual dotcode parsing 2021-04-10 03:07:35 -07:00
Vicki Pfau adfc3c4ab2 FFmpeg: Add image scaling function 2021-04-10 03:07:35 -07:00
Vicki Pfau 207c64874a Util: Add bits of a convolution API 2021-04-10 03:07:35 -07:00
Vicki Pfau 23b5a458b8 GBA e-Reader: Refactor out of GPIO code 2021-04-03 13:37:29 -07:00
Vicki Pfau bc16a1bfe3 GBA Cart: Refactor hardware.c into cart/gpio.c etc 2021-04-03 01:31:55 -07:00
Vicki Pfau accb47b013 Python: Fix build 2021-03-28 14:59:50 -07:00
Vicki Pfau a5890bfea5 GBA SIO: Fix Dolphin connection when driver is inactive 2021-03-28 14:45:54 -07:00
Vicki Pfau 3a95b30d63 GBA SIO: Improve readability 2021-03-28 14:45:54 -07:00
Vicki Pfau b1828dbc59 GBA SIO: Dolphin connectivity 2021-03-28 14:45:54 -07:00
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