Commit Graph

1541 Commits

Author SHA1 Message Date
Jeffrey Pfau f25821524d Debugger: Fix watchpoints triggering too late 2014-12-25 14:48:30 -08:00
Jeffrey Pfau ca51098ca0 GBA: Hook up light sensor API 2014-12-25 04:17:33 -08:00
Jeffrey Pfau 9b1769d67d GBA: Implement light sensor GPIO interface with a hardcoded value for the moment 2014-12-25 04:17:32 -08:00
Jeffrey Pfau a6f895da7d Debugger: Align PC-relative loads in Thumb 2014-12-25 04:17:32 -08:00
Jeffrey Pfau 8515036cb9 Qt: Further CMakeLists fixes 2014-12-25 04:03:07 -08:00
Jeffrey Pfau b6d189d88b GBA Video: Fix windows not disabling target 1 appropriately (fixes #161) 2014-12-24 20:27:52 -08:00
Jeffrey Pfau b8076be860 All: Use COMPONENT for selecting installation pieces 2014-12-24 18:40:36 -08:00
Jeffrey Pfau 9edf42b454 Video: Fix uncompressed PCM audio recording 2014-12-24 00:06:26 -08:00
Jeffrey Pfau 6656f53f61 Qt: Fix uninitialized value 2014-12-23 23:15:40 -08:00
Jeffrey Pfau d6def0d407 Video: Ensure FFmpeg encoder has audio frames 2014-12-23 23:15:40 -08:00
Jeffrey Pfau 55df6ce26b Qt: Guard GDBController class with an ifdef 2014-12-23 23:00:24 -08:00
Jeffrey Pfau 280c803305 Qt: Fix FPS target and SDL initialization audio issues 2014-12-23 21:58:29 -08:00
Jeffrey Pfau 5b3a2e04b1 GBA Audio: Redo lavr audio loop 2014-12-23 21:57:42 -08:00
Jeffrey Pfau e89e7cc18a GBA: Fix prefetch value on bus 2014-12-23 03:00:51 -08:00
Jeffrey Pfau c942758af0 GBA Memory: Implement 16- and 32-bit loads from SRAM 2014-12-23 02:59:26 -08:00
Jeffrey Pfau 65bb4b4996 Qt: Add FPS target back to settings view 2014-12-23 00:26:47 -08:00
Jeffrey Pfau 2414df6527 Qt: Fix maxing out at 120 FPS on OS X 2014-12-23 00:23:31 -08:00
Jeffrey Pfau ee8dedeea1 GBA Video: Fix blend issues with obscured middle layers 2014-12-23 00:10:08 -08:00
Jeffrey Pfau 6cc8890226 Qt: Add MRU list 2014-12-22 23:00:31 -08:00
Jeffrey Pfau 0d4999ff33 Qt: Clarify some phrasing in the menus 2014-12-21 22:24:19 -08:00
Jeffrey Pfau c91c46ce97 GBA Audio: Audio buffer sizes are now correct sizes for both sample rates 2014-12-21 21:30:59 -08:00
Jeffrey Pfau 892a5e5d5e GBA Audio: Make larger buffer sizes than 2048 actually work properly 2014-12-21 21:27:55 -08:00
Jeffrey Pfau c7a49ce8f2 Qt: Set default log level to FATAL, ERROR and WARN 2014-12-21 20:22:49 -08:00
Jeffrey Pfau 9a0640f834 GBA: Add option to skip BIOS start screen 2014-12-21 20:21:27 -08:00
Jeffrey Pfau f53f9555a2 GBA: Add bilinear resampling option 2014-12-21 16:50:55 -08:00
Jeffrey Pfau 7c8f1d9726 Qt: Rudimentary settings window 2014-12-21 16:29:56 -08:00
Jeffrey Pfau 22826f2e7a Qt: Fix config options being erroneously added as null 2014-12-21 16:01:55 -08:00
Jeffrey Pfau 4420309dc5 Qt: Properly set default video recording settings 2014-12-21 15:24:49 -08:00
Jeffrey Pfau 830511472a GBA Memory: Properly initialize 1 Mb flash, and add debug logging 2014-12-21 14:49:54 -08:00
Jeffrey Pfau c52a5d2859 GBA Audio: Support 16-bit writes to FIFO audio 2014-12-21 03:19:56 -08:00
Jeffrey Pfau ce0ad004e4 GBA Audio: Better audio resampling via FFmpeg 2014-12-21 02:13:27 -08:00
Jeffrey Pfau 660ac6a6be GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples 2014-12-21 02:13:27 -08:00
Jeffrey Pfau 2fb098cb01 GBA Config: Expose emulator config directory 2014-12-20 18:41:41 -08:00
Jeffrey Pfau 0a3cf87745 Debugger: Negative PC-relative loads now properly subtract the offset 2014-12-20 15:10:54 -08:00
Jeffrey Pfau 48c0dcf320 GBA BIOS: Fix BIOS prefetch after returning from a SWI 2014-12-20 06:08:55 -08:00
Jeffrey Pfau 28ac288d2c ARM7: Extend prefetch by one stage 2014-12-20 05:19:16 -08:00
Jeffrey Pfau f57b47b3f2 GBA Memory: Fix value obtained from missing SRAM 2014-12-20 05:17:29 -08:00
Jeffrey Pfau da612b51e8 Debugger: Add CLI "frame", frame advance command 2014-12-20 01:43:48 -08:00
Jeffrey Pfau 9aed9754d0 Qt: Handle a game crash without crashing 2014-12-19 20:36:38 -08:00
Jeffrey Pfau 802e4b8720 GBA: Exit cleanly on FATAL if the port supports it 2014-12-19 20:36:38 -08:00
Jeffrey Pfau 6bb61bc670 GBA Memory: Don't call into GPIO write calls if GPIO devices are absent 2014-12-19 20:36:38 -08:00
Jeffrey Pfau 7c7af90b5c Qt: Set strong focus policy on main Window 2014-12-18 02:17:17 -08:00
Jeffrey Pfau 58d8cdde82 Qt: Focusing a button when mapping a gamepad now works 2014-12-18 01:31:20 -08:00
Jeffrey Pfau 61fc28e03e Qt: Ensure holding down a button while mapping only takes effect once 2014-12-18 01:20:37 -08:00
Jeffrey Pfau e80cf92eee Qt: Return active axis values as signs, to ensure sets are consistent 2014-12-18 01:20:08 -08:00
Jeffrey Pfau 0ae81e6e8f Qt: Improved versioning information 2014-12-17 21:25:43 -08:00
Jeffrey Pfau 3d21ce1fd0 ARM7: Fix LDM writeback to a register already written 2014-12-17 21:15:49 -08:00
Jeffrey Pfau 9eca161dc9 GBA BIOS: Fix HLE Lz77 and RL functions to properly account for width and invalid addresses 2014-12-17 02:36:22 -08:00
Jeffrey Pfau 9bd5b02644 GBA Video: Remove stale renderers 2014-12-16 23:30:18 -08:00
Jeffrey Pfau 9c1ec8c96d GBA Thread: Allow halted games to exit cleanly 2014-12-16 22:36:46 -08:00
Jeffrey Pfau 43b0d070b8 SDL: Add scale presets for up to 6x 2014-12-16 22:25:35 -08:00
Jeffrey Pfau 65a8a4e76b Qt: Add scale presets for up to 6x 2014-12-16 22:23:58 -08:00
Jeffrey Pfau 0351d2e0ec Qt: Fix emulator crashing when full screen if a game is not running 2014-12-16 22:13:42 -08:00
Jeffrey Pfau d0604c35af Qt: Add ability to lock aspect ratio (fixes #147) 2014-12-16 01:33:08 -08:00
Jeffrey Pfau 1ee69deffb Qt: Fix issue with set frame sizes being the wrong height 2014-12-16 00:21:29 -08:00
Jeffrey Pfau fcac245b98 Qt: Fix crash when mapping gamepad if no key is selected 2014-12-16 00:12:57 -08:00
Jeffrey Pfau 412aa147ea Qt: Axis mapping 2014-12-14 21:16:17 -08:00
Jeffrey Pfau 1c1fbfe163 GBA Input: Add ability to save configured axes 2014-12-14 00:56:06 -08:00
Jeffrey Pfau a9106d526c GBA Input: Add key names 2014-12-14 00:55:48 -08:00
Jeffrey Pfau 1b6389164c Util: Enumerating a Table should list the key, too 2014-12-14 00:41:03 -08:00
Jeffrey Pfau 2b6462c3a8 Qt: Fix axes overriding hats 2014-12-14 00:28:15 -08:00
Jeffrey Pfau 0aea272583 SDL: Axis mapping loading 2014-12-14 00:27:57 -08:00
Jeffrey Pfau 9b74e27d7a Qt: Disable sync to video by default 2014-12-14 00:01:48 -08:00
Jeffrey Pfau a10a84aa89 SDL: Add gamepad axis support, not currently mappable 2014-12-14 00:00:48 -08:00
Jeffrey Pfau e25fa272a8 Qt: Fix Qt::5Multimedia build 2014-12-13 16:07:04 -08:00
Jeffrey Pfau a66fa48aa5 Qt: Fix build if USE_GDB_STUB is disabled 2014-12-12 14:33:52 -08:00
Jeffrey Pfau 8ea97f0047 Perf: Fix deadlock when interrupting the process 2014-12-12 01:10:53 -08:00
Jeffrey Pfau 31f0e179c0 GBA Thread: Wake up threads waiting for frames when ending a GBA thread 2014-12-11 22:34:07 -08:00
Jeffrey Pfau 7faee5a426 GBA: Fix I/O register lookup table 2014-12-11 16:08:37 -08:00
Jeffrey Pfau ad2c401505 GBA Thread: Properly stop thread when video wait is enabled 2014-12-11 04:57:37 -08:00
Jeffrey Pfau 4d7fbf37db All: Add Debian-style dependencies for CPack 2014-12-10 21:26:55 -08:00
Jeffrey Pfau e0851f2f44 Qt: Fix build if QtMultimedia is not installed 2014-12-10 19:55:48 -08:00
Jeffrey Pfau 29ea8d1539 Video: Make FFmpeg encoder work with libav 2014-12-10 19:55:27 -08:00
Jeffrey Pfau 8cf1e449f0 Qt: Set default audio buffer size to 2048 to ensure smoothness on as many platforms as possible 2014-12-10 17:21:32 -08:00
Jeffrey Pfau 6d23328bda GBA Memory: Force disable a repeating DMA when it would repeat infinitely 2014-12-10 06:44:39 -08:00
Jeffrey Pfau 07464e8f2b GBA: Cap out the ROM loaded size 2014-12-10 01:46:12 -08:00
Jeffrey Pfau 63a439406c GBA Memory: Fix DMA cycle counting 2014-12-09 17:04:48 -08:00
Jeffrey Pfau c5cf9957a1 GBA Thread: Revert 0a946a0b43, it broke vsync 2014-12-09 15:55:19 -08:00
Jeffrey Pfau df3f2796f7 GBA: Error check to make sure ROM and BIOS mapping succeed 2014-12-09 15:19:51 -08:00
Jeffrey Pfau 7edf934a59 GBA Thread: Handle the lack of a sync object properly 2014-12-09 12:58:35 -08:00
Jeffrey Pfau 53023441da GBA Thread: Dummy out threading functions, let GBASync* functions still be called 2014-12-08 18:49:05 -08:00
Jeffrey Pfau ed8852bbe0 GBA Thread: Add half-baked ability to disable threading 2014-12-08 16:00:08 -08:00
Jeffrey Pfau a4a7ef4a1b Debugger: Properly isolate CLI debugger code 2014-12-08 15:59:17 -08:00
Jeffrey Pfau 9299b75be5 Qt: Rename project binaries for platforms excluding OS X and Windows 2014-12-06 19:25:57 -08:00
Jeffrey Pfau 5a9cf99249 Qt: Bundle OS X target app 2014-12-06 19:11:10 -08:00
Jeffrey Pfau f6a7fedb28 All: Add MPL 2.0 license and associated headers 2014-12-03 00:39:06 -08:00
Jeffrey Pfau e6ea94d229 Qt: Rudimentary gamepad mapper 2014-12-03 00:07:56 -08:00
Jeffrey Pfau 091e717133 Qt: Add Opus to the audio codec mapping and list 2014-11-28 14:41:33 -08:00
Jeffrey Pfau eb2809829d Qt: Show FPS in title bar 2014-11-27 17:35:25 -08:00
Jeffrey Pfau 12a014e726 GBA: Add load and save CLI debugger commands 2014-11-27 11:18:41 -08:00
Jeffrey Pfau 97931784e7 GBA: Do not put decoded image on the stack 2014-11-27 11:18:22 -08:00
Jeffrey Pfau 55ba676d7c Debugger: Actually execute system commands 2014-11-27 11:02:47 -08:00
Jeffrey Pfau 15ef638f95 GBA: Add identifier lookup for GBA registers 2014-11-27 10:36:19 -08:00
Jeffrey Pfau 4a9b87cfd0 GBA: Add skeleton of GBA-specific CLI debugger 2014-11-27 10:11:10 -08:00
Jeffrey Pfau a8731d280f Debugger: Add support for additional platforms in CLI 2014-11-27 09:47:03 -08:00
Jeffrey Pfau 8ec961d2e8 Debugger: Add reset command 2014-11-27 08:58:22 -08:00
Jeffrey Pfau e7fa65f876 SDL: Ensure that the emulation loop cannot end between a redraw and an SDL event poll 2014-11-27 08:48:58 -08:00
Jeffrey Pfau 65d74a2e34 Qt: Discard log levels without cross-thread communication if we can 2014-11-27 01:23:25 -08:00
Jeffrey Pfau 467fbcf54d GBA: Add overrides for Pokemon Mystery Dungeon 2014-11-27 00:39:56 -08:00
Jeffrey Pfau 64ba9d2d8e GBA: Make sure interrupting the thread actually pauses it 2014-11-27 00:06:49 -08:00
Jeffrey Pfau 22e7eff33c GBA BIOS: Clear BIOS-acknowledged interrupt flag before IntrWait 2014-11-26 00:34:28 -08:00
Jeffrey Pfau e3573d402f Qt: Remove aac codec mapping; ffmpeg has a built-in aac encoder 2014-11-25 05:08:20 -08:00
Jeffrey Pfau 0cbe5eb4ad Qt: Require CMake 2.8.11 2014-11-25 04:55:44 -08:00
Jeffrey Pfau c5e5efca2e Perf: Fix perf build on Windows 2014-11-25 04:55:00 -08:00
Jeffrey Pfau 6a40e3e455 SDL: Use constants instead of literals for the screen dimensions 2014-11-23 04:37:03 -08:00
Jeffrey Pfau 3177226e8e GBA: BLDALPHA is readable 2014-11-23 00:24:02 -08:00
Jeffrey Pfau 5a0e4e7a2d GBA Audio: Fix integer overflow sampling of channel 3 2014-11-23 00:23:37 -08:00
Jeffrey Pfau ebe543e482 GBA Video: Fix another window bug with windows going too far 2014-11-22 23:33:09 -08:00
Jeffrey Pfau 89f7a69f3a GBA Video: Fix vertical window wrapping 2014-11-22 20:17:24 -08:00
Jeffrey Pfau a1712f038d GBA Video: Fix poorly documented window case with windows that wrap around 2014-11-22 19:56:59 -08:00
Jeffrey Pfau 881dc1d8a3 Qt: Always show menu bar when paused, even in full screen 2014-11-22 02:10:50 -08:00
Jeffrey Pfau 636e01d8df Video: Fix ImageMagick warnings 2014-11-22 00:39:14 -08:00
Jeffrey Pfau 279cc1027b GBA Video: Fix a format string warning 2014-11-22 00:33:41 -08:00
Jeffrey Pfau 942ae92c4e GBA Video: Disable sentinel code in release builds 2014-11-22 00:24:55 -08:00
Jeffrey Pfau ed70ab9f05 Qt: Fix erroneous filename casing 2014-11-21 00:58:10 -08:00
Jeffrey Pfau 90b27e758a GBA: Fix DMA count register not being copied into savestate 2014-11-21 00:40:30 -08:00
Jeffrey Pfau 52b96e16f8 GBA Video: Reset renderer when reseting video 2014-11-20 22:58:26 -08:00
Jeffrey Pfau cf55fcbb52 GBA: Improve reset behavior 2014-11-20 22:55:29 -08:00
Jeffrey Pfau 1205ff1895 GBA Video: Fix edge cases in mode 0 rendering, add sentinels to make sure any more get caught 2014-11-20 22:34:19 -08:00
Jeffrey Pfau 38ab86fdcb GBA: Add DANGER level, which is ERROR in release and FATAL in debug 2014-11-20 22:34:18 -08:00
Jeffrey Pfau 271211846f GBA Video: Fix windowing with sprites after c9f0ac5 2014-11-20 22:34:18 -08:00
Jeffrey Pfau d8b7452526 SDL: Fix SDL audio in some cases 2014-11-20 22:34:04 -08:00
Jeffrey Pfau 51896cdcd6 Qt: Use SDL audio, when available 2014-11-19 23:14:44 -08:00
Jeffrey Pfau 853bcec0c2 ARM: Use a more robust ROR idiom 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 9e400e86da ARM: multiply wait macros should write to local variable instead of global cycle count 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 3c41bd2427 ARM: Reduce size of ARM condition prediction 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 845d6e1d24 ARM: Run tighter loop in CPU 2014-11-19 03:37:40 -08:00
Jeffrey Pfau 888b64f8b5 Video: GIF encoder using ImageMagick 2014-11-19 03:36:14 -08:00
Jeffrey Pfau 0308f136c7 GBA Memory: partially unroll loops for LDM/STM and add UNLIKELYs 2014-11-18 04:37:17 -08:00
Jeffrey Pfau d49df216b8 GBA Memory: Simplify LDM/STM loop 2014-11-18 04:37:17 -08:00
Jeffrey Pfau 37554a40ea Add likely/unlikely macros 2014-11-18 04:37:17 -08:00
Jeffrey Pfau c9f0ac5c7b GBA Video: Fix postprocessing sprites with objwin and win0/1 2014-11-18 03:03:18 -08:00
Jeffrey Pfau 5b5c8c8d2d Video: Allow GIF recording 2014-11-18 01:40:48 -08:00
Jeffrey Pfau 5a6d09405d GBA BIOS: Remove outdated, inaccurate comment 2014-11-18 00:57:57 -08:00
Jeffrey Pfau a1829a920d GBA Config: Fix null ports from crashing 2014-11-17 01:17:56 -08:00
Jeffrey Pfau 9176260044 Perf: Fix perf port crashing with some implementations of strlen 2014-11-16 20:26:39 -08:00
Jeffrey Pfau 938c9e965d Util: Fix build with strndup on some platforms 2014-11-16 20:25:52 -08:00
Jeffrey Pfau c19673ce40 Qt: Hide menu bar when in full-screen and allow shortcuts to still work 2014-11-16 05:37:45 -08:00
Jeffrey Pfau d030914c37 Qt: Fix build with g++, grumble grumble 2014-11-16 03:58:06 -08:00
Jeffrey Pfau 6f4a6d6372 Debugger: Disassemble shifted registers in addressing mode 2 2014-11-15 17:16:11 -08:00
Jeffrey Pfau 8b44ea61ab Debugger: Fix *RBT being called *RTB 2014-11-15 17:04:34 -08:00
Jeffrey Pfau 5ace8e5023 Debugger: Fix ARM LDM/STM disassembling 2014-11-15 16:54:19 -08:00
Jeffrey Pfau 264f6f1df2 Debugger: disassemble register shifts 2014-11-15 16:32:38 -08:00
Jeffrey Pfau cade03e10d Qt: Prevent flicker upon pausing the emulator 2014-11-15 15:00:27 -08:00
Jeffrey Pfau 81b85d1843 GBA Video: Implement mosaic for modes 2 - 5, untested with windows 2014-11-15 01:32:58 -08:00
Jeffrey Pfau eb51195769 Qt: Move FPS target options to A/V menu 2014-11-15 00:28:54 -08:00
Jeffrey Pfau 5988b4ad2e Qt: Increase bitrates of h.264 video now that the video is being encoded at a faster, lower quality 2014-11-14 03:55:13 -08:00
Jeffrey Pfau 97f2594ec9 Video: Automatically use different presets based on video size 2014-11-14 03:53:30 -08:00
Jeffrey Pfau 8607275f9f Video: Fix x264 tune option 2014-11-14 03:26:10 -08:00
Jeffrey Pfau 793f552f43 GBA: Fix DMA in savestates hopefully for good this time 2014-11-14 01:19:34 -08:00