Commit Graph

1405 Commits

Author SHA1 Message Date
Jeffrey Pfau aed170b670 Merge branch 'port/qt' 2014-10-27 22:03:02 -07:00
Jeffrey Pfau e9b26dda08 FFmpeg resampling 2014-10-27 21:59:10 -07:00
Jeffrey Pfau c3e29f2df2 Lower bitrate limits for video to be more sensible for 240x160 video 2014-10-27 00:54:28 -07:00
Jeffrey Pfau 5dcf3a5d43 Use libfaac for aac 2014-10-27 00:32:52 -07:00
Jeffrey Pfau 1a09f93b27 Allow videos to be recorded from when a ROM is loaded, and end when a ROM is shut down 2014-10-27 00:17:29 -07:00
Jeffrey Pfau b51e72fcab Hook up and finish up video recorder 2014-10-26 23:49:25 -07:00
Jeffrey Pfau 61569c0559 Merge branch 'master' into port/qt 2014-10-26 23:48:52 -07:00
Jeffrey Pfau 281f190ae6 Enhance usability and resiliency of ffmpeg encoder 2014-10-26 23:48:34 -07:00
Jeffrey Pfau 3dfc2bfcb3 Begin setting up video recording UI 2014-10-26 18:27:53 -07:00
Jeffrey Pfau 27c7041008 Make sure Qt knows where SDL2 libs are 2014-10-26 03:51:36 -07:00
Jeffrey Pfau f98d6486ef Merge branch 'master' into port/qt 2014-10-26 03:49:12 -07:00
Jeffrey Pfau 21ea47ea9e Fix SDL2 library exporting 2014-10-26 02:04:24 -07:00
Jeffrey Pfau 8d002913f0 Fix windows build on case-sensitive filesystems 2014-10-26 02:03:07 -07:00
Jeffrey Pfau a5b9faa88c Fix savestate size on Windows 2014-10-25 18:52:16 -07:00
Jeffrey Pfau 6c9a5a2420 Fix savestate size on Windows 2014-10-25 18:50:33 -07:00
Jeffrey Pfau f49ceb7e3b Remove out-of-date comment 2014-10-25 18:10:15 -07:00
Jeffrey Pfau b33e75daec Move thread unpausing from destructor to shutdown 2014-10-25 17:32:11 -07:00
Jeffrey Pfau fe3f01a5ae Fix potential overflow in huffman decoding 2014-10-25 06:05:00 -07:00
Jeffrey Pfau 10a907e387 Remove out-of-date comment 2014-10-25 05:57:49 -07:00
Jeffrey Pfau d40d4c1cf2 Use ICO file on Windows 2014-10-25 03:21:46 -07:00
Jeffrey Pfau b51ec046da Fix C++ flags 2014-10-25 03:06:57 -07:00
Jeffrey Pfau 2415d59d94 Windows C++ fixes 2014-10-25 03:06:45 -07:00
Jeffrey Pfau c8d5219212 Merge branch 'master' into port/qt 2014-10-25 01:53:15 -07:00
Jeffrey Pfau 732e29e3c6 Fix argument number errors 2014-10-25 01:48:55 -07:00
Jeffrey Pfau 86003496b0 Handle out-of-bounds SRAM and ROM reads 2014-10-25 01:48:55 -07:00
Jeffrey Pfau 5450bd8d59 Force files into binary mode on Windows 2014-10-25 01:45:42 -07:00
Jeffrey Pfau a265cf45a9 Fix build on Windows 2014-10-24 22:01:13 -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 26c1b3c6c9 Patch menu 2014-10-24 02:23:48 -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 422e2e2f62 Move screen widget to its own class, allowing for a size hint 2014-10-24 01:47:12 -07:00
Jeffrey Pfau 6041bf422a Load patch from command line 2014-10-24 01:25:06 -07:00
Jeffrey Pfau 344364695e Fix parsing of numbers starting with 0 (and disregarding octal) 2014-10-23 01:53:18 -07:00
Jeffrey Pfau 61915939b5 Log division by zero 2014-10-23 01:53:18 -07:00
Jeffrey Pfau 768316a8d3 Fix two small consistency issues 2014-10-23 01:53:18 -07:00
Jeffrey Pfau d3b78b2fd2 Log level for SWI 2014-10-23 01:53:17 -07:00
Jeffrey Pfau 043bb75a6b Use cleaner mechanism for checking the register list bits 2014-10-22 22:01:48 -07:00
Jeffrey Pfau 1619b760e1 Use better popcount than the GCC one... 2014-10-22 22:01:11 -07:00
Jeffrey Pfau eecf70ee58 Fix magic number for some games 2014-10-22 22:00:08 -07:00
Jeffrey Pfau 0050fb23c3 Use proper literal sizes for uint64_t 2014-10-22 00:47:32 -07:00
Jeffrey Pfau f484ef9fa8 Fix timing on palette RAM and VRAM 32-bit load/stores 2014-10-21 23:42:24 -07:00
Jeffrey Pfau a57312d0cc Refine and reuse STM/LDM code 2014-10-21 23:31:49 -07:00
Jeffrey Pfau 9abe700d37 Use GCC popcount intrinsic for popcount 2014-10-21 22:51:39 -07:00
Jeffrey Pfau 537480b940 Load/Store multiple functions 2014-10-21 22:35:02 -07:00
Jeffrey Pfau 4bb8b7b1fd Shutdown thread preemptively if the loaded file is not a ROM 2014-10-21 22:24:32 -07:00
Jeffrey Pfau 03b5e2d78e Change the GBA magic to work on even improperly compiled ROMs 2014-10-21 22:17:52 -07:00
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
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