Commit Graph

8389 Commits

Author SHA1 Message Date
Jeffrey Pfau 4bc8f2eb1a Move SDL output directory 2014-01-31 01:01:44 -08:00
Jeffrey Pfau c312a0f5fe Clean up stale warning rule 2014-01-31 01:01:04 -08:00
Jeffrey Pfau 08f15af4f5 Add source groups 2014-01-31 00:29:27 -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 43807b196d Move SDL/OpenGL dependencies into the SDL port 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 4dae440670 Move SDL/OpenGL dependencies into the SDL port 2014-01-30 23:58:48 -08:00
Jeffrey Pfau 95cf2909c1 Unblock on audio when closing thread 2014-01-30 04:05:53 -08:00
Jeffrey Pfau 8e3d104625 Qt audio thread should mark itself as exiting 2014-01-30 04:05:39 -08:00
Jeffrey Pfau e27c10ab78 Unblock on audio when closing thread 2014-01-30 04:03:54 -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 79d4011650 Initialize OAM 2014-01-29 23:02:12 -08:00
Jeffrey Pfau 13d3146d0b Add LOG_FATAL 2014-01-29 22:49:34 -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 5fde0d8c35 GBAAudioResampleNN returns how many (destination) samples were read 2014-01-29 22:49:09 -08:00
Jeffrey Pfau a79a592c1e Move audio resampling out of SDL code 2014-01-29 22:48:38 -08:00
Jeffrey Pfau 2e2ca19220 Add GBAThreadEnd function for manually shutting down the GBA thread 2014-01-29 22:48:38 -08:00
Jeffrey Pfau c8b04a2ca5 Ensure rewind buffer is null if we are not enabling rewinding 2014-01-29 22:48:38 -08:00
Jeffrey Pfau 48a3522fbc Move inline struct definitions out of place for C++ compatibility 2014-01-29 22:48:19 -08:00
Jeffrey Pfau a72c77a3df Update DMA timings, and higher priority DMAs always take precedence, regardless of timing 2014-01-28 21:56:14 -08:00
Jeffrey Pfau d5bd521313 Break out shared library 2014-01-28 01:40:32 -08:00
Jeffrey Pfau 8e5b806cdd Have board re-read CPSR when it is modified by MSR 2014-01-27 00:21:14 -08:00
Jeffrey Pfau ef66e4a8c7 Only unpause from state operations when we paused manually 2014-01-26 23:17:17 -08:00
Jeffrey Pfau c3a5fb497a Fix rewind buffer sizing itself wrong 2014-01-26 12:47:47 -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 9c2c93220b Implement most of audio serialization 2014-01-25 18:01:31 -08:00
Jeffrey Pfau 668c4f68b7 Fix OAM deserialization 2014-01-25 15:06:28 -08:00
Jeffrey Pfau 941c629f8b Serialize timers and DMA state 2014-01-25 15:02:55 -08:00
Jeffrey Pfau 408d39a297 Move mode 0 into macro-land so that much of the logic can be inlined 2014-01-25 14:47:21 -08:00
Jeffrey Pfau 0e379fed41 Fix audio buffer reading in SDL audio 2014-01-23 20:59:15 -08:00
Jeffrey Pfau 709269ee5c Fix initial DMA count 2014-01-23 20:59:15 -08:00
Jeffrey Pfau b4b7be1f84 Don't require SDL for perf builds 2014-01-23 20:58:33 -08:00
Jeffrey Pfau 968dbe55db Properly sync to frame only when not in turbo 2014-01-22 03:25:09 -08:00