Commit Graph

779 Commits

Author SHA1 Message Date
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 c05b166469 SDL: Clean up key handling, change rewind key to backtick 2015-01-13 03:02:36 -08:00
Jeffrey Pfau b9623efc0c Perf: Load the config file 2015-01-13 02:41:49 -08:00
Jeffrey Pfau 466916729e GBA: Configurable game overrides 2015-01-13 02:41:49 -08:00
Jeffrey Pfau eced06bc2a GBA: Split out save autodetect from no save present 2015-01-12 00:59:48 -08:00
Jeffrey Pfau 8118c94c81 GBA: Move numbered savestate loading to GBAThread, clear rewind buffer when loading (fixes #174) 2015-01-11 06:24:24 -08:00
Jeffrey Pfau a6001496bc Util: Add VFile.size function (fixes #153) 2015-01-11 00:35:26 -08:00
Jeffrey Pfau c8be60f88b Qt: Restrict load types 2015-01-10 23:28:41 -08:00
Jeffrey Pfau 087810a125 Qt: Error dialog if a game fails to load 2015-01-10 23:28:30 -08:00
Jeffrey Pfau 372eb39599 Qt: Save directory of last loaded file 2015-01-10 22:46:59 -08:00
Jeffrey Pfau 7a3db31eb2 Perf: Return non-zero if a game crashes 2015-01-10 04:44:09 -08:00
Jeffrey Pfau f0f929665e Qt: Fix window geometry on launch when window is still hidden 2015-01-09 23:23:31 -08:00
Jeffrey Pfau 76bf0427f1 Util: Support IPv6 2015-01-09 02:03:57 -08:00
Jeffrey Pfau f22391275b SDL: Better error checking 2015-01-08 20:06:05 -08:00
Jeffrey Pfau f05a385d6a GBA Thread: Add a crashed state to the thread 2015-01-08 20:06:05 -08:00
Jeffrey Pfau 12fce1fba0 Qt: Migrate axis bindings to GamepadAxisEvent 2015-01-08 00:24:43 -08:00
Jeffrey Pfau aa12eeef3a Qt: Update debugger portions to use threadInterrupt/threadContinue 2015-01-07 02:05:52 -08:00
Anthony J. Bentley ce28d6d966 All: Clarify that -p takes an argument. (Merge pull request #2) 2015-01-07 00:13:47 -08:00
Jeffrey Pfau f97ba6517b Qt: Expose rewind (fixes #136) 2015-01-05 23:14:07 -08:00
Jeffrey Pfau d6e24b2051 GBA Thread: Rewind API enhancements 2015-01-05 23:11:56 -08:00
Jeffrey Pfau ec5445d5ad Qt: Allow tab and backtab to be mapped for key sequences 2015-01-05 02:27:50 -08:00
Jeffrey Pfau 851d942cdd Qt: Fix a few more UX grievances 2015-01-05 02:06:37 -08:00
Jeffrey Pfau c90d105e34 Qt: Add clear button for shortcut editor 2015-01-05 01:57:25 -08:00
Jeffrey Pfau 3854c7e401 Qt: Fix a handful of UX issues with gamepad mapping 2015-01-05 01:17:53 -08:00
Jeffrey Pfau e263467f13 Qt: Fix focus loss after cancelling a save state load/save 2015-01-05 01:01:49 -08:00
Jeffrey Pfau 721145a319 Qt: Persist shortcut configurations to a settings file 2015-01-05 00:13:57 -08:00
Jeffrey Pfau 92f877e6a7 Qt: Move MRU to QSettings 2015-01-04 23:23:08 -08:00
Jeffrey Pfau 4da22679b9 Qt: Only send button events if there is a widget in focus 2015-01-04 22:45:20 -08:00
Jeffrey Pfau ac686e3942 Qt: Clear axis direction when setting a button value (fixes #179) 2015-01-04 22:35:41 -08:00
Jeffrey Pfau c96c1f6211 Qt: Fix some cases where key mapping can break if focus is adjusted 2015-01-04 22:30:23 -08:00
Jeffrey Pfau 98a6510b92 Qt: Fix race condition when a game crashes immediately 2015-01-04 19:11:46 -08:00
Jeffrey Pfau 811ad23e61 Qt: Shortcut view now supports held events 2015-01-04 16:49:10 -08:00
Jeffrey Pfau a1480e2698 Qt: Get submenus working with the shortcut editor 2015-01-04 15:46:35 -08:00
Jeffrey Pfau 33c4b17941 Qt: Add GamepadButtonEvent and remove signal associated; use this for button controls in emulator 2015-01-04 04:23:20 -08:00
Jeffrey Pfau 53c586044d Qt: Allow shortcuts to be controlled with a gamepad 2015-01-04 02:16:43 -08:00
Jeffrey Pfau d15c4f4bfb Qt: Refactor out gamepad monitoring code into a new class 2015-01-04 01:14:36 -08:00
Jeffrey Pfau 0ce8ca36fa Qt: Start on key shortcut editor 2015-01-03 23:57:37 -08:00
Jeffrey Pfau bb78cc1bd3 Qt: Move settings items to consistent location in Tools 2015-01-03 14:59:27 -08:00
Jeffrey Pfau caef397ad4 Qt: Fix build on OS X with Qt 5.4 2015-01-03 13:08:47 -08:00
Jeffrey Pfau 9ec24a5b97 Qt: Minor code cleanup for setTurbo 2015-01-02 02:04:09 -08:00
Jeffrey Pfau 569e6ef7db Qt: Clear active buttons when focus is lost 2015-01-02 02:03:12 -08:00
Jeffrey Pfau 9933c58eec Qt: Fix integer overflow in frame -> seconds calculation 2015-01-01 22:40:55 -08:00
Jeffrey Pfau 682ed7dcee Qt: Add "Now" button to RTC overrides 2015-01-01 16:26:42 -08:00
Jeffrey Pfau d676d26f5f Qt: Use low logLevel for GBA object, overridden by GBAThread 2015-01-01 16:05:36 -08:00
Jeffrey Pfau 6938c8bea6 Video: Fix FFmpeg crashing when the file extension is wrong 2015-01-01 14:51:20 -08:00
Jeffrey Pfau 24e10fe0df Qt: Fix Windows build 2015-01-01 03:36:48 -08:00
Jeffrey Pfau 8c0f082a83 Qt: RTC overrides 2015-01-01 03:01:40 -08:00
Jeffrey Pfau f534638342 Qt: Add tilt sensor properly into the Game Pak override interface 2015-01-01 00:43:33 -08:00
Jeffrey Pfau eeb7060bda SDL: Fix blip audio buffer repeat while paused 2014-12-31 14:51:52 -08:00
Jeffrey Pfau aaf96b43cd Qt: Fix bug with frame not resizing properly 2014-12-31 02:27:29 -08:00
Jeffrey Pfau 794b9f0e64 Qt: Actually enable light sensor control widgets 2014-12-31 00:56:39 -08:00
Jeffrey Pfau 7935d58eac Qt: Light sensor setting from GUI 2014-12-30 23:24:39 -08:00
Jeffrey Pfau d759305e23 Qt: Game Pak override dialog, half implemented 2014-12-30 22:56:55 -08:00
Jeffrey Pfau 38cb3eeaa8 Merge branch 'feature/blip-buf' 2014-12-29 02:38:38 -08:00
Jeffrey Pfau 4fa9401971 Qt: Fix OS X build in some unusual circumstances 2014-12-29 02:34:16 -08:00
Jeffrey Pfau 73a6b47879 GBA Audio: Rip out FFmpeg resampler 2014-12-29 01:51:50 -08:00
Jeffrey Pfau b92ed79a85 GBA Audio: Add blip_buf support 2014-12-29 01:45:24 -08:00
Jeffrey Pfau 37d21b24b8 Qt: Remove absolute path for bundle installation to make CPack work 2014-12-27 19:11:48 -08:00
Jeffrey Pfau 27eb75fcde Qt: Replace macdeployqt with tools/deploy-mac.py 2014-12-27 18:17:47 -08:00
Jeffrey Pfau 8515036cb9 Qt: Further CMakeLists fixes 2014-12-25 04:03:07 -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 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 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 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 ce0ad004e4 GBA Audio: Better audio resampling via FFmpeg 2014-12-21 02:13:27 -08:00
Jeffrey Pfau 9aed9754d0 Qt: Handle a game crash without crashing 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 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 2b6462c3a8 Qt: Fix axes overriding hats 2014-12-14 00:28:15 -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 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 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 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 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 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 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 ed70ab9f05 Qt: Fix erroneous filename casing 2014-11-21 00:58:10 -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 888b64f8b5 Video: GIF encoder using ImageMagick 2014-11-19 03:36:14 -08:00
Jeffrey Pfau 5b5c8c8d2d Video: Allow GIF recording 2014-11-18 01:40:48 -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 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 cade03e10d Qt: Prevent flicker upon pausing the emulator 2014-11-15 15:00:27 -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 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 20c5c27bf9 Qt: Reset audio output when changing sample size 2014-11-11 01:25:46 -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 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 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 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 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 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 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 4115b240eb GBA Config: Add audio/video sync setting 2014-11-04 01:19:10 -08:00
Jeffrey Pfau d3bb022bf1 Video: Fix setting global extradata in FFmpeg 2014-11-04 00:15:54 -08:00
Jeffrey Pfau 72136951bf SDL: Swap A and B for more standard default layout 2014-11-03 23:28:56 -08:00
Jeffrey Pfau 629196e7a1 SDL: Load SDLK and SDLB input maps 2014-11-03 23:28:33 -08:00
Jeffrey Pfau ab4d35c7d9 SDL: Use scancodes instead of keycodes 2014-11-03 22:35:08 -08:00
Jeffrey Pfau 6d89c37886 Qt: Support setting for width and height 2014-11-02 18:30:46 -08:00
Jeffrey Pfau d744714ac5 Qt: Load configuration file 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 6788008418 Qt: Support loading fpsTarget and audioBuffers 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 776c64b0c8 Qt: Initialize arguments and options 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 6afa678a41 GBA Config: Further separate arguments from options, renaming things in the process 2014-11-02 18:30:46 -08:00
Jeffrey Pfau f36a74759a GBA Config: Begin refactor of separating out command line args from settings 2014-11-02 18:30:46 -08:00
Jeffrey Pfau 5607a13039 GBA Config: Support loading BIOS from config files 2014-11-02 18:30:45 -08:00
Jeffrey Pfau 3ed2993e8c GBA: Add configuration loader 2014-11-02 18:30:45 -08:00
Jeffrey Pfau acb69161bb Video: Kludgily fix warnings in sws_scale call 2014-11-01 22:03:54 -07:00
Jeffrey Pfau 1cc4839d4f Fix build on older versions of FFmpeg 2014-11-01 22:00:31 -07:00
Jeffrey Pfau 3ad2047855 Video: Support AAC in MP4 2014-10-28 23:30:15 -07:00
Jeffrey Pfau eab30ebf05 Video: Consolidate state initialization 2014-10-28 02:53:52 -07:00
Jeffrey Pfau c101703b20 Qt: Re-add Xvid and use YUV libx264 instead of RGB 2014-10-28 02:27:32 -07:00
Jeffrey Pfau 3878e4b196 Video: use libswscale to handle video format conversion 2014-10-28 02:17:18 -07:00
Jeffrey Pfau 9c83462343 Qt: Fix VBR 2014-10-28 01:35:31 -07:00
Jeffrey Pfau f4f6ff902c Qt: fix bitrates for video 2014-10-27 23:38:40 -07:00
Jeffrey Pfau e9333c8749 Fix audio frame pts 2014-10-27 23:31:51 -07:00
Jeffrey Pfau 4fb82e4b80 Remove specialized code for resampling to allow for broader variety of sample formats 2014-10-27 22:57:26 -07:00
Jeffrey Pfau aed170b670 Merge branch 'port/qt' 2014-10-27 22:03:02 -07:00
Jeffrey Pfau e9b26dda08 FFmpeg resampling 2014-10-27 21:59:10 -07:00
Jeffrey Pfau c3e29f2df2 Lower bitrate limits for video to be more sensible for 240x160 video 2014-10-27 00:54:28 -07:00
Jeffrey Pfau 5dcf3a5d43 Use libfaac for aac 2014-10-27 00:32:52 -07:00
Jeffrey Pfau 1a09f93b27 Allow videos to be recorded from when a ROM is loaded, and end when a ROM is shut down 2014-10-27 00:17:29 -07:00
Jeffrey Pfau b51e72fcab Hook up and finish up video recorder 2014-10-26 23:49:25 -07:00
Jeffrey Pfau 61569c0559 Merge branch 'master' into port/qt 2014-10-26 23:48:52 -07:00
Jeffrey Pfau 281f190ae6 Enhance usability and resiliency of ffmpeg encoder 2014-10-26 23:48:34 -07:00
Jeffrey Pfau 3dfc2bfcb3 Begin setting up video recording UI 2014-10-26 18:27:53 -07:00
Jeffrey Pfau 27c7041008 Make sure Qt knows where SDL2 libs are 2014-10-26 03:51:36 -07:00
Jeffrey Pfau f98d6486ef Merge branch 'master' into port/qt 2014-10-26 03:49:12 -07:00
Jeffrey Pfau 21ea47ea9e Fix SDL2 library exporting 2014-10-26 02:04:24 -07:00
Jeffrey Pfau 8d002913f0 Fix windows build on case-sensitive filesystems 2014-10-26 02:03:07 -07:00
Jeffrey Pfau b33e75daec Move thread unpausing from destructor to shutdown 2014-10-25 17:32:11 -07:00
Jeffrey Pfau d40d4c1cf2 Use ICO file on Windows 2014-10-25 03:21:46 -07:00
Jeffrey Pfau b51ec046da Fix C++ flags 2014-10-25 03:06:57 -07:00
Jeffrey Pfau 2415d59d94 Windows C++ fixes 2014-10-25 03:06:45 -07:00
Jeffrey Pfau c8d5219212 Merge branch 'master' into port/qt 2014-10-25 01:53:15 -07:00
Jeffrey Pfau bd74fa1fbc Add frameskip 2014-10-24 21:45:50 -07:00
Jeffrey Pfau dcbfba03c3 Fix locking up when triggering turbo with no game loaded 2014-10-24 21:45:37 -07:00
Jeffrey Pfau 02116415d1 Unload patch after the end of the game 2014-10-24 02:25:18 -07:00
Jeffrey Pfau 26c1b3c6c9 Patch menu 2014-10-24 02:23:48 -07:00
Jeffrey Pfau a2ee0c20dc Fix filename getting deleted early 2014-10-24 02:23:37 -07:00
Jeffrey Pfau 397ddafdd2 Game resets when loading a patch or BIOS 2014-10-24 01:57:18 -07:00
Jeffrey Pfau 422e2e2f62 Move screen widget to its own class, allowing for a size hint 2014-10-24 01:47:12 -07:00
Jeffrey Pfau 6041bf422a Load patch from command line 2014-10-24 01:25:06 -07:00
Jeffrey Pfau 0050fb23c3 Use proper literal sizes for uint64_t 2014-10-22 00:47:32 -07:00
Jeffrey Pfau ba5c77523d Remove stale file 2014-10-19 18:56:55 -07:00
Jeffrey Pfau bfa5fb6173 Merge branch 'master' into qt 2014-10-19 01:17:09 -07:00
Jeffrey Pfau 894cc3783b *Wait -> bool 2014-10-19 01:13:55 -07:00
Jeffrey Pfau 05ec732a83 Add turbo 2014-10-19 01:10:00 -07:00
Jeffrey Pfau 24094ecdf0 Make audo/video sync adjustable externally 2014-10-19 00:50:23 -07:00
Jeffrey Pfau ad12bdde9d Move savestates to file menu 2014-10-19 00:39:24 -07:00
Jeffrey Pfau 8aa5880afd Support FileOpen events on OS X 2014-10-18 23:18:08 -07:00
Jeffrey Pfau 8fc3ef27ad Don't initialize SDL video in Qt port 2014-10-18 23:16:13 -07:00
Jeffrey Pfau e84727c94b Load BIOS from menu 2014-10-18 17:21:05 -07:00
Jeffrey Pfau 54be75bb92 Load BIOS from command line 2014-10-18 17:15:39 -07:00
Jeffrey Pfau 23592af3cc Add screenshot support 2014-10-18 16:37:05 -07:00
Jeffrey Pfau 9efd8f2452 Close the savestate window, not just hiding it, when we shut things down 2014-10-18 05:07:45 -07:00
Jeffrey Pfau e2901db7c1 Unmark the Qt frontend as a separate project 2014-10-18 04:39:44 -07:00
Jeffrey Pfau 2627d1c768 Mark Qt frontend as C++ 2014-10-18 04:33:46 -07:00
Jeffrey Pfau bfb986b974 Make logo scaled to the correct device pixel ratio 2014-10-18 04:33:30 -07:00
Jeffrey Pfau 711231add6 Add custom plist.info.in file 2014-10-18 04:33:09 -07:00
Jeffrey Pfau 2c74cb46ab Ensure savestate window closes when a game is shut down 2014-10-18 04:12:44 -07:00
Jeffrey Pfau e2812b30b2 Remove code that expects the GBA thread to still be around after it has ended 2014-10-18 04:09:49 -07:00
Jeffrey Pfau dbe5e7e2a5 Only blank cursor for Display widget, even when in full screen 2014-10-18 03:40:26 -07:00
Jeffrey Pfau 8e4a3439c0 Fix threading issues with the video thread and the main thread deadlocking 2014-10-18 02:26:32 -07:00
Jeffrey Pfau 4b7883e1fd Add command line parsing to Qt frontend 2014-10-18 01:54:51 -07:00
Jeffrey Pfau acd0e58235 Add dirmode to Qt frontend 2014-10-18 01:54:35 -07:00
Jeffrey Pfau c32122c153 Add slot for setting all the log levels at once 2014-10-18 01:40:44 -07:00
Jeffrey Pfau 093036db76 Detect Qt modules without hard-failing 2014-10-18 01:10:47 -07:00
Jeffrey Pfau fb5f01e46a Show project name and game title in title bar 2014-10-18 01:07:42 -07:00
Jeffrey Pfau c12b8e6e6d Merge branch 'master' into qt 2014-10-18 01:06:35 -07:00
Jeffrey Pfau 2b012ef0bc Remove unnecessary QFile object add zip loading 2014-10-18 00:51:47 -07:00
Jeffrey Pfau d0b63162d5 Add exit menu item on non-OS X 2014-10-18 00:42:35 -07:00
Jeffrey Pfau add64ce269 Initialize audio drift 2014-10-17 23:39:38 -07:00
Jeffrey Pfau 62a0447cc9 Draw logo when a game is not loaded 2014-10-17 01:45:34 -07:00
Jeffrey Pfau c91ad7f85f Fix resizeEvent blocking when the thread has shut down 2014-10-17 01:38:00 -07:00
Jeffrey Pfau a6f5bbbeb9 Redo background texturing 2014-10-17 00:53:34 -07:00
Jeffrey Pfau b74a5a5293 Allow enter to be used to select a state 2014-10-16 04:15:57 -07:00
Jeffrey Pfau 556209e75f Fix warning 2014-10-16 04:11:09 -07:00
Jeffrey Pfau 0fda035c21 Fix typo 2014-10-16 04:07:42 -07:00
Jeffrey Pfau b9d4101937 Paint background on savestate window 2014-10-16 04:07:19 -07:00
Jeffrey Pfau 1d00ccf6dd Show savestate manager over game when in fullscreen 2014-10-16 01:52:45 -07:00
Jeffrey Pfau 73d28a1ae4 Mouse enter tracking for savestate screen 2014-10-16 01:32:06 -07:00
Jeffrey Pfau f49494cd1d Don't open a new state window if one is already open 2014-10-16 00:28:41 -07:00
Jeffrey Pfau 4a9ab53231 Don't block while forcing a draw 2014-10-16 00:19:11 -07:00
Jeffrey Pfau d52be5b3d9 Key overrides for selecting states 2014-10-16 00:18:58 -07:00
Jeffrey Pfau a8d87a7979 Remove redundant shortcut code 2014-10-16 00:17:26 -07:00
Jeffrey Pfau cd8cc12829 Draw text for empty slots 2014-10-16 00:17:09 -07:00
Jeffrey Pfau e2de508b99 Quick savestate menu 2014-10-15 23:53:01 -07:00
Jeffrey Pfau be9363b7f4 Set real size to minimum for display 2014-10-15 23:42:24 -07:00
Jeffrey Pfau 05cb9d47ab Load the right states in the right slots 2014-10-15 23:40:52 -07:00
Jeffrey Pfau 961121808d Wake up the drawing thread after loading a state to make sure it draws the loaded state 2014-10-15 23:40:40 -07:00
Jeffrey Pfau 8c02615593 Name slots more predictably 2014-10-15 23:26:46 -07:00
Jeffrey Pfau 6afc00b472 Move state loading/storing into GameController 2014-10-15 23:22:30 -07:00
Jeffrey Pfau ad37ae3d61 Only unpause after savestate window if the game was not previously paused 2014-10-15 23:09:50 -07:00
Jeffrey Pfau 71458f2140 Close savestate window with Esc 2014-10-15 23:08:05 -07:00
Jeffrey Pfau cd8b1e56db Pause game while savestate window is open 2014-10-15 23:06:23 -07:00
Jeffrey Pfau ca128a97ea Make Display take a QGLFormat 2014-10-15 04:48:59 -07:00
Jeffrey Pfau ddd8c8db29 Make AudioDevice::setFormat thread-safe 2014-10-15 04:48:18 -07:00
Jeffrey Pfau 49b676fa7e Fix double-ending the GBA thread 2014-10-15 02:48:37 -07:00
Jeffrey Pfau 39b5396c0b Set thread priorities for time-critical threads 2014-10-15 02:38:58 -07:00
Jeffrey Pfau bd731e8266 Remove unneeded GL context code 2014-10-15 02:38:43 -07:00
Jeffrey Pfau 1ef3f4256f Fix flickering when resizing emulator window 2014-10-15 02:28:32 -07:00
Jeffrey Pfau 113d7da345 Small style fix 2014-10-15 02:16:57 -07:00
Jeffrey Pfau fdbb0ac753 Fix build in g++ 2014-10-15 01:47:01 -07:00
Jeffrey Pfau ae256542cb Better, C++11 style initialization of m_threadContext 2014-10-15 01:40:16 -07:00
Jeffrey Pfau 7d8041cb58 Increase savestate view usability 2014-10-15 00:50:15 -07:00
Jeffrey Pfau c60a5ea545 Fix path name use-after-free 2014-10-14 23:15:31 -07:00
Jeffrey Pfau fdf2ce299c Add savestate load/saving in Qt frontend 2014-10-14 23:15:15 -07:00
Jeffrey Pfau 642b92fed3 Add VFileDevice QIODevice subclass 2014-10-14 23:14:25 -07:00
Jeffrey Pfau 51a6371eef Close LogView if the main window closes 2014-10-14 01:58:36 -07:00
Jeffrey Pfau 78759dc12e Fix QAction ownership 2014-10-14 01:57:49 -07:00
Jeffrey Pfau 49d668f285 Fix crashing on exit 2014-10-13 22:22:43 -07:00
Jeffrey Pfau 2e031a8c49 Update log view styling 2014-10-13 03:03:47 -07:00
Jeffrey Pfau 24a579044f Ability to adjust line limit 2014-10-13 02:56:08 -07:00
Jeffrey Pfau d3a4c027e4 Clear backlog automatically 2014-10-13 02:43:27 -07:00
Jeffrey Pfau fa255dc808 Start of log view 2014-10-13 02:24:54 -07:00
Jeffrey Pfau eef1a5e8a3 Clean up Qt CMakeLists 2014-10-13 01:25:39 -07:00
Jeffrey Pfau dd1387732d Remove stopgap measure 2014-10-13 01:02:19 -07:00
Jeffrey Pfau 51ad9d37e1 Merge branch 'master' into qt 2014-10-12 21:00:01 -07:00
Jeffrey Pfau 4247db81e4 Split out macros from common.h 2014-10-11 18:18:47 -07:00
Jeffrey Pfau 747e30c5e1 Fix perf-main parsing when errno is not cleared 2014-10-09 03:43:51 -07:00
Jeffrey Pfau 59f1018dd2 Speculative fixes for SDL fallback and failing configuring 2014-10-08 04:48:23 -07:00
Jeffrey Pfau 0890d21645 Fix types for some LP64 systems 2014-10-08 01:16:50 -07:00
Jeffrey Pfau b12f7a136e Fix printf format string to use unsigned instead of signed 2014-10-08 01:04:19 -07:00
Jeffrey Pfau 6560db2ef5 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-10-07 02:50:57 -07:00
Jeffrey Pfau ad7f1ae939 Fix build when PNG support is not enabled 2014-10-06 23:38:48 -07:00
Jeffrey Pfau e9864cbc99 Add some missing usage documentation 2014-10-06 23:36:52 -07:00
Jeffrey Pfau bac0d35034 Enhance perf-main with higher granularity output, optional parseable output and higher granularity duration setting 2014-10-06 23:32:26 -07:00
Jeffrey Pfau 4f8c021f95 Enhance CMake lists to have unified feature detection, summaries 2014-10-05 23:08:11 -07:00
Jeffrey Pfau 996cfe8a26 Fix crashes in sdl/sw-main 2014-10-01 01:59:03 -07:00
Jeffrey Pfau 4fb42d58b6 Clean up setting up vsync on SDL port 2014-09-01 00:51:45 -07:00
Jeffrey Pfau ca3e1c428e Add missing newline in perf usage 2014-08-28 05:11:16 -07:00
Jeffrey Pfau a78772ee47 Add mGBA icon for OS X 2014-08-13 00:14:25 -07:00
Jeffrey Pfau 8f5145f4b8 Rename Qt frontend 2014-08-12 23:43:52 -07:00
Jeffrey Pfau 2b3631dc91 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-08-12 23:37:29 -07:00
Jeffrey Pfau 30fa9d8675 Remove prototype for removed function 2014-08-12 23:23:14 -07:00
Jeffrey Pfau 94d091b6ed Use DualShock 3 button mapping for now 2014-08-12 23:19:13 -07:00
Jeffrey Pfau 2805cc5fea Fix gamepad input 2014-08-12 22:50:24 -07:00
Jeffrey Pfau d7968ccc0d Merge branch 'ffmpeg' 2014-08-12 22:28:13 -07:00
Jeffrey Pfau 9ed4fad33c Add library versions and installation targets 2014-08-12 22:18:06 -07:00
Jeffrey Pfau 09c49d5f3b Clean up list usage in CMakeLists 2014-08-12 22:06:31 -07:00
Jeffrey Pfau 408223cfef External support for changing codecs in FFmpeg encoder 2014-08-12 02:11:43 -07:00
Jeffrey Pfau 11c00d8958 Use FFV1 for reduced filesize 2014-08-09 04:17:34 -07:00
Jeffrey Pfau 88695a5ab1 Rough FFmpeg video encoder 2014-08-09 03:59:31 -07:00
Jeffrey Pfau f005326800 Add backslash as another frame advance key 2014-08-07 00:23:05 -07:00
Jeffrey Pfau 82b31c46f1 RR starting from savegame (currently broken) and savestate 2014-08-04 23:37:37 -07:00
Jeffrey Pfau f8fff828e3 Start working on ability to bundle save data with movies 2014-08-04 01:11:46 -07:00
Jeffrey Pfau 220d836f13 Save initialization type and metadata magic number 2014-08-04 00:54:50 -07:00
Jeffrey Pfau ff200093ca Fix crashing when trying to start recording while recording 2014-08-03 20:19:19 -07:00
Jeffrey Pfau dbc6567317 Only make GUI_MOD SDL events happen when no other modifiers are active 2014-07-29 22:48:55 -07:00
Jeffrey Pfau b115cb564d Fix GBARR not starting in SDL port 2014-07-27 18:22:53 -07:00
Jeffrey Pfau f39d7e3640 Move screenshot function to gba-thread.h 2014-07-27 18:21:58 -07:00
Jeffrey Pfau a872bd3642 Remove some ifdefed code by adding a constant for number of bytes per pixel 2014-07-26 13:28:44 -07:00
Jeffrey Pfau 15ece309b7 PNG savestate loading 2014-07-26 13:20:29 -07:00
Jeffrey Pfau 89bb9c7eac Code for embedding savestates in PNG chunk, loading not yet implemented 2014-07-26 00:04:24 -07:00
Jeffrey Pfau deb278dc22 Add function to GBAVideoRenderer for taking screenshot 2014-07-26 00:03:54 -07:00
Jeffrey Pfau bbe52bf632 Add screenshot capability 2014-07-25 05:44:20 -07:00
Jeffrey Pfau a701a6d9dd Benchmark option to disable video rendering fully 2014-07-24 03:23:41 -07:00
Jeffrey Pfau 6c9ee4c212 Modernize egl-main 2014-07-23 22:57:58 -07:00
Jeffrey Pfau 754d3f50ce Check if we have a subparser before trying to use it 2014-07-23 22:57:44 -07:00
Jeffrey Pfau 94001b1133 Fix crashes when GBARR is not initialized 2014-07-23 00:09:14 -07:00
Jeffrey Pfau 3051143fa3 First pass at input mapping 2014-07-23 00:06:44 -07:00
Jeffrey Pfau 08fee36c20 Window resizing options 2014-07-22 03:26:16 -07:00
Jeffrey Pfau d020bf4f0a Add FPS target options 2014-07-22 03:14:28 -07:00
Jeffrey Pfau 0717e4ab76 Use lambda syntax for audio buffer size slots 2014-07-22 02:33:01 -07:00
Jeffrey Pfau a7588f25bb Sync pause setting with the menu properly 2014-07-22 02:22:03 -07:00
Jeffrey Pfau 42041fa059 Fix frame advance 2014-07-22 02:11:41 -07:00
Jeffrey Pfau 04823fb06c Merge branch 'master' into qt 2014-07-22 01:53:34 -07:00
Jeffrey Pfau d1eda4250d Thread pausing refining 2014-07-22 01:52:16 -07:00
Jeffrey Pfau b0662fe766 Run audio pausing in the right thread 2014-07-22 01:13:27 -07:00
Jeffrey Pfau fe7deb0aab Only try to stop audio output if there is an audio output device 2014-07-22 00:44:43 -07:00
Jeffrey Pfau 8ff6d77869 Make shutdown disabled when a game is not running 2014-07-22 00:43:53 -07:00
Jeffrey Pfau 6403d531bd Add reset option and reshuffle menu items a bit 2014-07-22 00:40:42 -07:00