Commit Graph

3620 Commits

Author SHA1 Message Date
Jeffrey Pfau 36af5fba87 Qt: Fix shortcuts conflicting between views 2015-04-03 21:13:24 -07:00
Jeffrey Pfau 5da7198d07 Qt: Fix build with some non-Apple versions of GCC 2015-04-03 21:12:37 -07:00
Jeffrey Pfau 065474d14e Qt: Fix crash when attempting to pause if a game is not running 2015-04-03 21:07:26 -07:00
Jeffrey Pfau 7cc903a217 Qt: Pause game while open file dialogs are open (fixes #6 on GitHub) 2015-04-02 22:32:38 -07:00
Jeffrey Pfau f2559ad169 Qt: Add pure-Qt display backend 2015-04-01 00:35:55 -07:00
Jeffrey Pfau 11eab66247 Qt: Move screenshot to GameController 2015-03-31 23:43:47 -07:00
Jeffrey Pfau 0d6cc88f9f Qt: Remove unneeded second draws 2015-03-31 23:37:14 -07:00
Jeffrey Pfau 4fb121bbe0 Qt: Start modularizing Qt drawing 2015-03-31 22:58:29 -07:00
Jeffrey Pfau bed6a0c130 SDL: Allow runtime switching of rendering backend 2015-03-31 21:41:53 -07:00
Jeffrey Pfau 2eb765eacc SDL: Fix pixman build if includes aren't in base path 2015-03-31 21:38:55 -07:00
Jeffrey Pfau cab9f3343b Qt: Double-clicking on the window toggles full screen 2015-03-29 17:12:39 -07:00
Jeffrey Pfau 178f9a83bb GBA: Almost entirely untested Pro Action Replay v3 code support 2015-03-29 04:38:13 -07:00
Jeffrey Pfau 44d3718eb0 Qt: Save fullscreen setting 2015-03-28 23:23:32 -07:00
Jeffrey Pfau 3fe32281c9 Qt: Remember window position 2015-03-28 23:14:10 -07:00
Jeffrey Pfau 4b957cb66d Qt: Fix non-SDL build 2015-03-25 21:56:23 -07:00
Jeffrey Pfau 9d80089194 Qt: Add keyboard shortcut to exit fullscreen (fixes #205) 2015-03-24 22:54:13 -07:00
Jeffrey Pfau 3d8cfda57d Qt: Warning dialog if an unimplemented BIOS feature is called (fixes #177) 2015-03-23 22:12:57 -07:00
Jeffrey Pfau 740f733563 Qt: Change audio driver back to SDL by default 2015-03-23 21:34:20 -07:00
Jeffrey Pfau 1c422d4057 SDL: Use SDL2 audio APIs when compiled against SDL2 2015-03-23 21:23:10 -07:00
Jeffrey Pfau 8fad1d136c Qt: Ability to prevent opposing directional input 2015-03-23 00:11:19 -07:00
Jeffrey Pfau 302b041507 Qt: Fix crash when initializing gamepads 2015-03-22 13:03:39 -07:00
Jeffrey Pfau 291d5c500b Qt: Fix useBios config option not being bound properly 2015-03-21 17:12:37 -07:00
Jeffrey Pfau afae3c8b80 Qt: Allow configuring arbitrary attached gamepads (fixes #204) 2015-03-21 17:09:15 -07:00
Jeffrey Pfau d4ef56cd16 SDL: Gamepads can now be preferentially loaded 2015-03-21 16:27:00 -07:00
Jeffrey Pfau 64b396aff9 Merge branch 'feature/sio-lockstep' 2015-03-19 22:19:49 -07:00
Jeffrey Pfau ae2b20e476 Qt: Make ConfigOption able to handle multiple consumers 2015-03-19 22:11:23 -07:00
Jeffrey Pfau b8fe87324f SDL: Esc to quit, only on Pandora for now 2015-03-18 23:46:13 -07:00
Jeffrey Pfau 4fa1ad7ce0 SDL: Fix typo 2015-03-18 23:41:54 -07:00
Jeffrey Pfau e0ff8e4371 SDL: Add Pandora-specific main file 2015-03-18 23:40:18 -07:00
Jeffrey Pfau e21b4e3ee5 SDL: Move render context freeing to the right files 2015-03-18 23:38:42 -07:00
Jeffrey Pfau 2dd391046a SDL: Fix exporting SDL compile flags 2015-03-18 23:38:09 -07:00
Jeffrey Pfau ae3acd658b SDL: Make sure scaling ratio is at least 1 2015-03-18 01:39:36 -07:00
Jeffrey Pfau 1af7b56349 SDL: Use pixman for software scaling 2015-03-18 01:39:20 -07:00
Jeffrey Pfau b677d41469 SDL: Do not cache SDL variables 2015-03-18 01:36:48 -07:00
Jeffrey Pfau c75224ce8c SDL: Add Pandora bindings 2015-03-17 22:30:58 -07:00
Jeffrey Pfau fe0af2c563 GBA: Add option to disable loading BIOS even if BIOS path is stored (fixes #203) 2015-03-16 23:16:05 -07:00
Jeffrey Pfau 20aae1202a Qt: Properly preprocess Windows RC file 2015-03-16 00:35:09 -07:00
Jeffrey Pfau c04ca093e1 SDL: Ability to lock aspect ratio 2015-03-16 00:10:59 -07:00
Jeffrey Pfau e6377f2e6a GBA: Add player IDs to allow multiple controller profiles to be used at once 2015-03-15 23:48:35 -07:00
Jeffrey Pfau 51b8c862b9 Merge branch 'master' into feature/sio-lockstep
Conflicts:
	CMakeLists.txt
	src/gba/gba.c
2015-03-15 23:29:01 -07:00
Jeffrey Pfau 0b38dd1289 GBA: Controller profiles 2015-03-15 19:33:38 -07:00
Jeffrey Pfau 343924908a Libretro: Rename a variable to avoid #define namespace collision with Windows headers 2015-03-14 01:41:53 -07:00
Jeffrey Pfau d9797cf084 Qt: Move soloar sensor menu items into submenu 2015-03-13 00:11:10 -07:00
Jeffrey Pfau 943b805306 Qt: Sync light sensor window with current state 2015-03-13 00:07:59 -07:00
Jeffrey Pfau 2c5d11539a Qt: Ensure closing a game clears overrides in backend too 2015-03-12 23:49:22 -07:00
Jeffrey Pfau f3c723d713 Qt: Clear all override settings when closing a game 2015-03-12 23:35:33 -07:00
Jeffrey Pfau bdf6d7f7ec All: Fix CMake files to not use function defined in CMake 2.8.11 2015-03-12 01:09:12 -07:00
Jeffrey Pfau 3c652a10b5 Libretro: Use audio buffer callback instead of audio sample callback 2015-03-12 00:45:29 -07:00
Jeffrey Pfau b6e274c3d4 GBA: Add postAudioBuffer callback 2015-03-12 00:45:08 -07:00
Jeffrey Pfau 9dc49df0bc 3DS: Fix loading DEVKITARM from environment 2015-03-12 00:07:31 -07:00
Jeffrey Pfau 22245617f4 3DS: Modernize 3DS port 2015-03-11 23:49:25 -07:00
Jeffrey Pfau 513b9fb751 All: Unify how feature defines work, allowing specific targets to not use them 2015-03-11 02:17:45 -07:00
Jeffrey Pfau bf58976290 Libretro: Fix a warning in gcc 2015-03-10 01:17:24 -07:00
Jeffrey Pfau 54a30af1aa Qt: Fix PulseAudio output with small buffer size 2015-03-10 00:33:04 -07:00
Jeffrey Pfau 589b5f473c Libretro: Copy game data; apparently it is freed by the frontend before starting the game 2015-03-09 22:07:50 -07:00
Jeffrey Pfau 207219b25e Libretro: Use predefined overrides 2015-03-09 21:18:00 -07:00
Jeffrey Pfau f90ac6e9a9 Libretro: Do game unload cleanup 2015-03-08 22:51:41 -07:00
Jeffrey Pfau 6c5a1315ea Libretro: Add warnings about pixel formats 2015-03-08 22:51:41 -07:00
Jeffrey Pfau de7bd2fb55 Libretro: Add savedata support 2015-03-08 22:51:41 -07:00
Jeffrey Pfau 1b591b5844 Libretro: Use callbacks for audio and video 2015-03-08 22:51:41 -07:00
Jeffrey Pfau a000f219db GBA: Move A/V stream interface into core 2015-03-08 22:51:41 -07:00
Jeffrey Pfau cf71d39bf0 Libretro: Add initial libretro version 2015-03-08 22:51:40 -07:00
Jeffrey Pfau 3f9abf2b05 SDL: Reserve correct number of bytes for video buffer allocation 2015-03-08 22:45:40 -07:00
Jeffrey Pfau 9a76ba6b43 Video: Fix warnings in ImageMagick 2015-03-08 22:27:18 -07:00
Jeffrey Pfau 06a0399186 Qt: Fix 15- and 16-bit modes in Qt port 2015-03-08 20:33:06 -07:00
Jeffrey Pfau 5feec0317f Video: Fix FFmpeg encoder support for 15- and 16-bit video pixel formats 2015-03-08 20:33:06 -07:00
Jeffrey Pfau f69d9db9d4 GBA RR: Add way to play movies from startup 2015-03-05 14:10:23 -08:00
Jeffrey Pfau 95e4820743 SDL: Remove RR functions 2015-03-05 00:22:57 -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 33c2c53795 Qt: Add missing function 2015-02-27 01:37:44 -08:00
Jeffrey Pfau 2fc8f0b567 Qt: Add option for opening new window 2015-02-27 00:59:20 -08:00
Jeffrey Pfau 6e467a0332 Qt: Create MultiplayerController 2015-02-26 00:07:36 -08:00
Jeffrey Pfau 1e912abf4b GBA SIO: Start building up skeleton for lockstep driver 2015-02-25 20:35:13 -08:00
Jeffrey Pfau 29e118b512 Util: Fix C++ build for Win32 2015-02-24 00:02:24 -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 c1261a5b74 GBA: Remove struct partial initialization for structs that are initialized later 2015-02-22 02:42:08 -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 815e4d5b0d Qt: Use latest cheat set for set properties 2015-02-22 00:35:10 -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 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 1994977c8f Qt: Fix crash starting a GDB stub if a game isn't loaded 2015-02-20 00:23:03 -08:00
Jeffrey Pfau 0cdb26df54 Qt: Move frame upload back onto main thread 2015-02-17 22:22:31 -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 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 0bd9ae087e Qt: Start Cheats view 2015-02-14 16:38:29 -08:00
Jeffrey Pfau ef65d185a3 GBA: Support for unencrypted CodeBreaker codes 2015-02-05 03:20:02 -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 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 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 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 09db378531 Perf: Fix crash when the GBA thread fails to start 2015-01-25 03:12:53 -08:00
Jeffrey Pfau c50b228243 All: Support 7-Zip files (fixes #151) 2015-01-25 00:11:36 -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 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 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 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 9c92a29b28 3DS: Remove duplicate license headers 2014-12-22 21:57: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 d931dab37c 3DS: Press X to go back to homebrew menu 2014-12-10 05:38:31 -08:00
Jeffrey Pfau 5f7bbb1c4d 3DS: Rotate and center screen 2014-12-10 04:55:05 -08:00
Jeffrey Pfau 57828f6d85 3DS: Get input working 2014-12-10 03:13:38 -08:00
Jeffrey Pfau 40d14fe613 3DS: General cleanup 2014-12-10 03:13:26 -08:00
Jeffrey Pfau 2d6749f8c8 3DS: Use linearAlloc instead of malloc 2014-12-10 03:12:47 -08:00
Jeffrey Pfau 3d5e0f29fa 3DS: Better implementation of VFile3DS.map 2014-12-10 01:43:56 -08:00
Jeffrey Pfau 82cccd74eb 3DS: Working main loop 2014-12-10 01:43:32 -08:00
Jeffrey Pfau 13a6f4b924 3DS: Fixes to CMakeToolchain 2014-12-10 01:39:55 -08:00
Jeffrey Pfau bdb6a46910 3DS: Fix name of libctru 2014-12-09 23:18:22 -08:00
Jeffrey Pfau da3c45a0e7 3DS: Clean out unnecessary abstraction in VFS 2014-12-09 03:46:34 -08:00
Jeffrey Pfau 4b5822a8ec 3DS: Add 3DS main file 2014-12-08 19:39:07 -08:00
Jeffrey Pfau 39c88da650 3DS: Add VFile3DS type 2014-12-08 19:32:29 -08:00
Jeffrey Pfau d6952b6fa6 3DS: Add 3dstool relocation 2014-12-08 18:58:45 -08:00
Jeffrey Pfau 2aae3dc660 3DS: Progress on 3DS linking 2014-12-08 18:42:13 -08:00
Jeffrey Pfau 4748ef7d5d 3DS: Update CMakeToolchain with properties from devkitARM makefiles 2014-12-08 18:36:52 -08:00
Jeffrey Pfau eb2315cdd8 3DS: Add CMakeToolchain for 3DS 2014-12-08 16:02:11 -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
Jeffrey Pfau 71211bac46 Add sound buffer resizing menu options 2014-07-22 00:32:38 -07:00
Jeffrey Pfau 62f6471c0d Move AudioThread into AudioProcessor, run in its own thread 2014-07-22 00:10:38 -07:00
Jeffrey Pfau d5c0dffb29 Remove unused member in GameController 2014-07-21 23:08:31 -07:00
Jeffrey Pfau ae534aff74 Merge branch 'master' into qt 2014-07-21 22:51:26 -07:00
Jeffrey Pfau 6e727db553 Set buffer size to 512 samples in the SDL/GL port 2014-07-21 00:29:38 -07:00
Jeffrey Pfau eabac4c413 Variable FPS target 2014-07-20 23:45:30 -07:00
Jeffrey Pfau b14f22191c Function for calculating audio rate for target FPS 2014-07-20 23:24:02 -07:00
Jeffrey Pfau ad5cdb97a8 Fix memory leak 2014-07-20 22:07:08 -07:00
Jeffrey Pfau a57f911ecc Handle closing games a bit safer 2014-07-20 21:44:06 -07:00
Jeffrey Pfau c9f74b43af Make SDL port QUIT events thread-safe 2014-07-20 21:32:05 -07:00
Jeffrey Pfau a77f7f0be2 Cleanup merge issues 2014-07-20 21:28:25 -07:00
Jeffrey Pfau 489b932c52 Header include cleanup 2014-07-20 20:28:01 -07:00
Jeffrey Pfau 23679adc38 Fix build after GBAThread API changes 2014-07-20 16:38:27 -07:00
Jeffrey Pfau f62ccde49d Merge branch 'master' into qt 2014-07-20 16:28:12 -07:00
Jeffrey Pfau b4d6d11d19 Add ability to resume recording as soon as a movie ends 2014-07-20 03:14:55 -07:00
Jeffrey Pfau 74dae5033b Rewrite rr to be streaming-only 2014-07-20 02:50:43 -07:00
Jeffrey Pfau 7172e6428c Create concept of state directory 2014-07-19 17:48:37 -07:00
Jeffrey Pfau e8a78c9547 Very basic movie saving/loading 2014-07-19 17:38:25 -07:00
Jeffrey Pfau 79301a365f Fix perf build 2014-07-19 15:58:58 -07:00
Jeffrey Pfau 14636f5b8a Beginning of rerecording code, ability to record/replay from a savegame 2014-07-19 00:09:18 -07:00
Jeffrey Pfau ee5c918ff2 Directory mode for loading the first ROM in a directory, still a bit buggy 2014-07-17 00:53:17 -07:00
Jeffrey Pfau e53135a7b9 Clean up command line args 2014-07-16 23:47:47 -07:00
Jeffrey Pfau 7bb5e29a98 Now that mapping is done through a different code path, we can properly allocate large memory chunks on Windows 2014-07-16 02:20:29 -07:00
Jeffrey Pfau f1f55cea47 Use VFiles for all file operations 2014-07-16 02:08:54 -07:00
Jeffrey Pfau d8654f3b88 Use stdbool for readability 2014-07-16 01:02:34 -07:00
Jeffrey Pfau 6716b13621 Ability to reset emulator while running 2014-07-15 00:01:35 -07:00
Jeffrey Pfau 0b9d6e03f1 Support 5_6_5 in SDL/GL port 2014-07-13 18:31:28 -07:00
Jeffrey Pfau 5b7da978d1 Remove project name strings from the code 2014-07-12 04:29:12 -07:00
Jeffrey Pfau 55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau 0a48d4cc2f Draw a polygon every frame, even when paused, to make sure screen is not stale (fixes #87) 2014-07-09 23:18:34 -07:00
Jeffrey Pfau 3ee3f7625f Link with SDL2_LIBDIR if necessary 2014-07-09 01:46:40 -07:00
Jeffrey Pfau 79cfc4fd0a Make GBAThreadInterrupt work properly with paused threads again 2014-07-09 00:36:04 -07:00
Jeffrey Pfau ecee71cfa1 Resizing of SDL2 windows 2014-07-09 00:03:05 -07:00
Jeffrey Pfau a62a932282 Ensure interrupting the GBA thread actually gets to a safe point to read from the thread 2014-07-08 00:04:38 -07:00
Jeffrey Pfau f420232bbf IPS patch loading support 2014-07-06 23:39:27 -07:00
Jeffrey Pfau 28ba251cfb Fix some warnings 2014-07-05 16:29:31 -07:00
Jeffrey Pfau 107f91aac8 Fix typo in documentation 2014-07-05 00:13:54 -07:00
Jeffrey Pfau 678c5465ff Add (currently undocumented) command line flag for setting logging level 2014-07-04 18:43:07 -07:00
Jeffrey Pfau 12e5425b9b Use subparsers instead of stuffing everything into one parser 2014-04-26 16:05:09 -07:00
Jeffrey Pfau 6ca25e44aa Add some NEON resizing code 2014-04-26 03:31:53 -07:00
Jeffrey Pfau 6e32ade69e Clear alpha channel in fragment shader (fixes #51) 2014-04-25 23:48:51 -07:00
Jeffrey Pfau 084f0f037e Fix fullscreen initialization 2014-04-25 21:33:07 -07:00
Jeffrey Pfau 0386d41b40 Add option of not using GL 2014-04-25 03:34:21 -07:00
Jeffrey Pfau 7e90eb2631 Start porting sw-main to SDL2 2014-04-25 03:34:03 -07:00
Jeffrey Pfau 82f3a45888 Build fix in case no debuggers are being built 2014-04-23 21:50:26 -07:00
Jeffrey Pfau 16608a408c Bring sw-main into line 2014-04-23 02:09:27 -07:00
Jeffrey Pfau ffea820148 Remove some redundant flags 2014-04-23 02:09:06 -07:00
Jeffrey Pfau 53389684db Add more command line options and perf-main duration 2014-04-20 22:15:17 -07:00
Jeffrey Pfau 810c35c318 Disentagle graphics flags from global flags 2014-04-20 21:54:05 -07:00
Jeffrey Pfau 5b300bbcff Make command line arguments more dynamic 2014-04-20 21:41:21 -07:00
Jeffrey Pfau 7334b89833 Add more command line options + usage 2014-04-20 21:33:27 -07:00
Jeffrey Pfau 7c356ffd07 Move debugger creation off the stack 2014-04-20 04:19:03 -07:00
Jeffrey Pfau 89ccb41b03 Start moving command line parsing into a separate file 2014-04-20 04:06:44 -07:00
Jeffrey Pfau b8ecabbaa9 Fix the build 2014-04-03 00:00:06 -07:00
Jeffrey Pfau ecb1939ff1 Move common headers to common.h, remove util and debugger from being first class include directories 2014-04-02 23:51:35 -07:00
Jeffrey Pfau 2f39a57567 Get RPi EGL port building again 2014-03-29 22:58:58 -07:00
Jeffrey Pfau c5d243fca2 Merge branch 'master' into qt 2014-02-10 23:59:12 -08:00
Jeffrey Pfau 4d8a00c180 Add thread-interrupt functions for having multiple threads that want to pause the GBA thread 2014-02-10 23:59:07 -08:00
Jeffrey Pfau e9c4412819 Put missing returns in SDL event handling 2014-02-10 23:13:39 -08:00
Jeffrey Pfau 90760a30a3 Move key mapping into its own function 2014-02-03 22:28:49 -08:00
Jeffrey Pfau b691c93416 Add joypad support via SDL to Qt build 2014-02-03 22:28:28 -08:00
Jeffrey Pfau edc6de0467 Move key mapping into its own function 2014-02-03 22:27:58 -08:00
Jeffrey Pfau 7bee813846 Make GDB server able to be detached before GBA thread starts 2014-02-03 03:45:43 -08:00
Jeffrey Pfau 844cee07e8 Make sure GDB window is created in sync with GDB server state 2014-02-03 03:44:39 -08:00
Jeffrey Pfau 8c53fbeb4f Make GDB server able to be attached when the emulator starts 2014-02-03 03:42:29 -08:00
Jeffrey Pfau 6d12ef81a5 Reuse an audio thread instead of shutting it down and making a new one 2014-02-03 01:13:52 -08:00
Jeffrey Pfau 186e0b1ee5 GBA thread can be shut down and opened again, cleanly 2014-02-03 00:44:19 -08:00
Jeffrey Pfau 9f3cf19c2d Add missing ellipses for menu items that open windows 2014-02-02 04:01:41 -08:00
Jeffrey Pfau c621fb16d8 Add missing GDB classes 2014-02-02 03:58:40 -08:00
Jeffrey Pfau 243cf2236b Ability to fullscreen the window in SDL2 2014-02-02 03:05:30 -08:00
Jeffrey Pfau 19142a2881 Use command key on OS X 2014-02-02 02:56:02 -08:00
Jeffrey Pfau ad38ae63ec Properly support 16-bit color 2014-02-02 02:47:50 -08:00
Jeffrey Pfau 02aec4fc65 Add SDL2 support 2014-02-02 02:39:34 -08:00
Jeffrey Pfau 3b7dbdecba Use C++11 override and nullptr 2014-02-02 01:42:36 -08:00
Jeffrey Pfau 1a7656fe36 Support creating the GDB stub in Qt 2014-02-01 20:47:44 -08:00
Jeffrey Pfau 11e3bdc585 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
	src/gba/gba.c
2014-02-01 17:37:18 -08:00
Jeffrey Pfau 6616ca9111 Always enable the debugger framework 2014-02-01 01:14:41 -08:00
Jeffrey Pfau 6822a0d770 Start separating out debugger logic 2014-02-01 00:27:53 -08:00
Jeffrey Pfau bab92ba659 Squelch compiler warning in perf shutdown 2014-01-31 02:30:56 -08:00
Jeffrey Pfau bce620e717 Split SDL build into its own CMake list 2014-01-31 00:13:33 -08:00
Jeffrey Pfau 80511fcb9f Fix perf main after adding BIOS loading 2014-01-31 00:11:55 -08:00
Jeffrey Pfau 9022deed9e Split SDL build into its own CMake list 2014-01-31 00:11:19 -08:00
Jeffrey Pfau 22ef0977dc Fix perf main after adding BIOS loading 2014-01-31 00:10:56 -08:00
Jeffrey Pfau 2ee3d17d33 Put OpenGL include explicitly in Qt CMake file 2014-01-31 00:06:37 -08:00
Jeffrey Pfau 8e3d104625 Qt audio thread should mark itself as exiting 2014-01-30 04:05:39 -08:00
Jeffrey Pfau 6834401e67 Close process cleanly 2014-01-30 04:00:52 -08:00
Jeffrey Pfau 6407ad3adc Video drawing in separate thread 2014-01-30 04:00:30 -08:00
Jeffrey Pfau 2f98f542e5 Add frame advance 2014-01-29 23:58:57 -08:00
Jeffrey Pfau 1eeeb36015 Add emulation menu with Pause option 2014-01-29 23:39:24 -08:00
Jeffrey Pfau 5abd1572dc Use an initializer for GBAThread in Qt 2014-01-29 23:39:09 -08:00
Jeffrey Pfau a076e88bb5 Ditch uic 2014-01-29 23:14:23 -08:00
Jeffrey Pfau 3d339b1327 Key input 2014-01-29 23:14:23 -08:00
Jeffrey Pfau 98c9121ac2 Move audio initialization into thread 2014-01-29 23:14:23 -08:00
Jeffrey Pfau 0ca3afa3e6 Run audio on separate thread 2014-01-29 23:14:23 -08:00
Jeffrey Pfau baeaf8729f Audio rendering in Qt 2014-01-29 23:14:23 -08:00
Jeffrey Pfau 8a82144ceb Ensure the GBA thread exits when destroying the game controller 2014-01-29 23:14:23 -08:00
Jeffrey Pfau 4659635fb5 Start Qt frontend 2014-01-29 23:14:23 -08:00
Jeffrey Pfau f0481d9413 Enable piping through BIOS 2014-01-29 23:13:44 -08:00
Jeffrey Pfau 70afe23fe4 Add log handling 2014-01-29 22:49:24 -08:00
Jeffrey Pfau 9d351d4a58 SDL audio should use now centralized audio functions 2014-01-29 22:49:09 -08:00
Jeffrey Pfau ef66e4a8c7 Only unpause from state operations when we paused manually 2014-01-26 23:17:17 -08:00
Jeffrey Pfau 705b6e9b13 Simple rewind buffer 2014-01-26 02:50:28 -08:00
Jeffrey Pfau b1a648e46e Don't sync on audio and video at the same time--this can cause audio skipping 2014-01-25 18:08:33 -08:00
Jeffrey Pfau 0e379fed41 Fix audio buffer reading in SDL audio 2014-01-23 20:59:15 -08:00
Jeffrey Pfau 968dbe55db Properly sync to frame only when not in turbo 2014-01-22 03:25:09 -08:00
Jeffrey Pfau 7132c873e3 Make viewport size not-hardcoded 2014-01-21 23:51:52 -08:00
Jeffrey Pfau f8de62ba71 Null out frameCallback on perf-main 2014-01-21 22:36:40 -08:00
Jeffrey Pfau 98c8b42b0f Slow down audio slightly to match target FPS 2014-01-20 20:02:44 -08:00
Jeffrey Pfau 26c1fbd48f Add frame advance 2014-01-20 16:39:46 -08:00
Jeffrey Pfau 1f8c1bcdfa Fix signal handling for debugger 2014-01-19 23:42:34 -08:00
Jeffrey Pfau daf12994db Start savestates 2014-01-19 01:59:35 -08:00
Jeffrey Pfau f2b031467f Fix non-debugger build 2014-01-19 01:24:29 -08:00
Jeffrey Pfau 7b682dd7c5 Break into debugger with F11 2014-01-19 00:37:53 -08:00
Jeffrey Pfau 94cc48faf1 Account for floating point error in resampling 2014-01-16 02:12:35 -08:00
Jeffrey Pfau 39025dedff Ensure that video buffers are flushed to the GPU before unlocking the mutex 2014-01-16 01:05:32 -08:00
Jeffrey Pfau 48e89fb5eb Fix buffer size in SDL audio 2014-01-16 00:27:15 -08:00
Jeffrey Pfau 5758964617 Unlock mutex before swapping buffers 2014-01-16 00:26:59 -08:00
Jeffrey Pfau 3837213f94 Support Win32 threads on Vista and higher 2014-01-15 23:46:47 -08:00
Jeffrey Pfau 2b558a5a65 Rearchitect audio copying to make it cleaner and more atomic 2014-01-15 03:43:56 -08:00
Jeffrey Pfau b8167f55b1 Create Windows and POSIX platform directories 2014-01-15 01:28:30 -08:00
Jeffrey Pfau dd1f1bc79e Initial support for Windows 2014-01-15 00:32:54 -08:00
Jeffrey Pfau 620adbd577 Remove extra free in SDL code 2013-11-11 19:40:37 -08:00
Jeffrey Pfau f09e44062f Use gettimeofday for perf-main instead of clock_gettime 2013-11-06 22:20:29 -08:00
Jeffrey Pfau 3005c6c9fb Add per-second perf updating 2013-11-04 21:07:41 -08:00
Jeffrey Pfau 09888a8852 Add performance-monitoring main thread 2013-10-27 05:16:07 -07:00
Jeffrey Pfau c12eca835f Don't busy-wait if the emulator is paused 2013-10-24 01:09:01 -07:00
Jeffrey Pfau 093c86c943 Add channel 4 envelope, fix audio timing 2013-10-18 09:33:07 -07:00
Jeffrey Pfau a55b4dc87f Fix valgrind-found uninitialized values 2013-10-18 08:42:15 -07:00
Jeffrey Pfau 3edb2da58d Make platform directory for ports 2013-10-16 01:35:49 -07:00