Commit graph

  • 9b150bbaa3 Move Qt output directory Jeffrey Pfau 2014-01-31 01:04:13 -08:00
  • 07826098bc Merge branch 'master' into qt Jeffrey Pfau 2014-01-31 01:03:02 -08:00
  • 4bc8f2eb1a Move SDL output directory Jeffrey Pfau 2014-01-31 01:01:44 -08:00
  • c312a0f5fe Clean up stale warning rule Jeffrey Pfau 2014-01-31 01:01:04 -08:00
  • 08f15af4f5 Add source groups Jeffrey Pfau 2014-01-31 00:29:27 -08:00
  • bce620e717 Split SDL build into its own CMake list Jeffrey Pfau 2014-01-31 00:11:19 -08:00
  • 80511fcb9f Fix perf main after adding BIOS loading Jeffrey Pfau 2014-01-31 00:10:56 -08:00
  • 43807b196d Move SDL/OpenGL dependencies into the SDL port Jeffrey Pfau 2014-01-30 23:58:48 -08:00
  • 9022deed9e Split SDL build into its own CMake list Jeffrey Pfau 2014-01-31 00:11:19 -08:00
  • 22ef0977dc Fix perf main after adding BIOS loading Jeffrey Pfau 2014-01-31 00:10:56 -08:00
  • 2ee3d17d33 Put OpenGL include explicitly in Qt CMake file Jeffrey Pfau 2014-01-31 00:06:37 -08:00
  • 4dae440670 Move SDL/OpenGL dependencies into the SDL port Jeffrey Pfau 2014-01-30 23:58:48 -08:00
  • 95cf2909c1 Unblock on audio when closing thread Jeffrey Pfau 2014-01-30 04:03:54 -08:00
  • 8e3d104625 Qt audio thread should mark itself as exiting Jeffrey Pfau 2014-01-30 04:05:39 -08:00
  • e27c10ab78 Unblock on audio when closing thread Jeffrey Pfau 2014-01-30 04:03:54 -08:00
  • 6834401e67 Close process cleanly Jeffrey Pfau 2014-01-30 04:00:52 -08:00
  • 6407ad3adc Video drawing in separate thread Jeffrey Pfau 2014-01-30 03:49:59 -08:00
  • 2f98f542e5 Add frame advance Jeffrey Pfau 2014-01-29 23:58:57 -08:00
  • 1eeeb36015 Add emulation menu with Pause option Jeffrey Pfau 2014-01-29 23:39:24 -08:00
  • 5abd1572dc Use an initializer for GBAThread in Qt Jeffrey Pfau 2014-01-29 23:39:09 -08:00
  • a076e88bb5 Ditch uic Jeffrey Pfau 2014-01-29 22:23:34 -08:00
  • 3d339b1327 Key input Jeffrey Pfau 2014-01-29 22:21:25 -08:00
  • 98c9121ac2 Move audio initialization into thread Jeffrey Pfau 2014-01-29 02:34:58 -08:00
  • 0ca3afa3e6 Run audio on separate thread Jeffrey Pfau 2014-01-29 01:39:40 -08:00
  • baeaf8729f Audio rendering in Qt Jeffrey Pfau 2014-01-29 00:45:25 -08:00
  • 8a82144ceb Ensure the GBA thread exits when destroying the game controller Jeffrey Pfau 2014-01-28 23:15:47 -08:00
  • 4659635fb5 Start Qt frontend Jeffrey Pfau 2014-01-28 06:53:38 -08:00
  • f0481d9413 Enable piping through BIOS Jeffrey Pfau 2014-01-29 23:13:44 -08:00
  • 79d4011650 Initialize OAM Jeffrey Pfau 2014-01-29 23:02:12 -08:00
  • 13d3146d0b Add LOG_FATAL Jeffrey Pfau 2014-01-29 22:44:40 -08:00
  • 70afe23fe4 Add log handling Jeffrey Pfau 2014-01-29 22:40:13 -08:00
  • 9d351d4a58 SDL audio should use now centralized audio functions Jeffrey Pfau 2014-01-29 00:45:00 -08:00
  • 5fde0d8c35 GBAAudioResampleNN returns how many (destination) samples were read Jeffrey Pfau 2014-01-29 00:43:57 -08:00
  • a79a592c1e Move audio resampling out of SDL code Jeffrey Pfau 2014-01-28 23:52:28 -08:00
  • 2e2ca19220 Add GBAThreadEnd function for manually shutting down the GBA thread Jeffrey Pfau 2014-01-28 23:15:30 -08:00
  • c8b04a2ca5 Ensure rewind buffer is null if we are not enabling rewinding Jeffrey Pfau 2014-01-28 06:52:46 -08:00
  • 48a3522fbc Move inline struct definitions out of place for C++ compatibility Jeffrey Pfau 2014-01-28 06:52:01 -08:00
  • a72c77a3df Update DMA timings, and higher priority DMAs always take precedence, regardless of timing Jeffrey Pfau 2014-01-28 21:56:14 -08:00
  • d5bd521313 Break out shared library Jeffrey Pfau 2014-01-28 01:40:32 -08:00
  • 8e5b806cdd Have board re-read CPSR when it is modified by MSR Jeffrey Pfau 2014-01-27 00:21:14 -08:00
  • ef66e4a8c7 Only unpause from state operations when we paused manually Jeffrey Pfau 2014-01-26 23:17:17 -08:00
  • c3a5fb497a Fix rewind buffer sizing itself wrong Jeffrey Pfau 2014-01-26 12:47:47 -08:00
  • 705b6e9b13 Simple rewind buffer Jeffrey Pfau 2014-01-26 02:50:28 -08:00
  • b1a648e46e Don't sync on audio and video at the same time--this can cause audio skipping Jeffrey Pfau 2014-01-25 18:08:33 -08:00
  • 9c2c93220b Implement most of audio serialization Jeffrey Pfau 2014-01-25 18:01:31 -08:00
  • 668c4f68b7 Fix OAM deserialization Jeffrey Pfau 2014-01-25 15:06:28 -08:00
  • 941c629f8b Serialize timers and DMA state Jeffrey Pfau 2014-01-25 15:02:55 -08:00
  • 408d39a297 Move mode 0 into macro-land so that much of the logic can be inlined Jeffrey Pfau 2014-01-25 14:47:21 -08:00
  • 0e379fed41 Fix audio buffer reading in SDL audio Jeffrey Pfau 2014-01-23 20:55:32 -08:00
  • 709269ee5c Fix initial DMA count Jeffrey Pfau 2014-01-23 20:55:11 -08:00
  • b4b7be1f84 Don't require SDL for perf builds Jeffrey Pfau 2014-01-23 20:57:04 -08:00
  • 968dbe55db Properly sync to frame only when not in turbo Jeffrey Pfau 2014-01-22 03:25:09 -08:00
  • 1e0f400091 Precompute some parameters in mode 0 Jeffrey Pfau 2013-10-27 22:18:24 -07:00
  • 7132c873e3 Make viewport size not-hardcoded Jeffrey Pfau 2013-10-31 22:01:20 -07:00
  • a8921116dc Preprocess OBJ heights Jeffrey Pfau 2014-01-21 23:41:13 -08:00
  • 04c3b61d1c Basic OAM dirtying Jeffrey Pfau 2014-01-21 22:34:42 -08:00
  • 2553b96e9b Skip table lookup in ARMStep if not needed Jeffrey Pfau 2014-01-21 23:15:51 -08:00
  • f08e466fce Partially unroll video clearing loop Jeffrey Pfau 2014-01-21 22:37:08 -08:00
  • 52808da265 Inline CPU stepping Jeffrey Pfau 2014-01-21 21:42:21 -08:00
  • f8de62ba71 Null out frameCallback on perf-main Jeffrey Pfau 2014-01-21 21:16:04 -08:00
  • e432c66249 Fix some uninitialized values Jeffrey Pfau 2014-01-20 14:32:13 -08:00
  • 86bc662d9f Support proper DMA timings and priority Jeffrey Pfau 2014-01-21 21:07:15 -08:00
  • 3c100a5e31 Prevent bank switching when reloading CPU state Jeffrey Pfau 2014-01-20 23:42:07 -08:00
  • 98c8b42b0f Slow down audio slightly to match target FPS Jeffrey Pfau 2014-01-20 20:02:44 -08:00
  • dccde662c6 Minor cleanup Jeffrey Pfau 2014-01-20 18:01:49 -08:00
  • 728f6481d6 Abort in invalid memory instead of SEGVing Jeffrey Pfau 2014-01-20 17:46:17 -08:00
  • aa99196700 Smarter I/O serialization Jeffrey Pfau 2014-01-20 17:42:30 -08:00
  • 872c3ceba3 Savestate game checks Jeffrey Pfau 2014-01-20 17:18:12 -08:00
  • 26c1fbd48f Add frame advance Jeffrey Pfau 2014-01-20 16:39:46 -08:00
  • e7d4f3ae8a Fix MSR with immediate Jeffrey Pfau 2014-01-20 15:40:56 -08:00
  • 12f4ff6cbb Fix ARM_ROR Jeffrey Pfau 2014-01-20 15:40:44 -08:00
  • 2db6d27496 Implement SWP, SWPB Jeffrey Pfau 2014-01-20 15:19:52 -08:00
  • fede211874 Remove checks for ARM writeback operations that fail on real hardware Jeffrey Pfau 2014-01-20 15:10:41 -08:00
  • 35a5e83465 Unified DISPSTAT representation Jeffrey Pfau 2014-01-20 14:18:24 -08:00
  • 5a1a04a353 Add basic IO and video serialization Jeffrey Pfau 2014-01-20 03:05:54 -08:00
  • 9f28b1ec73 Add missing version magic Jeffrey Pfau 2014-01-20 03:05:31 -08:00
  • a5d8be30d8 Don't block any signals on the run thread Jeffrey Pfau 2014-01-20 02:33:40 -08:00
  • 1f8c1bcdfa Fix signal handling for debugger Jeffrey Pfau 2014-01-19 23:42:34 -08:00
  • 4e98546cd6 Add missing header guard Jeffrey Pfau 2014-01-19 03:38:18 -08:00
  • daf12994db Start savestates Jeffrey Pfau 2014-01-19 01:59:35 -08:00
  • f2b031467f Fix non-debugger build Jeffrey Pfau 2014-01-19 01:24:29 -08:00
  • 7b682dd7c5 Break into debugger with F11 Jeffrey Pfau 2014-01-19 00:37:53 -08:00
  • fbf8edf19b Create savestate format Jeffrey Pfau 2014-01-19 00:32:49 -08:00
  • a969d70de3 Handle illegal and stub opcodes separately Jeffrey Pfau 2014-01-18 00:39:51 -08:00
  • ce4d0b5203 Checksum BIOS Jeffrey Pfau 2014-01-18 00:17:58 -08:00
  • 94cc48faf1 Account for floating point error in resampling Jeffrey Pfau 2014-01-16 02:12:35 -08:00
  • 4e88cc86d9 Have circle buffer work when memory is misaligned Jeffrey Pfau 2014-01-16 01:56:17 -08:00
  • 39025dedff Ensure that video buffers are flushed to the GPU before unlocking the mutex Jeffrey Pfau 2014-01-16 01:05:32 -08:00
  • e141db9493 Build fix on OS X for perf util Jeffrey Pfau 2014-01-16 00:32:51 -08:00
  • 48e89fb5eb Fix buffer size in SDL audio Jeffrey Pfau 2014-01-16 00:27:15 -08:00
  • 5758964617 Unlock mutex before swapping buffers Jeffrey Pfau 2014-01-16 00:26:59 -08:00
  • 3837213f94 Support Win32 threads on Vista and higher Jeffrey Pfau 2014-01-15 23:46:47 -08:00
  • 85d30ac271 Build fix for MinGW Jeffrey Pfau 2014-01-15 21:49:08 -08:00
  • 2b558a5a65 Rearchitect audio copying to make it cleaner and more atomic Jeffrey Pfau 2014-01-15 03:43:56 -08:00
  • b8167f55b1 Create Windows and POSIX platform directories Jeffrey Pfau 2014-01-15 01:28:30 -08:00
  • 270c1a35d7 Fix mappedMemoryFree on *nix Jeffrey Pfau 2014-01-15 00:34:45 -08:00
  • dd1f1bc79e Initial support for Windows Jeffrey Pfau 2014-01-15 00:24:06 -08:00
  • 003db6019c Fix _mix for 16-bit color Jeffrey Pfau 2013-11-16 08:53:47 -08:00
  • d53b1c784f Mirror SRAM across 0x0F000000 Jeffrey Pfau 2013-11-23 16:22:26 -08:00
  • bc03872ab5 Add FireRed/LeafGreen to the override list Jeffrey Pfau 2013-11-18 00:34:54 -08:00