Commit Graph

1816 Commits

Author SHA1 Message Date
Jeffrey Pfau a268d462c0 GBA RR: Add VBM parser, for comparing VBA sync 2015-03-05 14:25:35 -08:00
Jeffrey Pfau f69d9db9d4 GBA RR: Add way to play movies from startup 2015-03-05 14:10:23 -08:00
Jeffrey Pfau bb77d278dd GBA RR: Modularize RR 2015-03-05 00:32:49 -08:00
Jeffrey Pfau 95e4820743 SDL: Remove RR functions 2015-03-05 00:22:57 -08:00
Jeffrey Pfau e810f1b9f0 GBA Video: Clear video buffer when starting 2015-03-03 21:18:53 -08:00
Jeffrey Pfau 0ab8cfe6ad Util: Fix SocketPoll on pthreads 2015-03-03 03:07:04 -08:00
Jeffrey Pfau 9273a4ca72 GBA SIO: Fix RCNT mode selection 2015-03-02 01:21:30 -08:00
Jeffrey Pfau dcd2e3a64f GBA: Fix JOY_TRANS_HI register name 2015-03-02 01:21:30 -08:00
Jeffrey Pfau 618092a5f6 GBA SIO: Fix lockstep barrier 2015-03-01 15:53:09 -08:00
Jeffrey Pfau 31d39bbd1d Debugger: Fix software breakpoints not being properly initialized 2015-03-01 12:16:38 -08:00
Jeffrey Pfau 4e2a27b426 GBA SIO: Fix child bit in lockstep driver 2015-03-01 05:39:13 -08:00
Jeffrey Pfau a7985c39ac Qt: Fix crash when loading a game after stopping GDB server 2015-02-28 15:28:34 -08:00
Jeffrey Pfau 9b8b56d701 GBA SIO: Fix writing to RCNT 2015-02-28 14:53:06 -08:00
Jeffrey Pfau f775af67f3 GBA SIO: Fix writing to RCNT 2015-02-28 14:52:52 -08:00
Jeffrey Pfau e241566ee7 GBA SIO: Clean up lockstep a bit 2015-02-28 14:51:39 -08:00
Jeffrey Pfau 33c2c53795 Qt: Add missing function 2015-02-27 01:37:44 -08:00
Jeffrey Pfau 8112ffdabc GBA SIO: Properly deinitialize SIO 2015-02-27 01:13:59 -08:00
Jeffrey Pfau a5a7ace86e GBA SIO: Fix RCNT reading for mode 2015-02-27 01:13:59 -08:00
Jeffrey Pfau 80960f9e9a GBA SIO: Properly deinitialize SIO 2015-02-27 01:12:58 -08:00
Jeffrey Pfau d1e01266c6 GBA SIO: Partially functional lockstep driver 2015-02-27 00:59:47 -08:00
Jeffrey Pfau 2fc8f0b567 Qt: Add option for opening new window 2015-02-27 00:59:20 -08:00
Jeffrey Pfau e1a8befcbb GBA SIO: Fix RCNT reading for mode 2015-02-26 23:10:01 -08:00
Jeffrey Pfau 6e467a0332 Qt: Create MultiplayerController 2015-02-26 00:07:36 -08:00
Jeffrey Pfau 5b40951c05 GBA SIO: Build up lockstep driver a bit more 2015-02-26 00:07:12 -08:00
Jeffrey Pfau 1e912abf4b GBA SIO: Start building up skeleton for lockstep driver 2015-02-25 20:35:13 -08:00
Jeffrey Pfau bb05764cd5 GBA SIO: Update timings based on observation 2015-02-24 01:14:46 -08:00
Jeffrey Pfau 29e118b512 Util: Fix C++ build for Win32 2015-02-24 00:02:24 -08:00
Jeffrey Pfau a0b94db9a7 All: Fix *nix build 2015-02-23 23:49:40 -08:00
Jeffrey Pfau 5d1b05c990 Debugger: Use new SocketWouldBlock layer 2015-02-23 23:29:01 -08:00
Jeffrey Pfau c73ea2e595 Util: Fix sockets on Windows 2015-02-23 23:29:01 -08:00
Jeffrey Pfau 1ff9968a90 Qt: Draw frame even if it times out 2015-02-22 22:14:26 -08:00
Jeffrey Pfau afbadf242b Qt: Copy state from old audio processor to new 2015-02-22 21:17:41 -08:00
Jeffrey Pfau 27c4308ef5 Debugger: Add CLI function for writing a register 2015-02-22 17:33:35 -08:00
Jeffrey Pfau c1261a5b74 GBA: Remove struct partial initialization for structs that are initialized later 2015-02-22 02:42:08 -08:00
Jeffrey Pfau b2ed141cea GBA Video: Allow negative output stride 2015-02-22 01:53:12 -08:00
Jeffrey Pfau 0209381d11 SDL: Fix some warnings in sw-sdl.c 2015-02-22 01:51:44 -08:00
Jeffrey Pfau d497cecfd1 Util: Add header for ARM util functions 2015-02-22 01:47:23 -08:00
Jeffrey Pfau f51044e94c Util: Attempt to fix erroneous clobber warning 2015-02-22 01:32:02 -08:00
Jeffrey Pfau 815e4d5b0d Qt: Use latest cheat set for set properties 2015-02-22 00:35:10 -08:00
Jeffrey Pfau 097feb0a55 GBA Thread: Increase frame timeout 2015-02-22 00:35:10 -08:00
Jeffrey Pfau 09f8c4977b GBA Video: Squelch OBJWIN warnings 2015-02-21 19:07:40 -08:00
Jeffrey Pfau 407b0537d6 Qt: Add bps to the list of patch formats 2015-02-21 11:35:48 -08:00
Jeffrey Pfau f646be0472 Qt: Fix patch loading while a game is running 2015-02-21 11:35:36 -08:00
Jeffrey Pfau d9ad68bad6 GBA: Re-add idle loops that got merged out 2015-02-21 11:13:46 -08:00
Jeffrey Pfau d4d42a2eee GBA BIOS: Fix more potential regressions with signed 16-bit loads 2015-02-21 11:01:08 -08:00
Jeffrey Pfau 01f7036401 GBA BIOS: Fix some regressions regarding signed 16-bit loads (fixes #196) 2015-02-21 10:58:24 -08:00
Jeffrey Pfau 8a90066965 GBA Thread: Make GBASyncWaitFrameStart time out 2015-02-21 03:44:15 -08:00
Jeffrey Pfau 37fd51df39 Qt: Fix thread sync issues with QtMultimedia audio driver 2015-02-21 02:44:59 -08:00
Jeffrey Pfau 56475e578b Qt: Fix crash when starting GDB stub after closing a game 2015-02-21 02:01:55 -08:00
Jeffrey Pfau 2235dcf2ab Qt: Fix crash when adjusting settings after closing a game 2015-02-21 01:59:33 -08:00
Jeffrey Pfau 7f592f78e8 Qt: Runtime configurable audio driver 2015-02-21 01:54:50 -08:00
Jeffrey Pfau 7cad9ab33a Qt: Fix QtMultimedia build with blip 2015-02-21 01:02:26 -08:00
Jeffrey Pfau 86ff4b1577 GBA: Silence some warnings in cheats 2015-02-20 23:59:12 -08:00
Jeffrey Pfau 1994977c8f Qt: Fix crash starting a GDB stub if a game isn't loaded 2015-02-20 00:23:03 -08:00
Jeffrey Pfau d983f31b38 GBA: Fix savestate loading of DISPSTAT and WAITCNT registers 2015-02-18 02:37:21 -08:00
Jeffrey Pfau 0cdb26df54 Qt: Move frame upload back onto main thread 2015-02-17 22:22:31 -08:00
Jeffrey Pfau 848cf162af GBA Thread: Fix possible deadlock in video sync 2015-02-17 22:20:37 -08:00
Jeffrey Pfau 1273ab4ca5 Qt: Optimize logo drawing 2015-02-17 21:27:23 -08:00
Jeffrey Pfau d3ebcda24b Qt: Ability to properly copy cheats 2015-02-17 01:17:29 -08:00
Jeffrey Pfau cc214e0f44 GBA: Cheat saving 2015-02-15 04:52:21 -08:00
Jeffrey Pfau bc8175515b Util: Hopefully fix all of the Socket warnings this time 2015-02-15 00:31:57 -08:00
Jeffrey Pfau f0e99779d4 All: Fix more warnings 2015-02-14 23:47:08 -08:00
Jeffrey Pfau 2ec2e75634 Util: Fix warnings on Windows 2015-02-14 23:40:59 -08:00
Jeffrey Pfau 8c7d5b5b86 GBA: Cheat set disabling 2015-02-14 23:04:56 -08:00
Jeffrey Pfau ca6b2e7b09 Qt: Display hex values within cheats 2015-02-14 22:45:40 -08:00
Jeffrey Pfau 8741a374a5 Qt: Removing cheats 2015-02-14 18:39:18 -08:00
Jeffrey Pfau dc5fb14fa1 Qt: Clear cheats when the game ends 2015-02-14 18:04:01 -08:00
Jeffrey Pfau 297551a5be Qt: Start cheat input 2015-02-14 17:45:46 -08:00
Jeffrey Pfau c8d3488804 GBA: Split out autodetected version cheats from GameShark cheats 2015-02-14 17:44:53 -08:00
Jeffrey Pfau 0bd9ae087e Qt: Start Cheats view 2015-02-14 16:38:29 -08:00
Jeffrey Pfau 1f08d4c3c5 Debugger: Add CLI functions for examining memory regions 2015-02-13 01:14:08 -08:00
Jeffrey Pfau 90e57c027b Debugger: Rename read/write commands 2015-02-13 00:56:43 -08:00
Jeffrey Pfau 8ca2e3adbd Debugger: Make I/O register names be addresses instead of values 2015-02-13 00:49:13 -08:00
Jeffrey Pfau 61c95ed7fb Util: Fix warnings on FreeBSD 2015-02-12 00:37:52 -08:00
Jeffrey Pfau 1e71f62a3c Util: Add universal float parsing and formatting functions 2015-02-11 00:26:30 -08:00
Jeffrey Pfau f2c29bc8d6 Util: Fix Win32 build 2015-02-10 02:46:12 -08:00
Jeffrey Pfau 4b14b71861 Util: Use proper locale for reading and writing float values 2015-02-10 02:21:40 -08:00
Jeffrey Pfau 9c3e16925b GBA: Allow overriding GameShark type 2015-02-10 00:42:11 -08:00
Jeffrey Pfau 7d36331dc4 GBA: Make some codes work without master codes 2015-02-10 00:34:50 -08:00
Jeffrey Pfau 5015975e4c GBA: Fix CodeBreaker codes 2015-02-10 00:24:36 -08:00
Jeffrey Pfau 31a9bafae8 GBA: Cheats can now be grouped and named 2015-02-09 02:54:17 -08:00
Jeffrey Pfau 3d44065826 GBA: Add more Pro Action Replay v3 skeleton 2015-02-08 21:03:53 -08:00
Jeffrey Pfau 05e18ac255 GBA: Change how GameShark ROM patches work 2015-02-08 21:03:05 -08:00
Jeffrey Pfau 2b92eab1b2 GBA: Add GameShark reseeding 2015-02-08 01:26:56 -08:00
Jeffrey Pfau 3c9cc0ad87 GBA: GameShark v1/v2 codes mostly complete 2015-02-07 18:46:26 -08:00
Jeffrey Pfau e30312f360 GBA: Fix Windows build 2015-02-06 03:31:51 -08:00
Jeffrey Pfau 502fdfcfad GBA RR: Fix fallthrough error when reading tags from a movie 2015-02-05 23:39:15 -08:00
Jeffrey Pfau ef65d185a3 GBA: Support for unencrypted CodeBreaker codes 2015-02-05 03:20:02 -08:00
Jeffrey Pfau af6ead2c97 Util: Fix VFile.readline 2015-02-05 03:18:37 -08:00
Jeffrey Pfau 8eeaa11256 ARM7: Add ARMRunFake for rolling back the PC and running a fake opcode 2015-02-04 23:30:04 -08:00
Jeffrey Pfau f9110fc51e ARM7: Make component numbers be size_t instead of int 2015-02-04 02:35:30 -08:00
Jeffrey Pfau f62c068a2c Util: Add Vector append 2015-02-04 02:34:59 -08:00
Jeffrey Pfau 09cd56820f Util: Add a simple Vector definition 2015-02-04 01:11:02 -08:00
Jeffrey Pfau 15b3a3281f GBA Memory: Add GBAPatch functions for force-writing and patching memory addresses 2015-02-03 23:49:34 -08:00
Jeffrey Pfau 56291e63e5 Debugger: Add support for soft breakpoints 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 8caf58ee42 ARM7: Add function for turning r15 into the address of the current instruction 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 7149dd3102 GBA: Refactor gba directory, dropping gba- prefix and making supervisor directory 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 5499ec8113 GBA: Refactor gba-sensors and gba-gpio into gba-hardware 2015-01-29 23:50:02 -08:00
Jeffrey Pfau 0de46a7867 GBA: Add API for getting Configuration structs for overrides and input 2015-01-29 23:16:25 -08:00
Jeffrey Pfau 370bbd83ba Qt: Rename GamePakView to OverrideView 2015-01-29 00:37:30 -08:00
Jeffrey Pfau b9c7016c30 Qt: Expand RTC to Realtime clock in strings 2015-01-29 00:37:30 -08:00
Jeffrey Pfau d665105082 Qt: Support idle loop optimization 2015-01-29 00:37:30 -08:00
Jeffrey Pfau 9992282b1c GBA: Add constant for invalid idle loop address 2015-01-29 00:25:15 -08:00
Jeffrey Pfau eb4f33e23a Qt: Split out sensor editor from override view 2015-01-28 23:37:11 -08:00
Jeffrey Pfau 41559813b7 Merge branch 'optimization/idle-loop-detection' 2015-01-28 22:34:06 -08:00
Jeffrey Pfau 7e973c207a GBA BIOS: Prevent CpuSet and CpuFastSet from using BIOS addresses as a source (fixes #184) 2015-01-27 21:43:28 -08:00
Jeffrey Pfau e61acf6218 Merge branch 'master' into optimization/idle-loop-detection 2015-01-27 02:09:53 -08:00
Jeffrey Pfau 6d08ed3dd8 GBA Video: Fix DISPSTAT write after refactor 2015-01-27 02:09:41 -08:00
Jeffrey Pfau 2dc710feeb Merge branch 'master' into optimization/idle-loop-detection
Conflicts:
	src/gba/gba-overrides.c
	src/gba/gba.c
2015-01-26 22:29:41 -08:00
Jeffrey Pfau 10ba7d16b3 GBA: Fix FFTA idle loop location 2015-01-26 01:56:44 -08:00
Jeffrey Pfau d11428ad40 GBA: Bump idle loop detection threshold to 10000 2015-01-26 01:56:44 -08:00
Jeffrey Pfau e1fc839ed8 GBA: Bump idle detection down to idle removal if a pre-vetted idle loop is known 2015-01-26 01:56:44 -08:00
Jeffrey Pfau e85e8968f2 ARM7: Tidy up decoder MSR and MRS instructions 2015-01-26 01:42:21 -08:00
Jeffrey Pfau 96bc5b9bc7 Debugger: Disassembly now lists PSR bitmasks (fixes #191) 2015-01-26 01:41:06 -08:00
Jeffrey Pfau 96ac72fbf9 Debugger: Watchpoints now report address watched (fixes #68) 2015-01-26 01:16:24 -08:00
Jeffrey Pfau 6116f730e7 Qt: Saving of game overrides 2015-01-25 16:01:03 -08:00
Jeffrey Pfau f33e9c060f Qt: Configurable game overrides for Game Pak devices 2015-01-25 15:21:48 -08:00
Jeffrey Pfau f4fcdf35d4 Debugger: Clean up debugger interface, removing obsolete state (fixes #67) 2015-01-25 13:28:14 -08:00
Jeffrey Pfau eb4c41d6fc Qt: Drag and drop game loading (fixes #146) 2015-01-25 04:54:18 -08:00
Jeffrey Pfau 0367a9db06 SDL: Properly clean up if a game doesn't launch 2015-01-25 03:37:15 -08:00
Jeffrey Pfau 19eaba3cdd GBA: Fix unmapping values that are out of range 2015-01-25 03:34:14 -08:00
Jeffrey Pfau 09db378531 Perf: Fix crash when the GBA thread fails to start 2015-01-25 03:12:53 -08:00
Jeffrey Pfau e70df7b6f7 All: Fix warnings 2015-01-25 00:24:18 -08:00
Jeffrey Pfau e67bf2fd42 Third-Party: Fix warnings in LZMA SDK 2015-01-25 00:20:46 -08:00
Jeffrey Pfau 0cf3006952 GBA Thread: Fix possible hang when loading an archive 2015-01-25 00:12:33 -08:00
Jeffrey Pfau c50b228243 All: Support 7-Zip files (fixes #151) 2015-01-25 00:11:36 -08:00
Jeffrey Pfau a30ca1ac2c Util: Add UTF-16 and UTF-8 parsing functions 2015-01-25 00:02:55 -08:00
Jeffrey Pfau 075308e837 GBA Thread: Make sure idle loop setting is set at the right time 2015-01-24 21:08:17 -08:00
Jeffrey Pfau dba275c570 GBA: Fix warning in config loader 2015-01-24 21:08:08 -08:00
Jeffrey Pfau 030f12e39f Perf: Detect idle loops by default 2015-01-24 21:08:08 -08:00
Jeffrey Pfau 43ddcf56cc Qt: Show window later that usual to ensure that it scales properly initially 2015-01-24 15:50:04 -08:00
Jeffrey Pfau 19758d7115 GBA Video: Refactor video routines to be in a more consistent state during callbacks 2015-01-24 01:02:09 -08:00
Jeffrey Pfau a7357df857 GBA Thread: Interrupting should halt the emulation as soon as possible 2015-01-24 00:32:56 -08:00
Jeffrey Pfau acb510619f Qt: Add error message if listening for GDB port fails 2015-01-21 22:57:45 -08:00
Jeffrey Pfau c7593d7073 Qt: Add menu items for adjusting in-game solar levels 2015-01-21 01:13:28 -08:00
Jeffrey Pfau fc172147ee GBA: Stop trying to detect idle loops if it fails too many times 2015-01-20 22:16:21 -08:00
Jeffrey Pfau 71e5aacd5b SDL: Faster texture uploads for GL using glTexSubImage2D 2015-01-19 22:04:15 -08:00
Jeffrey Pfau ca3566de8c Qt: Remove leftover code from GDB fixup 2015-01-19 03:21:11 -08:00
Jeffrey Pfau 2400b760c8 Qt: Fix crash if a game pauses before any frames are shown 2015-01-19 02:40:55 -08:00
Jeffrey Pfau 21f9c0107a Qt: Close GDB window when shutting down a game 2015-01-19 02:39:43 -08:00
Jeffrey Pfau 973f1a64a0 Debugger: Ensure GDB stub never hard-blocks 2015-01-19 02:34:36 -08:00
Jeffrey Pfau 29623ecd0b Qt: GDB debugger can now accept without blocking main thread 2015-01-19 01:46:16 -08:00
Jeffrey Pfau ddfffd22de GBA Memory: Fix prefetch values in Thumb mode 2015-01-19 01:16:18 -08:00
Jeffrey Pfau 6d43fb7890 Debugger: Merge Thumb BL instructions when disassembling (fixes #133) 2015-01-18 13:28:58 -08:00
Jeffrey Pfau 99d75ee9ed Debugger: Simplify debugger state machine to play nicer with the GBA thread loop 2015-01-18 02:27:25 -08:00
Jeffrey Pfau 1f75e41bae GBA: Make sure axes are properly mapped and unmapped vis-a-vis buttons 2015-01-18 01:21:01 -08:00
Jeffrey Pfau 61467cacd9 Util: Add easy way to remove keys 2015-01-18 01:19:28 -08:00
Jeffrey Pfau 0ba9d1e247 GBA Audio: Revert 16-bit audio FIFO write behavior outside of DMAs 2015-01-17 09:16:49 -08:00
Jeffrey Pfau b66ce64c47 GBA: Fix timers 2 and 3 updating incorrectly 2015-01-17 02:21:49 -08:00
Jeffrey Pfau 3a7bdbf8dd GBA: Only run idle loop detection outside of BIOS region 2015-01-17 00:53:14 -08:00