Commit Graph

1488 Commits

Author SHA1 Message Date
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
Jeffrey Pfau d3a60f6555 Video: Try to improve encoding speed/ratefactor a bit 2014-11-14 01:18:53 -08:00
Jeffrey Pfau ec0b206fee Qt: Add ability to manually specify and lock video aspect ratio 2014-11-12 02:22:05 -08:00
Jeffrey Pfau 72fd09dbc9 Qt: Fix radio button unchecking in Video UI 2014-11-12 01:47:46 -08:00
Jeffrey Pfau 61cfdbaccb Qt: Disallow opening the context twice 2014-11-12 01:35:51 -08:00
Jeffrey Pfau b0fdbab77e Video: Support scaling the output frame 2014-11-12 01:25:50 -08:00
Jeffrey Pfau 046a1b71ed Qt: Add video recording presets 2014-11-12 00:55:37 -08:00
Jeffrey Pfau e51285a0db GBA Config: Load config from the correct location on Windows 2014-11-11 02:07:50 -08:00
Jeffrey Pfau 20c5c27bf9 Qt: Reset audio output when changing sample size 2014-11-11 01:25:46 -08:00
Jeffrey Pfau 5c0c966a74 GBA Config: Windows support 2014-11-11 00:46:30 -08:00
Jeffrey Pfau a64259f12c Qt: Use common idiom for interrupting thread within the GameController 2014-11-11 00:01:25 -08:00
Jeffrey Pfau 0ef07f7c26 Util: Configuration should use FILE instead of fds to be more portable 2014-11-11 00:01:25 -08:00
Jeffrey Pfau fba659daa1 Qt: Fix non-USE_FFMPEG build 2014-11-11 00:01:25 -08:00
Jeffrey Pfau bbdb8b513b Qt: re-layout menus 2014-11-10 04:53:08 -08:00
Jeffrey Pfau b1e6a0df08 Qt: Video view should codecs update as you type 2014-11-10 04:52:50 -08:00
Jeffrey Pfau 04af84a1d2 Qt: Add some more video formats 2014-11-10 04:52:34 -08:00
Jeffrey Pfau 9f5df2a6f2 GBA Config: Move config file to ~/.config/mgba/config.ini 2014-11-09 23:27:43 -08:00
Jeffrey Pfau 6066c6e373 Qt: Fix boolean setting loading 2014-11-09 23:44:06 -08:00
Jeffrey Pfau ea66055c63 Qt: Turn on video sync by default 2014-11-09 22:51:05 -08:00
Jeffrey Pfau d83520c5a2 GBA Thread: Make GBAThreadInterrupt and -Continue check for the thread status, resolving several deadlocks 2014-11-09 20:31:24 -08:00
Jeffrey Pfau 6e62ba8bb2 Qt: Fix deadlock while telling GL thread to stop 2014-11-09 16:36:36 -08:00
Jeffrey Pfau c2564c77a9 Qt: Init joystick bindings 2014-11-09 16:10:18 -08:00
Jeffrey Pfau 237e354636 SDL: Fix typo in function name 2014-11-09 16:07:56 -08:00
Jeffrey Pfau 7c8401e7f8 SDL: Set higher number of audio samples if the obtained audio spec is more samples than requested 2014-11-09 16:07:35 -08:00
Jeffrey Pfau e10d28918d SDL: Fix command line graphics arguments 2014-11-09 15:56:09 -08:00
Jeffrey Pfau 2d37f8cd60 SDL: Set default width and height 2014-11-09 15:51:06 -08:00
Jeffrey Pfau f008c68761 GBA Thread: Make GBAThreadInterrupt thread-safe 2014-11-08 04:28:16 -08:00
Jeffrey Pfau 190ea71646 GBA Thread: Wakeup audio condition if trying to interrupt the thread to avoid a deadlock 2014-11-08 03:49:20 -08:00
Jeffrey Pfau 7cdcdbd7b4 Qt: Fix g++ build 2014-11-08 01:21:31 -08:00
Jeffrey Pfau 26a087d24e Qt: Keymap saving 2014-11-08 00:14:42 -08:00
Jeffrey Pfau 0f2c4e5baf Qt: Draw with QPicture instead of a pixmap 2014-11-07 22:46:53 -08:00
Jeffrey Pfau 81e65c08d8 Qt: Add keyboard remapper 2014-11-07 03:11:44 -08:00
Jeffrey Pfau 0efe988161 Qt: Add log level SWI 2014-11-06 00:30:35 -08:00
Jeffrey Pfau d75042ea38 GBA Input: Refactor SDL and Qt input code 2014-11-06 00:17:58 -08:00
Jeffrey Pfau 9ba250e9bb GBA Video: Fix rendering of sprites with objwin passthrough (fixes #128) 2014-11-05 05:07:44 -08:00
Jeffrey Pfau 25f5520b0b SDL: Merge egl-main 2014-11-05 04:11:09 -08:00
Jeffrey Pfau d5b8fdf81c SDL: Fix SDL 1.2 build 2014-11-05 03:42:19 -08:00
Jeffrey Pfau 9cc43cd883 SDL: Split out non-shared functionality of GL and SW into their own files 2014-11-05 03:34:23 -08:00
Jeffrey Pfau fb7f1d07ef SDL: Unify gl-main and sw-main 2014-11-05 03:21:50 -08:00
Jeffrey Pfau 2b8d1dda7c SDL: Only use scancodes with SDL2 2014-11-05 02:59:04 -08:00
Jeffrey Pfau b01e15b913 Qt: Fix memory leak in ~GameController 2014-11-05 02:45:23 -08:00
Jeffrey Pfau f4d6ef74b4 Util: Fix memory leak in Configuration 2014-11-05 02:45:00 -08:00
Jeffrey Pfau 0fd9e9ad0f GBA Config: const-correctness 2014-11-05 02:34:51 -08:00
Jeffrey Pfau 50d76d9528 Qt: Fix draw context memory leak when deleting the GameController 2014-11-05 02:28:03 -08:00
Jeffrey Pfau cbe5fbfeea Qt: Remove stale TODO 2014-11-05 02:24:49 -08:00
Jeffrey Pfau a3fff6d1a5 Qt: Store window size setting when resizing 2014-11-05 02:23:47 -08:00
Jeffrey Pfau 8751f5cc0c Qt: Add integrated configuration loader for the menu 2014-11-05 02:17:26 -08:00
Jeffrey Pfau 19346dff87 GBA Config: Add GBAConfigGetValue 2014-11-05 02:16:35 -08:00
Jeffrey Pfau 37212c1f23 Qt: Move configuration loading to its own class 2014-11-05 00:34:05 -08:00
Jeffrey Pfau 2ddb074bda GBA Config: Refresh configuration system to be more versatile 2014-11-04 23:54:09 -08:00
Jeffrey Pfau e884bc4d7a Util: Add helper functions for setting overloaded Configuration types 2014-11-04 23:48:09 -08:00
Jeffrey Pfau 11bf4fdfda Util: Adding a null value to a Configuration removes the value 2014-11-04 23:47:31 -08:00
Jeffrey Pfau 75557d11b2 GBA: const-correctness in GBAMap*ToContext 2014-11-04 01:56:59 -08:00
Jeffrey Pfau 4115b240eb GBA Config: Add audio/video sync setting 2014-11-04 01:19:10 -08:00