Commit Graph

1405 Commits

Author SHA1 Message Date
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
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 aaf9c42782 C++ build fixes 2014-10-14 01:48:56 -07:00
Jeffrey Pfau 02ef49dea8 Expose GBAGetState 2014-10-14 01:05:53 -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 24c826e5b1 Don't log everything to the log handler when that log level is disabled 2014-10-12 19:43:19 -07:00
Jeffrey Pfau 4247db81e4 Split out macros from common.h 2014-10-11 18:18:47 -07:00
Jeffrey Pfau 4ecdcf25f5 Disable blending in backgrounds when unnecessary 2014-10-11 16:01:26 -07:00
Jeffrey Pfau bbcf161fec Fix warning about exceeding bounds of array 2014-10-11 15:49:45 -07:00
Jeffrey Pfau 2bca4c399b Fix assumption that savedata->vf is non-null within flash memory code 2014-10-11 15:46:59 -07:00
Jeffrey Pfau 435edc8017 Prefix completion 2014-10-10 03:27:10 -07:00
Jeffrey Pfau ab904f2cfd Don't tab complete null 2014-10-10 03:22:44 -07:00
Jeffrey Pfau ef6e1f9e74 Fix tab-completing past the end of the completions list 2014-10-10 02:56:13 -07:00
Jeffrey Pfau 0b736c9cc8 Add disassemble alias 2014-10-10 02:50:09 -07:00
Jeffrey Pfau be82f04618 Print address alongside disassembled instructions 2014-10-10 02:45:57 -07:00
Jeffrey Pfau 6aee0693ec Add support for 0b-style literals 2014-10-10 02:38:05 -07:00
Jeffrey Pfau fd1128f90a Fix 0 not being recognized as a valid token 2014-10-10 02:33:50 -07:00
Jeffrey Pfau e293134a78 Unify optional directory file opening 2014-10-09 23:55:02 -07:00
Jeffrey Pfau 747e30c5e1 Fix perf-main parsing when errno is not cleared 2014-10-09 03:43:51 -07:00
Jeffrey Pfau 8ae1a3a3a3 Use bitfield for BIOS Huffman nodes 2014-10-09 03:02:35 -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 bc2979679e Write audio FIFO in discrete chunks to avoid ordering issues 2014-10-07 01:54:02 -07:00
Jeffrey Pfau 54bda1757e Replace remaining bit-packed structs in audio with bitfields 2014-10-07 00:53:39 -07:00
Jeffrey Pfau d2adc2449a Replace sound channel bitpacked structs with bitfields 2014-10-07 00:36:07 -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 32bc6750c1 Migrate mosaic to bitfields 2014-10-06 00:49:06 -07:00
Jeffrey Pfau 7d12de0cb9 Move BLDCNT definition from video-softare to gba-video 2014-10-06 00:37:08 -07:00
Jeffrey Pfau 8bbac2f512 Add __attribute__((unused)) to generated bitfield functions 2014-10-06 00:18:53 -07:00
Jeffrey Pfau 0c18e415e8 Use bitfields for windows 2014-10-06 00:16:33 -07:00
Jeffrey Pfau 4f8c021f95 Enhance CMake lists to have unified feature detection, summaries 2014-10-05 23:08:11 -07:00
Jeffrey Pfau 8ef31b1c3d Use bitfields for BLDCNT 2014-10-05 22:36:25 -07:00
Jeffrey Pfau fd5b95024e Clean up transformed sprite rendering using accumulators 2014-10-05 22:08:07 -07:00
Jeffrey Pfau 18c5c950db Use LOAD_16 for sprites instead of accessing the array directly 2014-10-04 00:36:14 -07:00
Jeffrey Pfau f30a625b51 Reduce size of ARMInstructionInfo 2014-10-02 04:42:18 -07:00
Jeffrey Pfau c6954bcb4a Fix regressed sprite x wrapping 2014-10-02 00:54:39 -07:00
Jeffrey Pfau 58400c859f Merge preprocess transformed and normal sprite routines 2014-10-02 00:53:51 -07:00
Jeffrey Pfau 935182fdc4 Split out OBJ attributes and load memory with proper translation 2014-10-02 00:41:41 -07:00
Jeffrey Pfau b0726d0185 Replace bit packed structs in sprites with bitfields 2014-10-02 00:20:15 -07:00
Jeffrey Pfau 235141f1f3 Fix PSRs on some PPC compilers 2014-10-01 12:42:12 +00:00
Jeffrey Pfau d1f8e58b13 Attempt to stabilize PPC asm across compilers 2014-10-01 12:41:51 +00:00
Jeffrey Pfau 43e5aa698a Fix modes 3 and 5 after vram load refactor 2014-10-01 23:30:26 -07:00
Jeffrey Pfau fb10622946 Clean up background charBase shifting 2014-10-01 23:24:15 -07:00
Jeffrey Pfau f9ebe36fac Fix regression caused by converting DISPSTAT into a bitfield 2014-10-01 23:19:26 -07:00
Jeffrey Pfau 38e8cc1ee4 Preliminary pass at straightening out VRAM loads 2014-10-01 04:00:15 -07:00
Jeffrey Pfau 56a105e3da Fix addresses being truncated 2014-10-01 03:23:16 -07:00
Jeffrey Pfau 14b6393b51 Replace BGCNT with bitfield 2014-10-01 02:50:10 -07:00
Jeffrey Pfau 0a5a099059 Make PPC asm directives a bit more resilient to different compilers 2014-10-01 09:33:37 +00:00
Jeffrey Pfau 996cfe8a26 Fix crashes in sdl/sw-main 2014-10-01 01:59:03 -07:00
Jeffrey Pfau 5afd8ea1bb The old implementation of endian swapping was sufficient, put it back 2014-10-01 00:57:52 -07:00
Jeffrey Pfau f4d27e5e40 Use new bitfields for DMAs 2014-10-01 00:17:51 -07:00
Jeffrey Pfau 7e4dc6c15c Replace dispstat assorted variables with a bitfield 2014-09-30 23:29:30 -07:00
Jeffrey Pfau 015e6700d7 Remove unused union 2014-09-30 22:57:05 -07:00
Jeffrey Pfau 5874d416df Start replacing packed structs with flags 2014-09-30 22:50:27 -07:00
Jeffrey Pfau 3cd0b50bce Add phony strndup implementation for when we do not have one 2014-09-30 22:05:07 -07:00
Jeffrey Pfau b6b1060676 Fix PPC asm directives on older GCCs 2014-09-30 22:03:49 -07:00
Jeffrey Pfau 6672aebfe4 Proper endian swapping on older PPC ISAs 2014-09-30 10:08:43 +00:00
Jeffrey Pfau d8b0bba968 Make GBAIsROM more portable 2014-09-30 01:48:04 -07:00
Jeffrey Pfau c035d97286 Make libPNG/zlib optional dependencies 2014-09-30 01:43:43 -07:00
Jeffrey Pfau 834395d5d9 Add customizable parsers per command 2014-09-02 21:54:19 -07:00
Jeffrey Pfau 232ae47a6c CLI debugger help 2014-09-02 09:55:05 -07:00
Jeffrey Pfau 9cdc93eeed Add watchpoints to gdb stub 2014-09-01 02:24:00 -07:00
Jeffrey Pfau 21437e91f6 Implement watchpoint removing 2014-09-01 02:23:31 -07:00
Jeffrey Pfau 98cb4698f8 Fix GDB stub not responding to invalid Z packets 2014-09-01 02:06:07 -07:00
Jeffrey Pfau c1abe54ec9 Fix debuggers not logging 2014-09-01 02:05:37 -07:00
Jeffrey Pfau be13627d37 Send correct signal back to gdb when stepping 2014-09-01 01:57:11 -07:00
Jeffrey Pfau be46f2bac9 Fix frames redrawing in the middle of syncing 2014-09-01 00:52:16 -07:00
Jeffrey Pfau 4fb42d58b6 Clean up setting up vsync on SDL port 2014-09-01 00:51:45 -07:00
Jeffrey Pfau 2c5fd6acd5 HLE BIOS SVC handler stores r11 and r12 instead of r4 and r5 2014-08-31 04:20:40 -07:00
Jeffrey Pfau 8a6254cc73 Implement HFlip for 256 color partial tiles (fixes #39) 2014-08-31 04:19:13 -07:00
Jeffrey Pfau 610982fdcf Add makefile for regenerating hle-bios.c so I can stop doing it by hand 2014-08-30 04:25:20 -07:00
Jeffrey Pfau 9a87840e7e Add invalid commands to the CLI debugger history instead of discarding them 2014-08-30 04:02:19 -07:00
Jeffrey Pfau e6148ddb13 Add p/t to CLI debugger 2014-08-30 04:00:17 -07:00
Jeffrey Pfau 383c630891 Selectable disassemble modes in CLI debugger (fixes #113) 2014-08-30 03:48:14 -07:00
Jeffrey Pfau d41b8c5df6 Fix uninitialized memory for OAM count 2014-08-30 01:26:33 -07:00
Jeffrey Pfau cdd6d5a815 Initialize previous uninitialzed audio channel members 2014-08-29 02:39:01 -07:00
Jeffrey Pfau 270c09c26e Fix palette pointer in GBALoad8 2014-08-29 02:31:15 -07:00
Jeffrey Pfau a825c6e4a6 Use bitshift instead of bitmask for determining load/store region 2014-08-29 01:58:39 -07:00
Jeffrey Pfau 1e1b0fc89e Check active region instead of pc for BIOS loads 2014-08-29 01:46:46 -07:00
Jeffrey Pfau 6cff3d423e Remove unnecessarily duplicated code in ARMStep 2014-08-29 01:41:32 -07:00
Jeffrey Pfau 4d2ccd5df4 Add busy loop optimization back 2014-08-29 00:35:43 -07:00
Jeffrey Pfau 5002cf44f4 Fix savestate loading after prefetch changes 2014-08-29 00:34:12 -07:00
Jeffrey Pfau baa71027e3 Reimplement prefetch, temporarily removing busy loop optimization 2014-08-28 05:45:37 -07:00
Jeffrey Pfau ca3e1c428e Add missing newline in perf usage 2014-08-28 05:11:16 -07:00
Jeffrey Pfau 433f0ba360 Tighter looping for ARMRun 2014-08-28 05:00:38 -07:00
Jeffrey Pfau 61c410154f Use older const png_bytep instead of png_const_bytep 2014-08-15 01:54:13 -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 6291a62860 Fix stream recording resumption 2014-08-07 02:01:17 -07:00
Jeffrey Pfau 484a7f299a Add rerecord count 2014-08-07 01:13:50 -07:00
Jeffrey Pfau e732448aa4 Write full finalization data when stopping recording 2014-08-07 01:13:34 -07:00
Jeffrey Pfau a4cd807b70 Fix writing max strem ID in RR metadata 2014-08-07 01:13:03 -07:00
Jeffrey Pfau ba993980dc Big cleanup to how RR handles separate segments, and adding lots of logging (fixes #106) 2014-08-07 00:24:25 -07:00
Jeffrey Pfau f005326800 Add backslash as another frame advance key 2014-08-07 00:23:05 -07:00
Jeffrey Pfau 06da7fcb09 Fix rr writing to the wrong file 2014-08-06 21:57:35 -07:00
Jeffrey Pfau 0389237fc6 Loading savestates now changes the active branch 2014-08-05 23:52:08 -07:00
Jeffrey Pfau 5ee336d274 Fix masking savegames so it can write to a masked savegame 2014-08-04 23:46:33 -07:00
Jeffrey Pfau 82b31c46f1 RR starting from savegame (currently broken) and savestate 2014-08-04 23:37:37 -07:00
Jeffrey Pfau 86a2edbdf1 Save/load state with file parameter 2014-08-04 22:40:11 -07:00
Jeffrey Pfau d979e04606 Unmask savedata if reseting while a movie is not recording or replaying 2014-08-04 22:24:43 -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 fabdfc86f3 Add magic numbers to movie files 2014-08-03 20:15:34 -07:00
Jeffrey Pfau a09bb6d51a Detect basic desync in rr 2014-08-03 19:47:02 -07:00
Jeffrey Pfau 4534574f50 Fix game ID for Wario Ware Twisted override 2014-07-30 01:50:22 -07:00
Jeffrey Pfau 5ca6888840 Savestate loading during recording and replaying 2014-07-30 00:13:11 -07:00
Jeffrey Pfau 28218b2465 Fix .log -> .dat for the first chunk, and make sure it bails if the load fails 2014-07-30 00:03:19 -07:00
Jeffrey Pfau 9cc97410d3 Make sure not to reload an old rr stream chunk when reaching the end of a file 2014-07-29 23:39:55 -07:00
Jeffrey Pfau e3410fc457 Fix _readTag to not crash if the VFile has been closed 2014-07-29 23:15:08 -07:00
Jeffrey Pfau fade994137 Clean up logic with an EOF tag 2014-07-29 23:13:16 -07:00
Jeffrey Pfau 6845454969 Add more rr tags, some implemented 2014-07-29 22:50:46 -07:00
Jeffrey Pfau 35bf1f3990 Keep max stream ID separate from current stream ID 2014-07-29 22:50:19 -07:00
Jeffrey Pfau 0023613625 Clean up movie state when exiting 2014-07-29 22:49:24 -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 9873da0eb7 Ability to chunk movie streams into multiple files 2014-07-27 19:06:30 -07:00
Jeffrey Pfau b115cb564d Fix GBARR not starting in SDL port 2014-07-27 18:22:53 -07:00
Jeffrey Pfau 45b8ffb9cf New movie format 2014-07-27 18:22:39 -07:00
Jeffrey Pfau f39d7e3640 Move screenshot function to gba-thread.h 2014-07-27 18:21:58 -07:00
Jeffrey Pfau b4d90e7e84 Restore pixels from PNG when loading savestate 2014-07-26 14:06:28 -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 103bef17c9 Avoid compiler warnings 2014-07-25 03:45:54 -07:00
Jeffrey Pfau 5189d9afd4 Add mechanism for adding halts to busy loops 2014-07-24 04:21:33 -07:00
Jeffrey Pfau a701a6d9dd Benchmark option to disable video rendering fully 2014-07-24 03:23:41 -07:00
Jeffrey Pfau 8e49360ffd Add missing dummy video functions 2014-07-24 03:20:12 -07:00
Jeffrey Pfau e2c3c4068d Pull out vram pointer 2014-07-24 02:52:02 -07:00
Jeffrey Pfau 553f345bbd Remember to initialize rr 2014-07-24 02:38:36 -07:00
Jeffrey Pfau 436c53b0a6 Remove redefinition of COMPOSITE_16_NO_OBJWIN 2014-07-24 02:37:04 -07:00
Jeffrey Pfau 900d1684a9 Fix window edge case that might cause 0-width windows to draw 2014-07-24 02:34:42 -07:00
Jeffrey Pfau a855f53355 Fix mosiac on edges of mode 0 regions 2014-07-24 02:02:44 -07:00
Jeffrey Pfau cbb522a702 Fix *mull, *mlal instructions in disassembler 2014-07-23 23:12:54 -07:00
Jeffrey Pfau 5477c891c5 Fix cmp and related opcodes in disassembler 2014-07-23 23:12:28 -07:00
Jeffrey Pfau 5eb729faf6 Remove unused HLE BIOS length constant 2014-07-23 23:05:17 -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 ec4eb253e5 Unify swi state saving, keep I bit 2014-07-23 03:06:09 -07:00
Jeffrey Pfau f1a58c7254 Fix ObjAffineSet over multiple inputs 2014-07-23 00:54:11 -07:00
Jeffrey Pfau c7f7d0f752 Don't make empty savestate files when loading savestates 2014-07-23 00:19:50 -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 f55d085162 Change log handler API 2014-07-22 22:34:08 -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 2ce9806de5 Fix ability to make audio buffers as big as they initially were 2014-07-22 02:33:45 -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 e527220398 Ability to resize internal sound buffers 2014-07-21 00:14:48 -07:00
Jeffrey Pfau 10fc916425 Revise circle buffer types 2014-07-20 23:56:12 -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 4da65d0f2f Merge branch 'master' into qt 2014-07-20 16:38:00 -07:00
Jeffrey Pfau d48dad27d1 Fix build against C++ 2014-07-20 16:37:54 -07:00
Jeffrey Pfau f62ccde49d Merge branch 'master' into qt 2014-07-20 16:28:12 -07:00
Jeffrey Pfau e77238e5ef Fix typos in savestate format documentation 2014-07-20 15:53:37 -07:00
Jeffrey Pfau 3915158c96 Update GPIO for serialization 2014-07-20 15:53:15 -07:00
Jeffrey Pfau 381fc94d73 Move file CRC32 code into crc32.h 2014-07-20 15:11:22 -07:00
Jeffrey Pfau 7a0f86ae99 Serialize ROM CRC32 for error checking 2014-07-20 15:10:59 -07:00
Jeffrey Pfau b4d6d11d19 Add ability to resume recording as soon as a movie ends 2014-07-20 03:14:55 -07:00