Commit Graph

205 Commits

Author SHA1 Message Date
Jeffrey Pfau 8266f54d76 Volume control 2015-04-08 00:32:29 -07:00
Jeffrey Pfau 3182b5e35d Qt: Follow-up fix for regression 2015-04-07 00:51:19 -07:00
Jeffrey Pfau eb0b9dca0f Qt: Fix regression where video would not record if the game had already started 2015-04-06 22:18:57 -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 11eab66247 Qt: Move screenshot to GameController 2015-03-31 23:43:47 -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 8fad1d136c Qt: Ability to prevent opposing directional input 2015-03-23 00:11:19 -07:00
Jeffrey Pfau 64b396aff9 Merge branch 'feature/sio-lockstep' 2015-03-19 22:19:49 -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 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 943b805306 Qt: Sync light sensor window with current state 2015-03-13 00:07:59 -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 6e467a0332 Qt: Create MultiplayerController 2015-02-26 00:07:36 -08:00
Jeffrey Pfau afbadf242b Qt: Copy state from old audio processor to new 2015-02-22 21:17:41 -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 7f592f78e8 Qt: Runtime configurable audio driver 2015-02-21 01:54:50 -08:00
Jeffrey Pfau dc5fb14fa1 Qt: Clear cheats when the game ends 2015-02-14 18:04:01 -08:00
Jeffrey Pfau 0bd9ae087e Qt: Start Cheats view 2015-02-14 16:38:29 -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 d665105082 Qt: Support idle loop optimization 2015-01-29 00:37:30 -08:00
Jeffrey Pfau f33e9c060f Qt: Configurable game overrides for Game Pak devices 2015-01-25 15:21:48 -08:00
Jeffrey Pfau c50b228243 All: Support 7-Zip files (fixes #151) 2015-01-25 00:11:36 -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 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 087810a125 Qt: Error dialog if a game fails to load 2015-01-10 23:28:30 -08:00
Jeffrey Pfau f05a385d6a GBA Thread: Add a crashed state to the thread 2015-01-08 20:06:05 -08:00
Jeffrey Pfau aa12eeef3a Qt: Update debugger portions to use threadInterrupt/threadContinue 2015-01-07 02:05:52 -08:00
Jeffrey Pfau f97ba6517b Qt: Expose rewind (fixes #136) 2015-01-05 23:14:07 -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 d676d26f5f Qt: Use low logLevel for GBA object, overridden by GBAThread 2015-01-01 16:05:36 -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 7935d58eac Qt: Light sensor setting from GUI 2014-12-30 23:24:39 -08:00
Jeffrey Pfau b92ed79a85 GBA Audio: Add blip_buf support 2014-12-29 01:45: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 c91c46ce97 GBA Audio: Audio buffer sizes are now correct sizes for both sample rates 2014-12-21 21:30:59 -08:00
Jeffrey Pfau 9a0640f834 GBA: Add option to skip BIOS start screen 2014-12-21 20:21:27 -08:00
Jeffrey Pfau 7c8f1d9726 Qt: Rudimentary settings window 2014-12-21 16:29:56 -08:00
Jeffrey Pfau 9aed9754d0 Qt: Handle a game crash without crashing 2014-12-19 20:36:38 -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 a66fa48aa5 Qt: Fix build if USE_GDB_STUB is disabled 2014-12-12 14:33:52 -08:00
Jeffrey Pfau f6a7fedb28 All: Add MPL 2.0 license and associated headers 2014-12-03 00:39:06 -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 51896cdcd6 Qt: Use SDL audio, when available 2014-11-19 23:14:44 -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 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 d75042ea38 GBA Input: Refactor SDL and Qt input code 2014-11-06 00:17:58 -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 6788008418 Qt: Support loading fpsTarget and audioBuffers 2014-11-02 18:30:46 -08:00
Jeffrey Pfau b51e72fcab Hook up and finish up video recorder 2014-10-26 23:49:25 -07:00
Jeffrey Pfau b33e75daec Move thread unpausing from destructor to shutdown 2014-10-25 17:32:11 -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 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 6041bf422a Load patch from command line 2014-10-24 01:25:06 -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 8fc3ef27ad Don't initialize SDL video in Qt port 2014-10-18 23:16:13 -07:00
Jeffrey Pfau 54be75bb92 Load BIOS from command line 2014-10-18 17:15:39 -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 acd0e58235 Add dirmode to Qt frontend 2014-10-18 01:54:35 -07:00
Jeffrey Pfau 2b012ef0bc Remove unnecessary QFile object add zip loading 2014-10-18 00:51:47 -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 6afc00b472 Move state loading/storing into GameController 2014-10-15 23:22:30 -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 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 c60a5ea545 Fix path name use-after-free 2014-10-14 23:15:31 -07:00
Jeffrey Pfau 49d668f285 Fix crashing on exit 2014-10-13 22:22:43 -07:00
Jeffrey Pfau fa255dc808 Start of log view 2014-10-13 02:24:54 -07:00
Jeffrey Pfau 2b3631dc91 Merge branch 'master' into qt
Conflicts:
	CMakeLists.txt
2014-08-12 23:37:29 -07:00
Jeffrey Pfau d020bf4f0a Add FPS target options 2014-07-22 03:14:28 -07:00
Jeffrey Pfau 42041fa059 Fix frame advance 2014-07-22 02:11:41 -07:00
Jeffrey Pfau b0662fe766 Run audio pausing in the right thread 2014-07-22 01:13:27 -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 a57f911ecc Handle closing games a bit safer 2014-07-20 21:44:06 -07:00
Jeffrey Pfau 23679adc38 Fix build after GBAThread API changes 2014-07-20 16:38:27 -07:00
Jeffrey Pfau b691c93416 Add joypad support via SDL to Qt build 2014-02-03 22:28:28 -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 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 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 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 3d339b1327 Key input 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