Commit Graph

225 Commits

Author SHA1 Message Date
Vicki Pfau 591ab468e9 Core: Start improving memory search 2017-10-14 15:36:51 -07:00
Vicki Pfau 22807c6274 Third-Party: Increase max ini section name length 2017-10-13 18:27:05 -07:00
Vicki Pfau bf0081e9b4 GBA Cheats: Fix PARv3 multiline blocks (fixes #889) 2017-09-30 10:29:20 -07:00
Vicki Pfau bec2757dbf Python: Add map view 2017-09-24 22:32:58 -07:00
Vicki Pfau dbeff59c06 Core: Add some debug checks 2017-09-24 22:32:58 -07:00
Vicki Pfau 405eafb969 Qt: Make clicking tiles work 2017-09-24 22:32:58 -07:00
Vicki Pfau a7ee79ff45 Core: More map viewer fixes 2017-09-24 22:32:32 -07:00
Vicki Pfau f27be6e5f2 Core: Fix "macro" tile dynamic sizing 2017-09-24 22:32:32 -07:00
Vicki Pfau 13e1f988c9 Core: Start work on wider maps 2017-09-24 22:32:32 -07:00
Vicki Pfau c6f0d6c5db Core: Still quite buggy map cache 2017-09-24 22:31:20 -07:00
Vicki Pfau df9616c15c Core: Revamp tile cache, add untested map cache 2017-09-24 22:31:20 -07:00
Vicki Pfau bb6728558d Test: Restructure test suite into multiple executables 2017-08-12 17:27:36 -07:00
Vicki Pfau ff272a5f1d GB, GBA Serialize: Restore master cycles 2017-08-05 20:48:18 -07:00
Vicki Pfau 41e00148bf Core: Change thread startCallback semantics to before reset 2017-08-04 08:17:35 -07:00
Vicki Pfau 1a74924023 Core: Add pause/unpause callbacks to mCoreThread 2017-08-03 23:56:44 -07:00
Vicki Pfau 05c2fc3e0d GB Serialize: Support serializing/deserializing SGB 2017-08-02 23:42:00 -07:00
Vicki Pfau 9b0393d50f Qt: Redo GameController into multiple classes 2017-07-23 14:51:35 -07:00
Vicki Pfau 64409d9ca7 Core: ELF support 2017-07-16 09:45:25 -07:00
Vicki Pfau 220b786c9c Core: Add symbol lookups from scripts 2017-07-15 19:51:51 -07:00
Vicki Pfau 3f59175a81 Core: Add missing file 2017-07-12 17:43:04 -07:00
Vicki Pfau e1325b0373 Core: Make threading optionally opaque 2017-07-12 17:43:04 -07:00
Vicki Pfau cb7b819fe3 Core: Fix exiting rewind thread 2017-07-11 23:03:28 -07:00
Vicki Pfau 5167fce4c7 Core: Fix rewinding getting out of sync (fixes #791) 2017-07-10 21:59:49 -07:00
Vicki Pfau 66e9b921a9 Core: Fix directory sets crashing on close if base isn't properly detached 2017-06-29 18:17:21 -07:00
Vicki Pfau 6c6d09ee7c Core: Improved threading interrupted detection 2017-06-28 14:10:31 -07:00
Vicki Pfau dc5c59d4db Core: Fix interrupting a thread while on the thread (fixes #692) 2017-06-28 13:07:39 -07:00
Vicki Pfau cebc3f1cc4 Core: Fix some minor warnings, fix channel labels 2017-06-28 01:06:15 -07:00
Vicki Pfau b61b8a0d2b Core: Fix timing until/next 2017-06-22 02:18:40 -07:00
Vicki Pfau 715409f5ca Core: Add library clear function 2017-06-20 21:36:53 -07:00
Vicki Pfau 96c0d7c413 Core: Fix guess search resulting in tons of zeroes 2017-06-19 22:29:20 -07:00
Vicki Pfau 3c64a2e432 GB Timer: Fix TAC write fix 2017-06-16 21:35:04 -07:00
Vicki Pfau 0cc49ac4fb Core: Config values can now be hexadecimal 2017-06-13 22:05:54 -07:00
Vicki Pfau eff48a77f1 Core: Fix memory search for wide values 2017-06-11 14:43:09 -07:00
Vicki Pfau 87791b9db9 Core: Move savestate creation time to extdata 2017-06-10 09:27:19 -07:00
Vicki Pfau a4faf9f079 Core: Add memory search "guessing" 2017-06-05 18:41:27 -07:00
Vicki Pfau cf7017dd86 Core: Memory search repeat and refresh 2017-06-05 18:01:58 -07:00
Vicki Pfau f2db707bb2 Core: Basic memory search 2017-06-05 17:28:51 -07:00
Lioncash aa4423a68f Core Input: Correct a memset size within mInputUnbindHat()
Previously the binding struct wouldn't be fully invalidated.
2017-05-14 18:36:19 -07:00
Eevee (Lexy Munroe) 63197308b6 Core: Fix maximum length of INI section names
It was a generous 128, but the inih library has its own maximum length
of 50.  Any longer keys were truncated by inih, so they appeared to be
missing when mgba tried to read the longer key again later.

This was causing the configuration for my Nintendo Wii Remote Pro
Controller to be effectively lost; the key name ended up at 53
characters.

Arguably inih should truncate when reading, too, but...
2017-05-05 21:07:20 -07:00
Vicki Pfau 29e5e3b42d Core: Move rewind diffing to its own thread 2017-04-29 01:39:46 -07:00
Vicki Pfau 2fdb5a1ff9 Feature: Move several headers into include/ 2017-04-29 01:39:46 -07:00
Vicki Pfau 5665ac0316 GBA Core: Video log playing 2017-04-29 01:39:11 -07:00
Vicki Pfau 73947766de Core: Video log recording 2017-04-29 01:39:11 -07:00
Vicki Pfau bed6ba1fc4 GBA Video: Refactor thread proxy out from proxy 2017-04-29 01:39:11 -07:00
Vicki Pfau eab5ed6e14 Core: Begin splitting threading out from GBA proxy 2017-04-29 01:39:11 -07:00
Vicki Pfau 11edac0aa4 Core: Start working on video proxy 2017-04-29 01:39:11 -07:00
Vicki Pfau 2d930cbc61 All: Add option to lock video to integer scaling 2017-04-21 18:13:16 -07:00
Vicki Pfau 84dc182a5d Core: Fix crash with rewind if savestates shrink 2017-04-21 16:22:48 -07:00
Vicki Pfau 959f66a1a0 Core: Add option to allow preloading the entire ROM before running 2017-04-13 00:28:28 -07:00
Vicki Pfau bf716b947a Util: Move StringList to string.c 2017-04-11 22:18:33 -07:00
Vicki Pfau 5646ba7d60 Core: Fix Windows build 2017-04-09 19:18:29 -07:00
Vicki Pfau 484618ca4c Core: Restore sleep callback 2017-04-09 19:13:13 -07:00
Vicki Pfau af2db9073c Core: Fix typo 2017-03-20 17:30:08 -07:00
Vicki Pfau 40e9dfcf5c Qt: Improve library usage 2017-03-16 11:47:52 -07:00
Vicki Pfau ad7cb650dc Core: Add logging filters 2017-03-05 17:25:35 -08:00
Vicki Pfau 3c0c8a8f54 Core: Add enumeration over config items 2017-03-05 17:23:32 -08:00
Vicki Pfau 000f232c58 Core: Begin log revamp 2017-03-05 15:58:00 -08:00
Vicki Pfau ba3b068df4 Core: Savestates now contain any RTC override data 2017-02-17 18:19:17 -08:00
Vicki Pfau 3ac0b20ff8 Core: Cores can now have multiple sets of callbacks 2017-02-08 11:34:27 -08:00
Vicki Pfau f302df9178 All: Add option for whether rewinding restores save games 2017-02-04 18:34:54 -08:00
Vicki Pfau f3b66397a2 Core: Extend tile cache to return raw bits 2017-02-02 16:33:48 -08:00
Vicki Pfau 54b889df8c Qt: Cross-reference CRCs with game database 2017-01-27 01:56:10 -08:00
Vicki Pfau 7ed4f38bdd Qt: Revamp BIOS handling 2017-01-23 10:11:13 -08:00
Vicki Pfau f4a61f91d4 Qt: Add infrastructure for gamepad hats 2017-01-23 01:28:41 -08:00
Vicki Pfau 78526ae71a SDL: Add support for configuring hats 2017-01-23 01:00:48 -08:00
Vicki Pfau 47344bc08a Core: Remove unused variable 2017-01-18 23:40:33 -08:00
Vicki Pfau caee44a592 Core: Add library revalidation 2017-01-18 17:42:05 -08:00
Vicki Pfau a56fd6016d All: Move time.h include to common.h 2017-01-18 15:22:41 -08:00
Vicki Pfau ac2097f0b6 Core: Back mLibraries with a shared database 2017-01-18 11:41:03 -08:00
Jeffrey Pfau d6e5283b9e Feature: Move game database from flatfile to SQLite3 2017-01-10 00:49:56 -08:00
Jeffrey Pfau fa884d071e All: Migrate includes to separate directory 2016-12-30 21:25:07 -08:00
Jeffrey Pfau 6d898542c7 Merge branch 'feature/python-bindings' 2016-12-29 01:23:31 -08:00
Jeffrey Pfau 2f1cb61d01 All: Add C++ header guards 2016-12-26 21:01:55 -08:00
Jeffrey Pfau ceea51b55e GB: First pass at lockstep multiplayer 2016-12-25 20:39:11 -08:00
Jeffrey Pfau 91a503397b Core: Update flags.h 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 7bd5ae9a70 Core: Add flags.h generated file 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 227cbea37a All: Remove duplicate functions 2016-12-25 15:22:40 -08:00
Jeffrey Pfau e5c61e0093 Python: Preliminary, incomplete bindings 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 0bf0975a5d GB: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau ad85acab75 Core: Implement deterministic event ordering 2016-12-25 10:56:49 -08:00
Jeffrey Pfau a1689c80a7 GBA Memory: Fix DMA timing 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 84844232ec Core: Use an in-place linked list for timing instead of a vector 2016-12-25 10:56:48 -08:00
Jeffrey Pfau fa3d263dd9 Core: Invert schedule queue direction to avoid excess memmove 2016-12-25 10:56:48 -08:00
Jeffrey Pfau ed3a3b2fab Core: A few micro-optimizations 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 2c2a7ca436 Core: Remove unnecessary pointer operation in timing 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 4680a767c6 Core: Manage next event internally to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau e423cd45e5 Core: Scheduling should be relative to current cycles 2016-12-25 10:56:47 -08:00
Jeffrey Pfau bf9be29ad5 GB Video: Convert to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau d831de205f Core, GB: Start new timing interface 2016-12-25 10:07:54 -08:00
Jeffrey Pfau e5a9f8a030 Core: Dont include debugger.h when not using debuggers 2016-11-07 10:18:22 -08:00
Jeffrey Pfau 5b80b8e4c7 Debugger: Make building with debugging aspects optional 2016-10-26 23:28:25 -07:00
Jeffrey Pfau e430e55149 Core: Add existing state check for rewind 2016-10-26 21:41:44 -07:00
Jeffrey Pfau 4573c22fa8 Core: Fix tile cache invalidation 2016-10-23 11:09:15 -07:00
Jeffrey Pfau e54772fead Test: Refactor test framework 2016-10-21 18:28:18 -07:00
Jeffrey Pfau a27cb6c040 Core: Rename GBA color macros to M color macros 2016-10-21 14:05:45 -07:00
Jeffrey Pfau 2f0501d3c4 Core: Fix tile cache palette set switching 2016-10-21 01:59:48 -07:00
Jeffrey Pfau 8d89fb78ba Core: Add callbacks 2016-10-21 01:59:48 -07:00
Jeffrey Pfau 1ac4a716cc Core: Fix 256-color sprites in tile cache 2016-10-18 18:35:11 -07:00
Jeffrey Pfau d462b4dd7f Core: Generic tile cache, usable with Game Boy core 2016-10-17 16:29:09 -07:00
Jeffrey Pfau 78af66c9d5 GBA Cheats: Fix key-activated CodeBreaker cheats 2016-09-21 23:30:12 -07:00