Commit Graph

2458 Commits

Author SHA1 Message Date
Jeffrey Pfau 61ddffbcae PSP2: Use vita2d for drawing 2015-07-04 21:44:38 -07:00
Jeffrey Pfau 2e43210eac PSP2: Initial support 2015-07-04 20:56:27 -07:00
Jeffrey Pfau 3f2426ef4c Qt: Initialize some members in Display 2015-07-04 01:40:13 -07:00
Jeffrey Pfau 016b64bf15 Qt: Initial logging throughout 2015-07-04 01:24:37 -07:00
Jeffrey Pfau ebca878c31 Qt: Replace remaining toLocal8Bit with toUtf8 2015-07-04 01:06:13 -07:00
Jeffrey Pfau e0a6af087e Qt: Adjust memory selection by shift-clicking 2015-07-04 00:38:08 -07:00
Jeffrey Pfau abdf448f81 Qt: Fix memory editing overlay not displaying hex A-F properly 2015-07-04 00:32:28 -07:00
Jeffrey Pfau 3c9433b74c Qt: Central log controller 2015-07-04 00:16:26 -07:00
Jeffrey Pfau 4e6ed63848 GBA Memory: Revert lazy prefetch
This reverts commits d4ecdfc2ac and aed62605cf.
2015-07-03 00:22:28 -07:00
Jeffrey Pfau e8b5127dac Qt: Configurable display driver (requires restart) 2015-07-03 00:05:55 -07:00
Jeffrey Pfau 41c19a8f09 Qt: Fix setting the display driver 2015-07-02 23:21:25 -07:00
Jeffrey Pfau 5b3fd879b4 Qt: Pre-render messages for improved speed 2015-07-02 23:19:29 -07:00
Jeffrey Pfau 7395d47a5a Qt: Move message painting into Display 2015-07-02 22:17:06 -07:00
Lioncash 2141868cf2 Qt: (GameController) Add a missing va_end call to the log handler lambda 2015-07-02 10:21:22 -04:00
Jeffrey Pfau 06f02ef873 GBA Config: Check current directory for portable.ini 2015-07-01 21:55:21 -07:00
Jeffrey Pfau 27898fb1f3 Qt: Prevent messages from queuing up too quickly (fixes #43) 2015-07-01 21:08:29 -07:00
Jeffrey Pfau 5afa24c656 GBA: Properly handle failed loading of PNG savestates 2015-07-01 19:56:10 -07:00
Jeffrey Pfau b3ea09e150 GBA: Savestates with negative audio registers are only relevant if not dead 2015-07-01 19:43:34 -07:00
Jeffrey Pfau d4ecdfc2ac GBA Memory: Fix prefetch invalidation delay 2015-07-01 19:24:15 -07:00
endrift ac7a9a8174 Merge pull request #40 from waddlesplash/patch-1
All: initial work on MSVC support.
2015-07-01 00:19:57 -07:00
Jeffrey Pfau aed62605cf GBA Memory: Lazily evaluate prefetch 2015-06-30 21:39:40 -07:00
Augustin Cavalier fc74db8c09 All: Initial work on MSVC support. 2015-06-30 22:09:17 -04:00
Jeffrey Pfau bddebef90b Qt: Fix window being too tall after exiting fullscreen (fixes #45) 2015-06-29 22:47:07 -07:00
Jeffrey Pfau df79ee19c3 Qt: Fix fullscreen shortcut on Windows 2015-06-29 22:29:16 -07:00
Jeffrey Pfau 5bae2087fe All: Proper handling of Unicode file paths 2015-06-29 22:24:53 -07:00
Jeffrey Pfau 99878b32ca GBA Hardware: Backport generic RTC source into core 2015-06-29 21:09:36 -07:00
Jeffrey Pfau 908e61f415 All: Add clang-format options and run them 2015-06-29 20:45:08 -07:00
Jeffrey Pfau 3ba13e9286 SDL: Fix finding pixman 2015-06-29 19:33:08 -07:00
endrift 1c367c390e Merge pull request #52 from lioncash/typo
ARM: ARMHotplugDetach should call deinit
2015-06-29 19:20:15 -07:00
Jeffrey Pfau 5f8548b8dc GBA Audio: Fix 8-bit writes to audio channel 3 frequency 2015-06-29 01:30:59 -07:00
Jeffrey Pfau 8a0c5b9a1f GBA Audio: Fix sample order in audio channel 3 2015-06-29 01:08:14 -07:00
Jeffrey Pfau 841a0909b9 GBA Audio: Implement audio reset for channels A/B 2015-06-29 01:07:28 -07:00
Lioncash 3736462c14 arm: ARMHotplugDetach should call deinit. 2015-06-29 03:17:04 -04:00
Jeffrey Pfau 735d7642e0 GBA Hardware: Fix embarrassing build breakage 2015-06-28 23:58:21 -07:00
Jeffrey Pfau 527fbf0fc5 GBA Hardware: Add a function for detecting a GB Player-compatible game 2015-06-28 23:50:17 -07:00
Jeffrey Pfau 0772fc4967 GBA Memory: Optimize stall code 2015-06-28 22:39:52 -07:00
Jeffrey Pfau 9bee2f4cd3 VFS: Make VFileFILE.unmap only write back if the file was mapped as writable 2015-06-28 17:52:27 -07:00
Jeffrey Pfau 697b550b37 Qt: Fix screen not redrawing when loading a state 2015-06-28 17:46:07 -07:00
Jeffrey Pfau 0aef1bc6df Util: Allow loading IPS patches that grow the ROM 2015-06-28 02:00:33 -07:00
Jeffrey Pfau 68790c1b2a GBA: Fix patching being incompatible with GBAUnloadROM 2015-06-28 01:32:34 -07:00
Jeffrey Pfau 2346c2355a GBA Memory: Minor prefetch fixes 2015-06-27 14:05:37 -07:00
Jeffrey Pfau 262cbf046c GBA Memory: More sensible approach to prefetch. It reports fewer successes but on average is more accurate. 2015-06-27 00:14:26 -07:00
Jeffrey Pfau bd2c472cb3 SDL: Clean up GL context 2015-06-26 02:15:05 -07:00
Jeffrey Pfau 8e8ca17ba3 GBA Memory: Initialize prefetch member 2015-06-26 02:02:29 -07:00
Jeffrey Pfau 346e436b52 GBA Video: Clean up video enum values 2015-06-25 22:59:16 -07:00
Jeffrey Pfau a85ae6563c GBA: Fix timing of reading from timer registers 2015-06-22 22:32:46 -07:00
Jeffrey Pfau 9cc4c9e43d GBA Memory: Fix mystery value 2015-06-22 21:20:37 -07:00
Jeffrey Pfau 93b85215a9 GBA: Don't include GBACLIDebugger struct unless needed 2015-06-22 19:31:19 -07:00
Jeffrey Pfau 42a887369f VFS: Fix sign warning 2015-06-22 01:38:40 -07:00
Jeffrey Pfau 86a36853ed GBA: Make sure unloading only frees if needed and always zeroes variable 2015-06-22 01:32:49 -07:00
Jeffrey Pfau 051af279c9 GBA Memory: Implement game pak prefetch approximation 2015-06-22 00:27:21 -07:00
Jeffrey Pfau bdb7635156 ARM7: Reduce the size of the Thumb instruction table 2015-06-21 16:19:23 -07:00
Jeffrey Pfau 4388e36ddc GBA: Fix freeing the right things when unloading a ROM 2015-06-20 16:18:06 -07:00
Jeffrey Pfau 2f2e539871 Wii: Use generic VFileOpen 2015-06-20 03:30:42 -07:00
Jeffrey Pfau 52c66de694 Merge branch 'master' into port/wii 2015-06-20 03:25:01 -07:00
Jeffrey Pfau ef93f68658 VFS: Move VDirOptionalOpenFile back to vfs.c 2015-06-20 03:17:05 -07:00
Jeffrey Pfau 43f9f2dfd3 VFS: VFileOpen can now have a swappable backend 2015-06-20 03:11:11 -07:00
Jeffrey Pfau 2bb16fd0a8 GBA: Better savestate error reporting 2015-06-20 00:49:50 -07:00
Jeffrey Pfau 83dfbe6123 Qt: ROM replacing 2015-06-19 22:29:59 -07:00
Jeffrey Pfau 635fae7d05 GBA: Rom unloading and replacing 2015-06-19 22:28:49 -07:00
Jeffrey Pfau 289e9b0cf1 GBA: Implement more game removal pieces 2015-06-19 22:28:02 -07:00
Jeffrey Pfau 8538e99a08 GBA: Flash erase timing changes 2015-06-19 04:25:29 -07:00
Jeffrey Pfau 833d81ee75 GBA Memory: Prefetch timing changes 2015-06-19 04:25:01 -07:00
Jeffrey Pfau 2a6d79fee2 GBA Memory: Fix load/store multiple video memory waitstates 2015-06-19 02:44:50 -07:00
Jeffrey Pfau af4d5d7eb1 GBA: Yank support, needs work 2015-06-19 01:12:46 -07:00
Jeffrey Pfau d524148469 ARM7: Add emulation for Undefined CPU mode 2015-06-19 00:59:52 -07:00
Jeffrey Pfau 270ce0cba3 GBA Video: Refactor software renderer into separate files 2015-06-19 00:33:26 -07:00
Jeffrey Pfau 5e26f74f17 Qt: Fix Windows not being deleted 2015-06-18 19:57:01 -07:00
Jeffrey Pfau 9739f177c7 Wii: Remove bad ssize_t definition 2015-06-18 02:47:41 -07:00
Jeffrey Pfau 80dc3a8fb7 Wii: Bring Wii port in line with other ports 2015-06-18 02:42:23 -07:00
Jeffrey Pfau e94744d8c7 Merge branch 'master' into port/wii 2015-06-18 02:06:19 -07:00
Jeffrey Pfau 3c18fe162c Merge branch 'master' into port/3ds 2015-06-18 01:37:29 -07:00
Jeffrey Pfau 6f4871fb72 VFS: Fix line-reading to return proper values 2015-06-18 01:26:46 -07:00
Jeffrey Pfau 6589eade24 Util: Clean up some defines 2015-06-18 01:19:33 -07:00
Jeffrey Pfau a992fcd3d1 VFS: Move VDirOptionalOpenFile to vfs-dirent.c 2015-06-18 01:16:54 -07:00
Jeffrey Pfau c0fcec22b7 Util: Separate out platform threading headers 2015-06-18 01:00:35 -07:00
Jeffrey Pfau 8f77c9ffab GBA Video: Fix regression with sprite visibility 2015-06-18 00:19:21 -07:00
Jeffrey Pfau e84a01f219 Qt: Make the default fullscreen binding for Windows be Alt-Enter 2015-06-17 22:08:23 -07:00
Jeffrey Pfau b54f5a997a All: Include util/string.h wherever strdup is used 2015-06-17 21:50:10 -07:00
Jeffrey Pfau 4bd3555045 GBA Video: Fix windows not affecting sprites 2015-06-16 22:02:19 -07:00
Jeffrey Pfau 3bb8075fe7 Wii: Setup fixes, pad fixes 2015-06-16 22:01:44 -07:00
Jeffrey Pfau 3cddb33288 GBA: Fix calls to endian-independent loadstores 2015-06-16 05:16:16 -07:00
Jeffrey Pfau 2391a10900 GBA: Fix calls to endian-independent loadstores 2015-06-16 05:15:32 -07:00
Jeffrey Pfau 4f04c30f70 Wii: Initial port 2015-06-15 23:02:58 -07:00
Jeffrey Pfau dc33a4f173 GBA: Fix video callback not being called 2015-06-15 23:02:02 -07:00
Jeffrey Pfau 5c1988c48a Util: VFile using FILE* backing 2015-06-15 22:35:24 -07:00
Jeffrey Pfau bbc63a2392 Util: Add strdup implementation for platforms without it 2015-06-14 23:25:49 -07:00
Jeffrey Pfau 021ada03f0 Qt: Memory view minor optimizations 2015-06-13 23:38:14 -07:00
Jeffrey Pfau 437a634ed5 Qt: Memory view saving and copying 2015-06-13 23:38:00 -07:00
Jeffrey Pfau 6d40031d99 Qt: Memory view autoupdate 2015-06-13 22:55:29 -07:00
Jeffrey Pfau 4cb3dad3c3 Qt: Memory view selection boundary fixes 2015-06-13 22:13:21 -07:00
Jeffrey Pfau edb91143d0 Qt: Memory view scrolling with cursor 2015-06-13 22:05:49 -07:00
Jeffrey Pfau 750027a03c Qt: Memory viewer bounds and alignment fixes 2015-06-13 21:44:13 -07:00
Jeffrey Pfau de6808f3c8 Qt: MemoryModel keyboard navigation 2015-06-13 20:58:44 -07:00
Jeffrey Pfau e9d8f1ca46 Qt: Don't save window size when entering fullscreen 2015-06-13 12:39:09 -07:00
Jeffrey Pfau f1396aa844 Qt: Rename "Fullscreen" to "Toggle fullscreen" 2015-06-13 12:39:09 -07:00
Jeffrey Pfau 857fc21d21 Util: Fix warning on Windows 2015-06-13 05:09:23 -07:00
Jeffrey Pfau d1a51637bc Util: Fix FreeBSD build 2015-06-13 03:26:07 -07:00
Jeffrey Pfau 6529b3edf5 Qt: Make display driver configurable 2015-06-13 03:02:04 -07:00
Jeffrey Pfau 87d26d39f9 All: Clean up OpenGL detection 2015-06-13 03:01:43 -07:00
Jeffrey Pfau fe845d1ee8 Qt: Use MessagePainter with GL and Qt messages 2015-06-13 02:55:33 -07:00
Jeffrey Pfau 4469a9a05f All: Threads are now named 2015-06-13 01:41:07 -07:00
Jeffrey Pfau 910ff621b3 ARM7: Fix timing of multiplies to use N cycles 2015-06-12 03:26:50 -07:00
Jeffrey Pfau f8fd3ae2cc SDL: Clean up initialization functions 2015-06-12 00:58:03 -07:00
Jeffrey Pfau d09d0e505f SDL: Properly check for initialization 2015-06-12 00:58:03 -07:00
Jeffrey Pfau f2e298f78d SDL: Fix SDL build when OpenGL is missing 2015-06-12 00:58:02 -07:00
Jeffrey Pfau 4ba576ef87 Qt: Disable held-rewind when a window loses focus 2015-06-11 01:28:04 -07:00
Jeffrey Pfau 40ae214a7d GBA Thread: Split GBASync into a separate file 2015-06-10 01:06:09 -07:00
Jeffrey Pfau 79e06612cb Qt: Add app icon 2015-06-10 00:37:11 -07:00
Jeffrey Pfau 5fcba6a8b2 Qt: XDG Desktop file 2015-06-10 00:26:25 -07:00
Jeffrey Pfau cda462e24f All: Fix asm to __asm__ in PPC code 2015-06-09 21:22:32 -07:00
Jeffrey Pfau 97da8b43c9 All: Some portability fixes 2015-06-09 21:22:11 -07:00
Jeffrey Pfau 67072e649c GBA SIO: Some lockstep fixes 2015-06-08 22:53:41 -07:00
Jeffrey Pfau a816bd960b GBA: SIO logging layer 2015-06-08 22:53:03 -07:00
Jeffrey Pfau ce647c8613 SDL: Fix ^C not exiting emulator (SDL 2.0.4+ only) 2015-06-08 20:58:53 -07:00
Jeffrey Pfau 91a66c9346 GBA: Better portable GBARTC packing 2015-06-08 01:25:36 -07:00
Jeffrey Pfau cd2533edce GBA: Fix savestate ROM check 2015-06-08 01:24:03 -07:00
Jeffrey Pfau 596c7503b6 GBA: Ability to boot directly into the BIOS 2015-06-08 00:19:13 -07:00
Jeffrey Pfau a51ae873bd GBA Audio: Fix audio pitch changing when adjusting buffer size 2015-06-07 22:47:13 -07:00
Jeffrey Pfau c0909c8713 All: Fix typo, disabling __builtin_expect on MSVS 2015-06-07 21:20:54 -07:00
Jeffrey Pfau 1a4ed6fe5e Qt: Reshuffle some audio handling code 2015-06-07 15:18:10 -07:00
Jeffrey Pfau 870417d46e GBA Thread: Fix uses of videoFrameOn being overridden 2015-06-07 14:26:43 -07:00
Jeffrey Pfau 982408281e Merge branch 'feature/redo-sync' 2015-06-07 13:37:33 -07:00
Jeffrey Pfau 9c0ae33ddd Qt: Fix Windows build 2015-06-06 23:44:01 -07:00
Jeffrey Pfau e7798091d4 Qt: Start revamping sync 2015-06-06 23:37:11 -07:00
Jeffrey Pfau 36daee6de3 Merge commit 'a21d773ae8dd52b6e2e1e7b34f8bca4ec3d5b457' 2015-06-06 23:10:21 -07:00
Jeffrey Pfau 12505766e1 All: MSVS2015 fixes (via zeromus) 2015-06-06 21:43:24 -07:00
tony971 acb7c93670 Qt: Rename rewind variables 2015-06-05 16:13:45 -04:00
Jeffrey Pfau a21d773ae8 OpenGL: Clear screen when resizing 2015-06-05 00:44:45 -07:00
Jeffrey Pfau d05e596b38 Qt: Use common OpenGL code 2015-06-05 00:44:45 -07:00
Jeffrey Pfau ea0b6a14cc OpenGL: Start modular renderer 2015-06-05 00:44:45 -07:00
Jeffrey Pfau 855923e4b0 GBA Memory: Fix potential DMA issue when loading a savestate 2015-06-04 23:37:42 -07:00
Jeffrey Pfau 688fcbb89c Qt: Fix variable to be static 2015-06-04 23:34:54 -07:00
Jeffrey Pfau 4ec19aac71 Qt: Add fast forward speed caps up to 10x 2015-06-03 20:55:44 -07:00
Jeffrey Pfau ab028c9d80 GBA: Add more savestate checks 2015-06-03 20:50:34 -07:00
Jeffrey Pfau 3b29ba1aa2 Util: Allow disabling the threading code entirely 2015-06-03 20:37:45 -07:00
Jeffrey Pfau 6530bfe94a GBA: Remove bad savestate corruption check 2015-06-03 20:31:49 -07:00
Jeffrey Pfau 31993afd2a GBA Video: Fix out-of-bounds tiles in mosaic 2015-06-02 22:52:13 -07:00
Jeffrey Pfau 6ad402170c GBA: Fix ROM size check 2015-06-02 22:20:19 -07:00
Jeffrey Pfau c0818c3a0c GBA: Ensure proper audio timing in savestates 2015-06-02 22:13:29 -07:00
Jeffrey Pfau cd43d07561 GBA: Check for savestates made from differently sized ROMs 2015-06-02 21:50:42 -07:00
Jeffrey Pfau a51066820a Qt: Replace pause-after-frame mutex with an atomic 2015-06-01 23:55:44 -07:00
Jeffrey Pfau 3af3fab3cf Qt: Fix held-rewind getting into bad pause states 2015-06-01 23:40:48 -07:00
Jeffrey Pfau 502ca7abd7 GBA: Check for improperly sized savestates when loading 2015-06-01 20:53:41 -07:00
Jeffrey Pfau ee6e53cfc8 GBA: Check for corrupted savestates when loading 2015-06-01 20:52:45 -07:00
Jeffrey Pfau ab6eac53ee GBA: Cap audio FIFO read size during deserialization 2015-06-01 00:33:16 -07:00
Jeffrey Pfau 1157ab06d2 Perf: Ability to load savestates immediately on launch 2015-05-31 23:49:31 -07:00
Jeffrey Pfau d67481c9de GBA Thread: Fix GBARunOnThread to not trample old state 2015-05-31 21:44:34 -07:00
Jeffrey Pfau 3dc8d7d4c9 Qt: Only hide cursor in full screen 2015-05-31 19:55:05 -07:00
Jeffrey Pfau 24b1fb7b30 Qt: Fix some button binding bugs 2015-05-31 13:38:40 -07:00
Jeffrey Pfau 67e13114ef Qt: Fix some rewind timer bugs 2015-05-31 13:21:06 -07:00
Jeffrey Pfau 041b58ebce Qt: Fix maximum year in sensor override 2015-05-30 23:36:41 -07:00
Jeffrey Pfau d135fd6a63 Qt: Fix windows being resizable when they shouldn't have been 2015-05-30 23:33:08 -07:00
Jeffrey Pfau ffa2f62cf1 Qt: Fix palette view sizing 2015-05-30 19:46:03 -07:00
Jeffrey Pfau f8362d680b Qt: Export to ACT 2015-05-30 17:42:31 -07:00
Jeffrey Pfau 632316eef0 GBA: Export to ACT 2015-05-30 17:42:18 -07:00
Jeffrey Pfau bbac206364 Qt: Unified file opening and saving with last location 2015-05-30 00:45:53 -07:00
Jeffrey Pfau 0378fa229d Qt: Cap the maximum number of multiplayer windows 2015-05-30 00:35:04 -07:00
Jeffrey Pfau 27b4f35139 Qt: Migrate multiplayer window handling into GBAApp 2015-05-29 22:58:07 -07:00
Jeffrey Pfau 03543eeab4 GBA SIO: Fix regression when switching modes 2015-05-29 22:57:47 -07:00
Jeffrey Pfau a2cba75819 All: Enable static linking for OS X 2015-05-29 20:45:58 -07:00
Jeffrey Pfau 920d5b71cb Qt: Remove mutable qualifier from VFileDevice now that it isn't needed anymore 2015-05-29 02:04:27 -07:00
Jeffrey Pfau c79780f832 ARM7: Fix Thumb MUL timing 2015-05-29 01:45:27 -07:00
Jeffrey Pfau 87313041c0 Qt: Unified VFile opening interface 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 3c65ac986e GBA: Palette RIFF exporter 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 56e876f362 GBA Video: Add convenience macros for extracting color bits 2015-05-29 00:17:04 -07:00
Jeffrey Pfau a73cfe4496 Util: Add VFS helper functions for reading/writing little endian values 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 6b06579277 All: Move most macros back into common.h 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 1559438deb All: Enable static linking for Windows 2015-05-28 00:20:44 -07:00
Jeffrey Pfau a0624b8b4f Qt: Memory inspector now shows per-nybble feedback when typing 2015-05-27 00:06:54 -07:00
Jeffrey Pfau 7e411fda30 Qt: Holdable shortcut for rewinding one frame at a time 2015-05-26 20:38:33 -07:00
Jeffrey Pfau 4c5cdcaa4e GBA: GBARewind now returns how many states it has rewound 2015-05-26 20:36:04 -07:00
Jeffrey Pfau db30642645 GBA SIO: Fix embarrassing build breakage 2015-05-25 00:44:15 -07:00
Jeffrey Pfau e0d0e86b70 GBA SIO: Add a dummy driver for Normal mode 2015-05-24 23:55:13 -07:00
Jeffrey Pfau 3974042259 GBA Memory: Remove incorrect hack 2015-05-24 23:54:43 -07:00
Jeffrey Pfau bdc72bb73b GBA Thread: Fix initial volume when starting a game 2015-05-23 23:22:02 -07:00
Jeffrey Pfau 04c6080f24 Qt: FPS target option is now a double 2015-05-23 23:21:36 -07:00
Jeffrey Pfau 7bc834526a Qt: Ability to cap fast forward speed (fixes B#218) 2015-05-23 23:03:02 -07:00
Jeffrey Pfau 9085bbb8a4 SDL: Add rumble PWM support 2015-05-21 22:53:41 -07:00
Jeffrey Pfau c6c57273b5 Qt: Fix clearing analog shortcuts 2015-05-19 20:04:20 -07:00
Jeffrey Pfau 3ace420e3f Qt: Fix open ROM dialog filtering for archive formats 2015-05-19 00:18:07 -07:00
Jeffrey Pfau 2161769660 GBA Video: Re-fix sprite blending 2015-05-18 22:44:43 -07:00
Jeffrey Pfau f2eae7ce33 SDL: Fix joystick when no window is open 2015-05-18 22:16:06 -07:00
Jeffrey Pfau e797d009d0 GBA Memory: Fix ROMs incorrectly being resized 2015-05-17 15:37:55 -07:00
Jeffrey Pfau 57e84f0c69 Qt: Better cleanup when a game crashes 2015-05-17 15:06:35 -07:00
Jeffrey Pfau 178b2f85ee Qt: Fix Windows build 2015-05-15 22:12:29 -07:00
Jeffrey Pfau e2b964a8be Qt: Show version info in window title 2015-05-15 09:11:12 -07:00
Jeffrey Pfau 47d945bf75 All: Make version.c 2015-05-15 08:56:28 -07:00
Jeffrey Pfau 284f4df31b GBA: Fix crash if a 512kb flash save is loaded when a game has a 1Mb flash override 2015-05-15 01:54:07 -07:00
Jeffrey Pfau ec529a86c7 GBA Video: Blended sprites should never have other effects applied 2015-05-15 01:33:29 -07:00
Jeffrey Pfau adee44f6e9 Qt: Load/save the most recent savestate slot 2015-05-10 23:13:33 -07:00
Jeffrey Pfau 73d2c8fda8 Perf: Fix race condition if a game crashes immediately on start 2015-05-10 08:22:03 -07:00
Jeffrey Pfau 6f24064f4f All: Add --help flag for command line programs 2015-05-10 03:02:03 -07:00
Jeffrey Pfau a651a91aa1 GBA Video: Fix second frame mode 5 2015-05-09 17:28:29 -07:00
Jeffrey Pfau 37f5058de0 GBA Memory: Fix jumping to invalid memory when switching from Thumb to ARM 2015-05-09 17:14:11 -07:00
Jeffrey Pfau cb3f029d9e SDL: Fix potential build issues when Qt and SDL2 are in use 2015-05-09 13:53:19 -07:00
Jeffrey Pfau 32d1f5bbfb ARM7: Fix ARM multiply instructions when PC is a destination register 2015-05-09 13:40:58 -07:00
Jeffrey Pfau 179f12bf09 GBA BIOS: Initialize a variable that may be uninitialized in very rare cases 2015-05-09 00:29:52 -07:00
Jeffrey Pfau ec14557a1e ARM7: Make illegal instruction decoding consistent between ARM and Thumb 2015-05-09 00:23:56 -07:00
Jeffrey Pfau 262e46b8a6 GBA: Fix bounds-checking on EEPROM access 2015-05-09 00:09:37 -07:00
Jeffrey Pfau 78db3e1a74 GBA: Handle out-of-bounds I/O access 2015-05-08 01:48:22 -07:00
Jeffrey Pfau ebcb344d64 ARM7: Handle writeback for PC in addressing modes 2 and 3 2015-05-08 01:23:44 -07:00
Jeffrey Pfau 3c844a9ae9 GBA Memory: Soft-crash if jumping past the end of a ROM 2015-05-08 00:34:01 -07:00
Jeffrey Pfau 924efefc38 SDL: Allocate properly sized input maps 2015-05-06 01:19:27 -07:00
Jeffrey Pfau b079c3bd56 SDL: Add ability to suspend screensaver 2015-05-05 22:43:57 -07:00
Jeffrey Pfau 1b74517e8b Qt: Move exit fullscreen to the frame size menu 2015-05-03 03:33:19 -07:00
Jeffrey Pfau 74af12317c Qt: Move fast forward setting to emulation menu 2015-05-03 03:32:56 -07:00
Jeffrey Pfau d37cf5f0c3 Qt: Refactor PNG savestate code for slightly better behavior 2015-05-02 01:13:56 -07:00
Jeffrey Pfau 07a3d08b26 Util: Fix a null-pointer issue when attempting to delete a key 2015-05-02 01:08:29 -07:00
Jeffrey Pfau 298b7e7a8b Qt: Memory viewer can now edit select regions of memory 2015-05-01 23:06:33 -07:00
Jeffrey Pfau 63071d9bc2 Qt: Add small decoder bar at the bottom of the hex view, still needs work 2015-05-01 22:47:22 -07:00
Jeffrey Pfau a977ecb491 Qt: Memory view should use system colors 2015-05-01 21:59:24 -07:00
Jeffrey Pfau ebece20a43 Qt: Memory view selection 2015-05-01 00:53:25 -07:00
Jeffrey Pfau 21542034d3 Qt: Memory view address jump 2015-04-30 23:15:20 -07:00
Jeffrey Pfau 28f174fb66 Qt: Memory view alignment adjustment 2015-04-30 22:58:06 -07:00
Jeffrey Pfau 7ac49be6df Qt: Memory view readability fixes 2015-04-30 00:02:37 -07:00
Jeffrey Pfau c021267ce6 Qt: MemoryView subregions 2015-04-29 22:13:05 -07:00
Jeffrey Pfau a7ad78d46e Qt: Close game inspector windows when game ends 2015-04-29 21:16:29 -07:00
Jeffrey Pfau a01f9921f5 Qt: Fix non-printing characters in Memory view 2015-04-29 01:22:40 -07:00
Jeffrey Pfau 10d5588d4c Qt: Optimize drawing in MemoryModel 2015-04-29 01:16:53 -07:00
Jeffrey Pfau e3cc98e034 Qt: MemoryModel scrolling 2015-04-29 00:23:25 -07:00
Jeffrey Pfau 0bc9d18bc7 Qt: Remove dead code 2015-04-28 23:49:55 -07:00
Jeffrey Pfau 328a41dec7 Qt: Rudimentary memory viewer 2015-04-28 22:38:11 -07:00
Jeffrey Pfau 8b19ad7809 Qt: Optimize palette view drawing 2015-04-27 23:13:25 -07:00
Jeffrey Pfau 57999df85e Qt: Fix status size on non-HiDPI displays 2015-04-27 02:50:01 -07:00
Jeffrey Pfau 711c7e9903 Qt: Refactor to make non-SDL gamepad input possible 2015-04-27 01:40:00 -07:00
Jeffrey Pfau 6ebef8dc16 Qt: Status messages 2015-04-26 15:00:15 -07:00
Jeffrey Pfau 91ee44c458 GBA Thread: Add functionality for running callbacks on the GBA thread 2015-04-26 14:06:57 -07:00
Jeffrey Pfau 9c07698068 GBA: Add status log level 2015-04-26 13:47:24 -07:00
Jeffrey Pfau f52d91c6c8 Qt: Move GL drawing back into its own thread 2015-04-26 03:29:10 -07:00
Jeffrey Pfau 65543bdd69 Qt: Return early from setTurbo if possible 2015-04-25 15:42:41 -07:00
Jeffrey Pfau 03c2eb0776 GBA: A bit less confusing addressing into the middle of a struct 2015-04-24 00:13:50 -07:00
Jeffrey Pfau d091de4057 SDL: Fix boundary conditions for joystick adjustments 2015-04-24 00:07:18 -07:00
Jeffrey Pfau 104a80422c Qt: Initialize LoadStoreState mode 2015-04-24 00:00:31 -07:00
Jeffrey Pfau aae1564db4 Qt: Make LoadSaveState row/column manipulation a bit more readable 2015-04-23 23:59:44 -07:00
Jeffrey Pfau 73dd9ed3f8 Video: Fix an issue with very long filenames 2015-04-23 23:57:06 -07:00
Jeffrey Pfau 3ae3b292ee Debugger: Fix boundary conditions in tab completion 2015-04-23 23:54:35 -07:00
Jeffrey Pfau cedfc01a4c GBA BIOS: Add comments 2015-04-22 23:33:56 -07:00
Jeffrey Pfau a2e1cd615c VFS: Fix resource leaks if some allocations fail 2015-04-22 22:08:09 -07:00
Jeffrey Pfau 9552512329 Util: Fix resource leak in UTF-8 handling code 2015-04-22 22:02:55 -07:00
Jeffrey Pfau c4aedfa69a Debugger: Free watchpoints in addition to breakpoints 2015-04-22 21:24:56 -07:00
Jeffrey Pfau 2666c77837 Debugger: Fix use-after-free in breakpoint clearing code 2015-04-22 21:24:02 -07:00
Jeffrey Pfau 86bf02b9d5 Debugger: Fix uninitialized variables 2015-04-22 20:42:32 -07:00
Jeffrey Pfau 242dc5067b GBA: Fix hang when loading a savestate if sync to video is enabled 2015-04-22 20:41:54 -07:00
Jeffrey Pfau 255242a665 Qt: Fix a load of uninitialized members 2015-04-22 20:18:54 -07:00
Jeffrey Pfau aacab52a84 SDL: Ensure polled axes exist 2015-04-21 21:36:34 -07:00
Jeffrey Pfau e0185740f7 Qt: Handle saving input settings better 2015-04-21 21:18:21 -07:00
Jeffrey Pfau 6248e44e47 Qt: Remappable controls for tilt and gyroscope sensors 2015-04-21 21:04:25 -07:00
Jeffrey Pfau 3eb4c01515 Qt: Fix controllers sometimes not loading the right profile 2015-04-21 20:35:35 -07:00
Jeffrey Pfau 0fbba68b02 SDL: Fix pointer aliasing warning 2015-04-21 02:28:14 -07:00
Jeffrey Pfau 657bcec879 SDL: Fix Windows build 2015-04-21 02:27:54 -07:00
Jeffrey Pfau d0a332ffd4 Qt: Add incomplete sensor mapping editor 2015-04-21 01:06:39 -07:00
Jeffrey Pfau b97be4b461 SDL: Add ability to control gyro sensor with left analog stick (currently hardcoded) 2015-04-21 00:38:20 -07:00
Jeffrey Pfau 7fa043cb50 SDL: Add ability to control tilt sensor with right analog stick (currently hardcoded) 2015-04-19 23:25:05 -07:00
Jeffrey Pfau 049e3639d1 Qt: Fix multiplayer windows opening as the wrong size 2015-04-19 04:31:50 -07:00
Jeffrey Pfau b84c421865 SDL: Ensure switching gamepad uses haptic from the right gamepad 2015-04-19 03:43:00 -07:00
Jeffrey Pfau 3203158b1d Qt: Menu items for specific solar sensor brightness levels 2015-04-18 22:20:53 -07:00
Jeffrey Pfau f94c959cac GBA Memory: Patching functions can now expand ROM 2015-04-18 13:56:56 -07:00
Jeffrey Pfau 0789ebb8cc GBA Memory: Fix 32-bit loads from unaddress cartridge space 2015-04-18 13:54:09 -07:00
Jeffrey Pfau b8edf968a4 Qt: Add 59.727 fps option 2015-04-18 05:10:13 -07:00
Jeffrey Pfau b81f045d27 Qt: DisplayGL cleanup 2015-04-18 03:49:48 -07:00
Jeffrey Pfau d4ab0564eb Qt: Post empty frames if frameskipping 2015-04-18 03:49:24 -07:00
Jeffrey Pfau e11d34d761 Qt: Remove backing from startDrawing signal 2015-04-18 02:51:28 -07:00
Jeffrey Pfau 34512371bb Qt: Fix crash if no axes are found 2015-04-18 02:46:56 -07:00
Jeffrey Pfau c42c08c5e1 GBA Memory: Fix 16-bit bad loads 2015-04-18 01:26:12 -07:00
Jeffrey Pfau 0c8a0cd0e4 Qt: Analog inputs can be used for shortcuts 2015-04-18 01:12:18 -07:00
Jeffrey Pfau a0a3ac191a Qt: Recalibrate axes in more places 2015-04-18 01:12:18 -07:00
Jeffrey Pfau 6750e7775e Qt: Rough deadzone estimation 2015-04-18 01:12:18 -07:00
Jeffrey Pfau 02ecfa6843 GBA Memory: Improve Thumb open bus behavior (fixes issue #10) 2015-04-17 03:20:09 -07:00
Jeffrey Pfau 592f6614aa SDL: Fix some embarrassing indentation errors 2015-04-17 01:56:31 -07:00
Jeffrey Pfau 6b975dcbd3 Qt: Fix controller axis querying 2015-04-17 00:58:27 -07:00
Jeffrey Pfau ee6c9f71c2 SDL: Implement rumble using SDL2 haptic 2015-04-17 00:00:22 -07:00
Jeffrey Pfau 05e04ba76a GBA Memory: Allow SRAM to be 64kB 2015-04-15 21:36:07 -07:00
Jeffrey Pfau af19f5bc45 Qt: Add "Step backwards" item for single increment rewind 2015-04-15 21:12:05 -07:00
Jeffrey Pfau dee394f10f GBA: Allow disabling checksum verification 2015-04-15 21:05:01 -07:00
Jeffrey Pfau 37b2eb05ae GBA: Fix GCC warnings 2015-04-15 04:37:24 -07:00
Jeffrey Pfau 688be6948b GBA: Create GameShark snapshots 2015-04-15 04:17:28 -07:00
Jeffrey Pfau 3ff8467ba7 GBA: Support for loading Gameshark snapshots 2015-04-15 03:58:58 -07:00
Jeffrey Pfau 27a178fe3c Qt: Fix potential crash if a gamepad causes focus to change 2015-04-14 20:46:41 -07:00
Jeffrey Pfau e112e86715 GBA: Add initial I/O register settings for background matrix registers 2015-04-14 20:45:44 -07:00
Jeffrey Pfau 3ff3c24821 Qt: DisplayGL does not use paintEvent 2015-04-12 20:22:51 -07:00
Jeffrey Pfau 2309898152 Qt: Rewind now shows the frame after rewinding 2015-04-12 20:22:32 -07:00
Jeffrey Pfau 293e0a9c9b GBA: Rewind now shows the frame after rewinding 2015-04-12 20:22:04 -07:00
Jeffrey Pfau 2a9a738bfb GBA: Fix rewind boundary conditions 2015-04-12 20:19:02 -07:00
Jeffrey Pfau 470538d4db Qt: Show multiplayer numbers in window title 2015-04-09 23:16:17 -07:00
Jeffrey Pfau 41bbee1efd Qt: Make quick save/load and solar sensor shortcuts adjustable 2015-04-09 23:04:04 -07:00
Jeffrey Pfau 8636b81f13 GBA: Split cheats out into separate source files 2015-04-09 00:41:00 -07:00
Jeffrey Pfau 1dd82f21d9 GBA: Fix unintialized stack variable 2015-04-08 21:45:46 -07:00
Jeffrey Pfau 72a0de2940 GBA Memory: Fix audio regression...may be a huge hack 2015-04-08 00:54:12 -07:00
Jeffrey Pfau 8266f54d76 Volume control 2015-04-08 00:32:29 -07:00
Jeffrey Pfau 3182b5e35d Qt: Follow-up fix for regression 2015-04-07 00:51:19 -07:00
Jeffrey Pfau eb0b9dca0f Qt: Fix regression where video would not record if the game had already started 2015-04-06 22:18:57 -07:00
Jeffrey Pfau 3449c5cb3b Qt: Fix window not regaining focus after exiting savestate window 2015-04-06 22:02:06 -07:00
Jeffrey Pfau 25e70e37c7 GBA Memory: Ensure changing the timing of a DMA reschedules it 2015-04-06 03:47:42 -07:00
Jeffrey Pfau 1856b77cbc GBA Audio: Force audio FIFOs to 32-bit 2015-04-06 02:34:21 -07:00
Jeffrey Pfau cda804656b Qt: Palette viewer 2015-04-05 23:46:48 -07:00
Jeffrey Pfau 97479c4d00 ARM7: Fix SWI and IRQ timings 2015-04-05 18:06:31 -07:00
Jeffrey Pfau 609a9c5aa0 Qt: Fix "QOpenGLContext::swapBuffers() called with non-exposed window" warning 2015-04-05 18:02:59 -07:00
Jeffrey Pfau 190ace3003 Qt: Clean up some technical debt with opening views 2015-04-05 17:59:34 -07:00
Jeffrey Pfau 73e4516257 GBA Audio: Ability to mute individual audio channels 2015-04-05 01:39:34 -07:00
Jeffrey Pfau 8533f01be5 GBA Video: Ability to hide individual background layers, or OBJs 2015-04-05 01:28:05 -07:00
Jeffrey Pfau db2659962b Qt: Fix tr missing or being present where it shouldn't be 2015-04-05 01:06:53 -07:00
Jeffrey Pfau 4a36c3766b GBA Audio: FIFOs should not poll DMAs that are not scheduled for audio 2015-04-04 22:07:46 -07:00
Jeffrey Pfau d3a0ce00db Qt: Fix .deb dependencies 2015-04-04 21:14:32 -07:00
Jeffrey Pfau 9df80a437a Qt: Add framePosted slot to Display for push-based updates 2015-04-04 14:17:46 -07:00
Jeffrey Pfau 2448ff715f Qt: Move Display setup code to common code 2015-04-04 14:17:06 -07:00
Jeffrey Pfau e9365cdda2 Qt: Fix Display object leak when closing a window 2015-04-04 14:14:28 -07:00
Jeffrey Pfau 13a77ea3ff GBA: Fix timers not updating timing when writing to only the reload register 2015-04-03 23:51:36 -07:00
Jeffrey Pfau 67bc9e7280 Qt: Move solar sensor menu to emulation menu 2015-04-03 21:46:23 -07:00
Jeffrey Pfau f136fa040c Qt: Fix regression involving displayed screenshots in savestate view 2015-04-03 21:14:02 -07:00
Jeffrey Pfau 36af5fba87 Qt: Fix shortcuts conflicting between views 2015-04-03 21:13:24 -07:00
Jeffrey Pfau 5da7198d07 Qt: Fix build with some non-Apple versions of GCC 2015-04-03 21:12:37 -07:00
Jeffrey Pfau 065474d14e Qt: Fix crash when attempting to pause if a game is not running 2015-04-03 21:07:26 -07:00
Jeffrey Pfau 7cc903a217 Qt: Pause game while open file dialogs are open (fixes #6 on GitHub) 2015-04-02 22:32:38 -07:00
Jeffrey Pfau 24ff4e8a01 Util: Move VDirOptionalOpenFile back into vfs.c 2015-04-01 21:42:14 -07:00
Jeffrey Pfau 7bb17bc99d Util: Split vfs.c into vfs.c, vfs-fd.c and vfs-dirent.c 2015-04-01 21:13:16 -07:00
Jeffrey Pfau f2559ad169 Qt: Add pure-Qt display backend 2015-04-01 00:35:55 -07:00
Jeffrey Pfau 11eab66247 Qt: Move screenshot to GameController 2015-03-31 23:43:47 -07:00
Jeffrey Pfau 0d6cc88f9f Qt: Remove unneeded second draws 2015-03-31 23:37:14 -07:00
Jeffrey Pfau 4fb121bbe0 Qt: Start modularizing Qt drawing 2015-03-31 22:58:29 -07:00
Jeffrey Pfau 24b0e78360 Merge branch 'optimization/idle-loops' 2015-03-31 21:48:26 -07:00
Jeffrey Pfau bed6a0c130 SDL: Allow runtime switching of rendering backend 2015-03-31 21:41:53 -07:00
Jeffrey Pfau 2eb765eacc SDL: Fix pixman build if includes aren't in base path 2015-03-31 21:38:55 -07:00
Jeffrey Pfau 8fcd095b03 GBA Audio: #define some macros BEFORE we use them 2015-03-30 02:22:29 -07:00
Jeffrey Pfau cab9f3343b Qt: Double-clicking on the window toggles full screen 2015-03-29 17:12:39 -07:00
Jeffrey Pfau 3a3b7dffdb GBA: Fix Pro Action Replay ROM patches 2015-03-29 13:56:46 -07:00
Jeffrey Pfau d38f99e041 GBA: Fix PARv3 IO codes, add master code support 2015-03-29 04:48:42 -07:00
Jeffrey Pfau 178f9a83bb GBA: Almost entirely untested Pro Action Replay v3 code support 2015-03-29 04:38:13 -07:00
Jeffrey Pfau 44d3718eb0 Qt: Save fullscreen setting 2015-03-28 23:23:32 -07:00
Jeffrey Pfau 7a9807f030 GBA: Fix BIOS loading setting 2015-03-28 23:19:21 -07:00
Jeffrey Pfau 3fe32281c9 Qt: Remember window position 2015-03-28 23:14:10 -07:00
Jeffrey Pfau e93240f90c GBA: Add somewhat more realistic flash timings, disabled currently 2015-03-28 03:25:46 -07:00
Jeffrey Pfau c665ed78e6 GBA Memory: Add timing information to bad cart stores 2015-03-27 22:42:17 -07:00
Jeffrey Pfau 45473bf7bc ARM7: Fix cycle counting for loads 2015-03-27 21:21:17 -07:00
Jeffrey Pfau afff253928 GBA Memory: Fix cycle counting for 32-bit load/stores 2015-03-27 21:20:13 -07:00
Jeffrey Pfau 8e87e3a528 GBA Memory: Fix I cycles that had been moved to ARM7 core 2015-03-27 01:35:16 -07:00
Jeffrey Pfau 811ada598e GBA: Fix timer initialization 2015-03-27 01:34:49 -07:00
Jeffrey Pfau 4b957cb66d Qt: Fix non-SDL build 2015-03-25 21:56:23 -07:00
Jeffrey Pfau 9d80089194 Qt: Add keyboard shortcut to exit fullscreen (fixes #205) 2015-03-24 22:54:13 -07:00
Jeffrey Pfau b6ddf8fd00 GBA RR: Fix VBM handling of lag frames 2015-03-24 22:26:37 -07:00
Jeffrey Pfau 3d8cfda57d Qt: Warning dialog if an unimplemented BIOS feature is called (fixes #177) 2015-03-23 22:12:57 -07:00
Jeffrey Pfau 740f733563 Qt: Change audio driver back to SDL by default 2015-03-23 21:34:20 -07:00
Jeffrey Pfau 1c422d4057 SDL: Use SDL2 audio APIs when compiled against SDL2 2015-03-23 21:23:10 -07:00
Jeffrey Pfau 9bb306f831 All: Buildfixes for OS X and FreeBSD 2015-03-23 02:47:10 -07:00
Jeffrey Pfau b55c873e34 GBA BIOS: Define M_PI if not defined 2015-03-23 02:16:17 -07:00
Jeffrey Pfau f519976c7f All: Attempt to downgrade from GNU99 to C99 2015-03-23 02:03:01 -07:00
Jeffrey Pfau 817dec97c2 GBA: Add Mega Man Zero override 2015-03-23 01:16:15 -07:00
Jeffrey Pfau 64cbdf8aa0 GBA: Ensure idle loops are not removed on the first iteration 2015-03-23 01:15:56 -07:00
Jeffrey Pfau 8fad1d136c Qt: Ability to prevent opposing directional input 2015-03-23 00:11:19 -07:00
Jeffrey Pfau 302b041507 Qt: Fix crash when initializing gamepads 2015-03-22 13:03:39 -07:00