Commit Graph

1206 Commits

Author SHA1 Message Date
Jeffrey Pfau 8903d31458 Pepper logging throughout the savegame loading mechanism 2014-10-21 22:12:57 -07:00
Jeffrey Pfau c52edab71a Add override for NES classic series games 2014-10-21 22:10:20 -07:00
Jeffrey Pfau b11528c69d Prevent deinitializing savegame data when the data is not masked 2014-10-21 22:08:20 -07:00
Jeffrey Pfau 501b6b621c Classic NES games jump to VRAM 2014-10-21 22:07:18 -07:00
Jeffrey Pfau f7b1cee66e Use branchType instead of branches in decoder for more expressive branch decoding 2014-10-21 00:45:06 -07:00
Jeffrey Pfau e7bd5f9ade Remove loop in DMA to find a value we already know 2014-10-19 23:30:10 -07:00
Jeffrey Pfau d44bf73a81 Check if VFileOpen is actually passed a path before trying to open it 2014-10-19 21:13:32 -07:00
Jeffrey Pfau ba5c77523d Remove stale file 2014-10-19 18:56:55 -07:00
Jeffrey Pfau 10509fe69d Fix objwin on objs when objs are off in winout 2014-10-19 06:24:09 -07:00
Jeffrey Pfau f1afeae74c Properly reset after loading BIOS 2014-10-19 05:41:35 -07:00
Jeffrey Pfau 29337a60b5 Mark DMA registers as special to keep loading them from messing up state 2014-10-19 05:19:19 -07:00
Jeffrey Pfau 6b382caa0f Fix decoding of {STR/LDR}[B]T 2014-10-19 03:45:11 -07:00
Jeffrey Pfau ca5f7a45ee Move string utilities out to separate file (really fixing Linux build this time) 2014-10-19 03:01:26 -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 e7bf4388a4 Merge branch 'master' into qt 2014-10-19 00:30:27 -07:00
Jeffrey Pfau 0a946a0b43 Don't wait on for a frame if we already have any pending 2014-10-19 00:30:07 -07:00
Jeffrey Pfau 65be8610f3 Unblock audio processing when reducing buffer size 2014-10-19 00:13:34 -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 b24b02d46c Screenshot numbering 2014-10-18 16:25:48 -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 e3bfe86579 Disable drawing while the thread is shutting down 2014-10-18 04:10:34 -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 f1de3d603a Merge branch 'master' into qt 2014-10-18 02:24:05 -07:00
Jeffrey Pfau 4d9c375f0e If video sync is suspended, do not wait 2014-10-18 02:23:54 -07:00
Jeffrey Pfau c0d1ca089c Expose GBASync{Suspend/Resume}Drawing 2014-10-18 02:08:20 -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 1fcca799eb Add GBAGetGameTitle 2014-10-18 01:06:17 -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 830e6dbda6 Write back to GBAThread.audioBuffers if not previously initialized 2014-10-17 23:41:03 -07:00
Jeffrey Pfau 0867325b96 Fix GBASyncProduceAudio signature 2014-10-17 23:40:39 -07:00
Jeffrey Pfau 1dbecb2c64 Initialize FIFO samples 2014-10-17 23:40:26 -07:00
Jeffrey Pfau add64ce269 Initialize audio drift 2014-10-17 23:39:38 -07:00
Jeffrey Pfau 3bf43133cb Replace soundbias with a bitfield 2014-10-17 03:26:47 -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 0579ececb3 Merge branch 'master' into qt 2014-10-15 04:57:20 -07:00
Jeffrey Pfau 69d041d373 VFile write should use const void* 2014-10-15 04:55:46 -07:00
Jeffrey Pfau 18e67378fe C++ build fixes 2014-10-15 04:55:46 -07:00
Jeffrey Pfau 65ce79c611 Expose GBAGetState 2014-10-15 04:55:46 -07:00
Jeffrey Pfau 0d1b323e22 Fix edge case with video-frame sync where it may never wake up the display thread 2014-10-15 04:51:19 -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 7353092b84 Merge branch 'master' into qt 2014-10-15 02:49:22 -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 70f94db208 Fix some uninitialized reads 2014-10-15 02:13:46 -07:00
Jeffrey Pfau 4cf5b533fb Fix overlooked crc32 call 2014-10-15 02:13:34 -07:00
Jeffrey Pfau fdbb0ac753 Fix build in g++ 2014-10-15 01:47:01 -07:00
Jeffrey Pfau 38187bac7a Rename crc32 to doCrc32 to avoid symbol naming conflicts 2014-10-15 01:41:50 -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 54f5f133b7 VFile write should use const void* 2014-10-14 03:08:39 -07:00