Commit Graph

2216 Commits

Author SHA1 Message Date
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 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 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 3cddb33288 GBA: Fix calls to endian-independent loadstores 2015-06-16 05:16:16 -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