Commit Graph

4490 Commits

Author SHA1 Message Date
Vicki Pfau 3d77a9d922 GB MBC: Fix initialization and swapping 2017-06-02 11:26:53 -07:00
Vicki Pfau 362c572009 Python: Add GB SIO 2017-05-31 22:40:03 -07:00
Vicki Pfau efd8c4b466 Python: Add GBA SIO 2017-05-31 17:59:16 -07:00
Vicki Pfau fe2854db79 Python: Reduce boilerplate in builder 2017-05-31 17:47:38 -07:00
Vicki Pfau 7b66a702cf Python: Reduce boilerplate 2017-05-31 17:04:24 -07:00
Vicki Pfau 06d89aee48 Python: Fix uninitialized variable 2017-05-31 17:01:50 -07:00
Vicki Pfau 6fe1f44351 GB Memory: Mark ROM not pristine when doing copy-on-write 2017-05-30 22:31:26 -07:00
Vicki Pfau f84af91173 GB MBC: Add MBC1-M support with basic heuristic 2017-05-30 22:31:26 -07:00
Vicki Pfau 7de5b33554 LR35902: Fix disassembling segments 2017-05-22 22:19:46 -07:00
Vicki Pfau c4175846d8 Debugger: Print segment numbers 2017-05-22 22:19:46 -07:00
Vicki Pfau 404332e689 Debugger: Add symbol table skeleton, GB support 2017-05-22 22:19:46 -07:00
Vicki Pfau 0b28dad51c GB Memory: Simplify DMA memory accesses 2017-05-22 22:19:46 -07:00
Vicki Pfau fcc8b5c805 Debugger: Add segment breakpoints 2017-05-22 22:19:46 -07:00
Vicki Pfau b8c6bba712 Debugger: Allow segment values for read/write 2017-05-22 22:19:46 -07:00
Lothar Serra Mari 29d1da69ad Qt: Update German GUI translation
Add some strings for the improved library view.
2017-05-20 15:45:55 -07:00
Vicki Pfau b5c350bc5b GB Video: Improved video timings (again) 2017-05-19 16:06:50 -07:00
Vicki Pfau 53bcea6373 GB: Fix STAT blocking 2017-05-19 16:06:49 -07:00
Vicki Pfau 5031ef7c39 LR35902: Fix decoding LD r, $imm and 0-valued immediates (fixes #735) 2017-05-19 16:06:37 -07:00
Vicki Pfau 96ac375276 Qt: Work around cmake#16907 (fixes #739) 2017-05-19 16:02:52 -07:00
Lioncash f6f3cb5d3d Qt: Use C++11 in-class initialization where applicable 2017-05-16 22:55:22 -07:00
Lioncash 686380b6c4 Qt: Resolve -Wreorder warnings 2017-05-16 22:55:22 -07:00
waddlesplash d04767eae2 All: Don't use enable_language(CXX) in the Qt subdirectory.
Doing so causes CMake to create a pseudo-subproject when generating
build files, which can cause all sorts of random, hard-to-diagnose issues.
2017-05-16 20:39:36 -07:00
waddlesplash 36fb807687 Qt: Relax hard dependency on OpenGL. 2017-05-16 20:39:36 -07:00
waddlesplash 11afd59cda Qt: Disable "New multiplayer window" when MAX_GBAS is reached.
Fixes #107.
2017-05-16 20:39:36 -07:00
waddlesplash 2f23829b66 Qt: Switch to the C++11 connect() syntax.
A few connect()s have not been migrated because the best way to migrate them requires somewhat invasive changes. Other than that, everything has been moved over.
2017-05-16 11:34:11 -07:00
waddlesplash 78e4083a56 Qt: New library system (#549) 2017-05-15 16:27:29 -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
Anty-Lemon 86cf8a90a3 SDL: Prevent resizing below 1x resolution with integer scaling 2017-05-06 18:18:21 -07:00
Anty-Lemon 3889fd4d3f SDL: Add integer scaling 2017-05-06 18:18:21 -07:00
Eevee (Lexy Munroe) b58d216868 Qt: Fix resetting selected gamepad when opening settings dialog
I have a Wacom tablet always plugged in.  For unrelated asinine reasons,
SDL detects both the pen and the tablet itself as (completely useless)
gamepads, so they always show up in the list first.  I also have a Wii U
Bluetooth controller, which shows up third.

When the settings dialog is spawned, selectGamepad is bound to the
currentIndexChanged event, so picking a controller from the combobox
will call it.  The current index is initially -1 (because the combobox
is empty), and when updateJoysticks is called to populate it, the index
automatically changes to 0.  The event is fired and the current gamepad
is changed to the first one, which in my case is my tablet pen.
updateJoysticks tries to avoid this by explicitly reselecting the active
gamepad after refreshing the combobox, but at this point the "active"
gamepad has already changed.

The upshot of this was that opening the settings dialog for any reason
would disable my controller, unless I remembered to go change it back.
I've also seen the button configuration for the wacom pen or controller
be saved under each others' names.

The fix, which works on my machine™, is to disable signals altogether
while mucking with the contents of the combobox, explicitly reselect the
right gamepad, and then explicitly call selectGamepad.  (I dropped the
last two lines because the same thing is already done in refresh, which
is called by selectGamepad.)

Arguably this is still a little wrong:

- If I unplugged my Wacom tablet, my controller would shift upwards to
  slot 0.  This code would fail to notice and keep trying to use joystick
  2.  That's a pretty obscure case, though, and maybe difficult to fix
  correctly.

- This panel makes changes immediately, but it should wait for OK or Apply.
2017-05-05 21:07:20 -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
Eevee (Lexy Munroe) e1b681f603 Qt: Fix race condition when opening sprites window 2017-05-05 21:07:20 -07:00
Lothar Serra Mari 87170f9b77 Qt: Update German GUI translation
Added translations for strings related to the new Video Log feature.
Also improved some older translations.
2017-04-30 15:11:30 -07:00
Vicki Pfau 29e5e3b42d Core: Move rewind diffing to its own thread 2017-04-29 01:39:46 -07:00
Vicki Pfau 27c7088038 Qt: Fix mCoreConfig leaking 2017-04-29 01:39:46 -07:00
Vicki Pfau 417012632c GBA Serialize: Remove unused function 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 8358586cc6 GB Video: Fix resetting proxy backend unnecessarily 2017-04-29 01:39:46 -07:00
Vicki Pfau 0ed5973f84 Core: Reject mVL with zero-length initial states 2017-04-29 01:39:46 -07:00
Vicki Pfau 6a14c30e3b Core: Enforce max mVL block size 2017-04-29 01:39:46 -07:00
Vicki Pfau 909886d2e1 Core: Fix memory leak when reloading mVL header 2017-04-29 01:39:46 -07:00
Vicki Pfau 91491e704e GB, GBA Core: Ensure the core is halted even if a state is not loaded 2017-04-29 01:39:46 -07:00
Vicki Pfau 5cda42077c Core: Fix missing tailing bytes of video logs 2017-04-29 01:39:46 -07:00
Vicki Pfau aec8b82756 GB, GBA Core: Reset audio when loading mVL states so audio sync works 2017-04-29 01:39:46 -07:00
Vicki Pfau 25beafcc11 GB, GBA Core: Only deserialize needed parts of savestates for mVL 2017-04-29 01:39:46 -07:00
Vicki Pfau 63ed7421ce Core: Fix rewinding video logs when decompressing 2017-04-29 01:39:46 -07:00
Vicki Pfau f67052eebc Core: Clean up mVL compression 2017-04-29 01:39:46 -07:00
Vicki Pfau 6b547899a8 VFS: Add VFileFIFO for operating on circle buffers 2017-04-29 01:39:46 -07:00
Vicki Pfau 31fa64efac Core: Compressed video log states 2017-04-29 01:39:46 -07:00
Vicki Pfau f82ef55517 Core: Compressed video logs 2017-04-29 01:39:46 -07:00
Vicki Pfau c4aa669cf1 Core: Fix flushing a read video log 2017-04-29 01:39:46 -07:00
Vicki Pfau deffdc79a0 Core: New mVL file format 2017-04-29 01:39:46 -07:00
Vicki Pfau 3021996a49 All: Cleanup and buildfixing 2017-04-29 01:39:45 -07:00
Vicki Pfau 716a245397 GB, GBA Video: Fix integer overflow 2017-04-29 01:39:45 -07:00
Vicki Pfau caf59d726f GBA Video: mVL bounds checking 2017-04-29 01:39:45 -07:00
Vicki Pfau 8d6edf9033 GB Video: mVL bounds checking 2017-04-29 01:39:45 -07:00
Vicki Pfau 1731d4f975 Test: Don't rely on core for frames elapsed 2017-04-29 01:39:45 -07:00
Vicki Pfau 9b0a5e566e GB Video: Fix proxy renderer for GBC 2017-04-29 01:39:12 -07:00
Vicki Pfau 3dbd49a307 GB, GBA Video: Put back missing finishFrame callback 2017-04-29 01:39:12 -07:00
Vicki Pfau d4deaf6292 GB: Video tester 2017-04-29 01:39:12 -07:00
Vicki Pfau 1b6531e320 Core: Add more video log types 2017-04-29 01:39:12 -07:00
Vicki Pfau db4a873d9c GB: Rearrange some scheduling for better callback ability 2017-04-29 01:39:11 -07:00
Vicki Pfau 3b69fb767c Feature: Make thread proxy generic 2017-04-29 01:39:11 -07:00
Vicki Pfau b8593bdb7b Core: Allow video playback to be non-blocking 2017-04-29 01:39:11 -07:00
Vicki Pfau 3f92b1e67f GBA Video: Trim down GBAVideoProxyRenderer 2017-04-29 01:39:11 -07:00
Vicki Pfau fbb02475da VFS: Optimize expanding in-memory files 2017-04-29 01:39:11 -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
Anty-Lemon a861af6a97 Qt: Fix builds without GDB stub and libpng 2017-04-29 01:38:37 -07:00
Anty-Lemon a5f029c2fa GBA: Fix typo of GBAIsBIOS 2017-04-27 11:02:56 -07:00
Anty-Lemon d84cee4700 SDL: Fix GLES2 build 2017-04-27 11:02:27 -07:00
Anty-Lemon d68a4f97c5 SDL: Fix software renderer build 2017-04-27 11:02:27 -07:00
Augustin Cavalier 953335846b All: Fix build on Haiku. 2017-04-26 12:15:16 -07:00
Lothar Serra Mari c4e06cc904 Qt: Update German GUI translation
Some new strings added and a few strings polished.
2017-04-25 12:49:39 -07:00
Vicki Pfau bcf0e8ec59 GBA: Fix multiboot loading resulting in too small WRAM 2017-04-25 11:58:05 -07:00
Vicki Pfau 870c375cf6 Test: Fix crash when fuzzing fails to load a file 2017-04-24 13:39:21 -07:00
Vicki Pfau 422c3a25b8 GBA Hardware: Fix crash if a savestate lies about game hardware 2017-04-24 13:39:21 -07:00
Vicki Pfau 93122df1f4 Test: Fix crash when loading invalid file 2017-04-24 13:39:20 -07:00
Vicki Pfau 6fb7c0780a Qt: Handle interrupting CLI debugger better (fixes #697) 2017-04-22 18:40:55 -07:00
Vicki Pfau 36c66e7db4 Qt: Fix logo missing with integer scaling (fixes #696) 2017-04-22 18:29:10 -07:00
Vicki Pfau 3b4ccb84d2 Qt: Fix several debugger hangs and odd cases (fixes #691) 2017-04-22 01:39:21 -07:00
Vicki Pfau 8c095ec885 Qt: Fix crash when first CLI command is empty (fixes #693) 2017-04-22 00:41:58 -07:00
Vicki Pfau 2d930cbc61 All: Add option to lock video to integer scaling 2017-04-21 18:13:16 -07:00
Vicki Pfau 69a30f9501 Qt: Fix build 2017-04-21 17:50:22 -07:00
Vicki Pfau 189169e8ec Qt: Auto-generate audio/video layer menus 2017-04-21 17:31:04 -07:00
Vicki Pfau 3a8c5c4bf1 GB: Video/audio channel enabling/disabling 2017-04-21 17:30:30 -07:00
Vicki Pfau 2a7f642d4c Qt: Fix regression with windows not closing 2017-04-21 16:38:26 -07:00
Vicki Pfau 84dc182a5d Core: Fix crash with rewind if savestates shrink 2017-04-21 16:22:48 -07:00
Vicki Pfau 01832ec513 Qt: Ensure CLI backend is attached when submitting commands (fixes #662) 2017-04-21 16:21:50 -07:00
Vicki Pfau 8b805b3909 Debugger: Make attaching a backend idempotent 2017-04-21 16:20:52 -07:00
Vicki Pfau a159e37793 GBA Video: Don't update background scanline params in mode 0 (fixes #377) 2017-04-21 03:15:39 -07:00
Vicki Pfau 14dc01409c GBA BIOS: ArcTan/ArcTan2 residual register state 2017-04-21 00:01:35 -07:00
Vicki Pfau b154457857 GBA BIOS: More tiny fixes to ArcTan2 2017-04-20 23:18:51 -07:00
Vicki Pfau f4abdd6c4c GBA BIOS: Fix ArcTan2 sign in HLE BIOS (fixes #689) 2017-04-20 17:59:02 -07:00
Vicki Pfau c9d411a762 GBA BIOS: Fix ArcTan sign in HLE BIOS 2017-04-20 17:53:01 -07:00
Vicki Pfau 997ba3572b PSP2: Minor touchups 2017-04-20 01:41:43 -07:00
Vicki Pfau f116713f2e Python: Fix build in some cases 2017-04-18 17:26:30 -07:00
Vicki Pfau b65992a1b8 PSP2: Update for new toolchain 2017-04-17 01:12:23 -07:00
Vicki Pfau b486223532 GB, GBA: Make ensure clock end frame is always the same 2017-04-15 21:25:07 -07:00
Vicki Pfau 0c917138ea Qt: Code cleanup 2017-04-13 00:28:41 -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 58c9bcf67a Core: Ability to enumerate and modify video and audio channels 2017-04-12 13:28:21 -07:00
Vicki Pfau 9ced6724c1 Qt: Attempt to fix #622 2017-04-12 13:23:10 -07:00
Vicki Pfau d16df69790 Feature: Command line ability to override configuration values 2017-04-11 22:20:37 -07:00
Vicki Pfau bf716b947a Util: Move StringList to string.c 2017-04-11 22:18:33 -07:00
Vicki Pfau 7dc9eb4d56 Feature: Make -l option explicit 2017-04-11 22:18:33 -07:00
Vicki Pfau f8eef19bd6 Qt: Remove debug messages 2017-04-11 11:05:53 -07:00
Vicki Pfau 7bc6c579ce Qt: Ensure audio processor is paused before closing thread 2017-04-09 23:34:23 -07:00
Vicki Pfau 473ae29d82 GBA: Add GBA luminance peripheral 2017-04-09 19:47:19 -07:00
Vicki Pfau e063e05662 Core: Unify peripheral attachment 2017-04-09 19:46:52 -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 f0ea421fea Qt: Fix Qt5Network removal 2017-04-08 23:45:07 -07:00
Vicki Pfau 7784ecb2c5 Qt: Fix threading issues shutting down game audio 2017-04-07 22:21:41 -07:00
Vicki Pfau 19d0ca3b8b Qt: Fix crash when changing audio settings after a game is closed 2017-04-06 11:54:13 -07:00
Vicki Pfau 2fbd31c51a Qt: Make "Mute" able to be bound to a key (fixes #559) 2017-04-05 13:17:30 -07:00
waddlesplash 81f38fd76f SDL: Fix build on MSVC. 2017-04-04 11:51:46 -07:00
Vicki Pfau 6a77d2aaea FFmpeg: Force MP4 files to YUV420P 2017-04-04 02:02:29 -07:00
Vicki Pfau d9b645b209 FFmpeg: Return false if a file fails to open 2017-04-04 02:01:06 -07:00
Vicki Pfau 133424bd4f FFmpeg: Fix overflow and general issues with audio encoding 2017-04-04 02:00:10 -07:00
Vicki Pfau ba65740b15 GB: Allow setting DMG palette 2017-04-03 14:32:21 -07:00
Vicki Pfau f73fd7f3da GB: Fix flickering when screen is strobed quickly 2017-04-03 14:31:50 -07:00
Vicki Pfau 232e67f529 SDL: Fix race condition with audio thread when starting 2017-04-03 12:20:28 -07:00
Vicki Pfau 4a38f9b979 Qt: Simplify high-framerate fix (fixes #545) 2017-04-03 10:54:56 -07:00
Vicki Pfau 35b5626053 SDL: Fix game crash check 2017-04-02 16:49:35 -07:00
waddlesplash 10fe4a743c Qt: Show native directory separators in the GUI.
The core still gets '/'s always (it chokes on '\'s), but the Qt
interface always uses the native separators.

In the process of doing this, also removed the custom FileDialog
subclass and made everything use GBAApp::get*FileDialog instead.

Also fixes #552, because I had to change that code anyway.
2017-04-02 16:33:24 -07:00
Vicki Pfau 5d13a00cf7 GB Video: Fix frame end callbacks not getting called while screen is off 2017-04-02 00:37:33 -07:00
Vicki Pfau 4449361f5c Qt: Fix setting audio and video sync without reloading the game 2017-04-01 14:10:46 -07:00
waddlesplash 40f87518be Qt: Don't link against SDLMAIN, Qt already handles that. (#551) 2017-03-29 20:46:20 -07:00
Vicki Pfau 874ad93f4d GBA Memory: Fix copy-on-write for ROM when executing in ROM 2017-03-29 19:00:38 -07:00
Jeremy Herbert 93dbae1e5f Fix GDB stub reporting of CPSR 2017-03-28 21:51:15 -07:00
Vicki Pfau e838c4fb0e Qt: Add HEVC and NVENC to video formats 2017-03-26 12:24:45 -07:00
Vicki Pfau aff1486ec5 Qt: Fix host check 2017-03-26 10:51:34 -07:00
Vicki Pfau b22796aff7 Qt: Restore deploy-mac.py and only use when cross-compiling 2017-03-26 10:34:17 -07:00
Vicki Pfau e1c158c49a Qt: Remove QtNetwork dependency 2017-03-26 10:34:17 -07:00
Vicki Pfau ea1c857351 Windows: Fix VDir.rewind 2017-03-24 23:01:34 -07:00
Vicki Pfau fbda6d8a1c Qt: Renable QtMultimedia on Windows 2017-03-24 14:00:07 -07:00
Vicki Pfau 24270af49b Qt: Remove audio buffer sizing in AudioProcessorQt 2017-03-24 13:59:42 -07:00
Vicki Pfau 03f96911bb Qt: Remove audio thread 2017-03-24 13:24:02 -07:00
Vicki Pfau cca3a94617 GB Core: Fix uninitialized variable 2017-03-22 15:47:33 -07:00
Vicki Pfau 678d8293eb Tools: Replace deploy-mac with BundleUtilities 2017-03-22 14:26:02 -07:00
Vicki Pfau 91c0f95e5f Core: Only attempt to open BIOS if the path is non-null 2017-03-20 17:37:20 -07:00
Vicki Pfau af2db9073c Core: Fix typo 2017-03-20 17:30:08 -07:00
waddlesplash cd6065d78b CMakeLists: Fix SDL-less build when there is no SDL on the system. 2017-03-20 10:42:57 -07:00
waddlesplash 15b4df3b2b Fix the build on MSVC. 2017-03-16 13:26:21 -07:00
Vicki Pfau 40e9dfcf5c Qt: Improve library usage 2017-03-16 11:47:52 -07:00
Vicki Pfau 45844301f6 Qt: Fix library view being parented improperly 2017-03-16 11:47:52 -07:00
Vicki Pfau 40ff1ea0c4 GB Serialize: Fix clearing timing when loading state 2017-03-05 17:54:36 -08: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 6363a08178 Util: Add enumeration over a configuration section 2017-03-05 17:23:08 -08:00
Vicki Pfau 726986e447 Util: Add startswith 2017-03-05 17:22:24 -08:00
Vicki Pfau 000f232c58 Core: Begin log revamp 2017-03-05 15:58:00 -08:00
Vicki Pfau e0c2b3d682 GBA Video: Fix wrong palette on 256-color sprites in OBJWIN 2017-03-03 18:51:50 -08:00
Vicki Pfau ba3b068df4 Core: Savestates now contain any RTC override data 2017-02-17 18:19:17 -08:00
Vicki Pfau 17cfee015d GBA: Ignore invalid opcodes used by the Wii U VC emulator (fixes #471) 2017-02-13 14:14:44 -08:00
Vicki Pfau 36553b89d0 GB Audio: Fix audio frame timer deserialization 2017-02-13 02:21:26 -08:00
Vicki Pfau 012f0a3329 Qt: Handle invalid libraries 2017-02-11 15:45:38 -08:00
endrift 50defa2ecd Merge pull request #511 from rootfather/mgba-de
Qt: Add German GUI translation
2017-02-10 16:14:25 -08:00
Vicki Pfau 903ea6bc19 GBA, GB: Fix FrameStarted callback 2017-02-09 22:32:56 -08:00
Vicki Pfau 3034253e53 GBA Timers: Fix timer count when disabling (fixes #519) 2017-02-08 23:49:42 -08:00
Vicki Pfau 3ac0b20ff8 Core: Cores can now have multiple sets of callbacks 2017-02-08 11:34:27 -08:00
Vicki Pfau be3e884ba5 Qt: Fix linking after some windows have been closed 2017-02-07 15:42:39 -08:00
rootfather 00a01c7a89 Qt: Add German GUI translation 2017-02-05 08:57:31 +01:00
Vicki Pfau af96097bb1 Qt: Update strings 2017-02-04 18:34:54 -08:00
Vicki Pfau f302df9178 All: Add option for whether rewinding restores save games 2017-02-04 18:34:54 -08:00
Vicki Pfau d2016e382a GB, GBA: Improve savestate loading in new timing system 2017-02-04 18:34:54 -08:00
Vicki Pfau 30ec43741b GBA I/O: Handle audio registers specially when deserializing 2017-02-04 18:34:54 -08:00
Vicki Pfau f17840169e Qt: Fix missed renamed string 2017-02-04 12:26:58 -08:00
Vicki Pfau 7fd25804f5 GBA: Fix freeze when loading a savestate that was in the middle of saving 2017-02-04 11:49:07 -08:00
Vicki Pfau 1bb496d0fe GBA Video: Optimize when BLD* registers are written frequently 2017-02-03 16:50:05 -08:00
Vicki Pfau aaec68ee48 LR35902: Fix LD x, (HL) disassembly (fixes #513) 2017-02-02 20:04:45 -08:00
Vicki Pfau e25db55ac5 Qt: Rename "Resample video" option to "Bilinear filtering" 2017-02-02 16:37:48 -08:00
Vicki Pfau ae60489d99 Qt: Add export capability for sprites 2017-02-02 16:34:18 -08:00
Vicki Pfau f3b66397a2 Core: Extend tile cache to return raw bits 2017-02-02 16:33:48 -08:00
Vicki Pfau cea83a5444 Util: Add 8-bit PNG write support 2017-02-02 16:33:27 -08:00
Vicki Pfau e4d3aefb4a Qt: Clean up ObjView 2017-02-02 15:08:05 -08:00
Vicki Pfau bb1965a8d0 Qt: Fix race condition in AssetView 2017-02-02 09:59:28 -08:00
Vicki Pfau 1ab6d36fa2 GBA Memory: Fix build 2017-02-01 14:07:13 -08:00
Vicki Pfau 28a3ac50a6 GBA, GB: ROM is now unloaded if a patch is applied 2017-02-01 13:59:43 -08:00
Vicki Pfau af77e5ab62 Util: Fix overflow when loading invalid UPS patches 2017-02-01 13:21:26 -08:00
Vicki Pfau 181c05c7ac GBA Hardware: Fix GBP event scheduling 2017-02-01 09:37:06 -08:00
Kevin Doncam Demian López Brante 6758c97c1e Qt: Created Spanish translation 2017-01-31 23:12:31 -08:00
Kevin Doncam Demian López Brante 7e909803bc Qt: Surrounded remaining strings with tr() 2017-01-31 23:12:31 -08:00
Vicki Pfau 1e7a62fbb3 Revert "ARM: Overhaul PSR access"
This reverts commit 37f5feb713 and fixup commits.
2017-01-31 11:46:24 -08:00
Vicki Pfau 3f2454a85a Qt: Update translation base 2017-01-31 11:27:45 -08:00
Vicki Pfau 16296b67b2 Qt: Fix loading translations 2017-01-31 11:27:18 -08:00
Vicki Pfau 690eae25dd Qt: Fix game restarting erroneously when selecting a BIOS 2017-01-31 11:24:11 -08:00
Vicki Pfau dc317e952e GBA Savedata: Fix savedata unmasking (fixes #441) 2017-01-31 00:34:40 -08:00
Vicki Pfau f5a7c53b6e Qt: Autosize rows in library view 2017-01-29 22:50:59 -08:00
Vicki Pfau 1c3162da53 ARM: Slightly optimize CARRY check 2017-01-28 12:16:26 -08:00
Vicki Pfau 8bcd987160 Third-Party: Add SQLite3 as an external 2017-01-28 11:41:04 -08:00
Vicki Pfau 0fadc1e11d ARM: Fix some warnings 2017-01-28 11:26:09 -08:00
Vicki Pfau b17d2d11c3 ARM: Fix build 2017-01-28 11:15:30 -08:00
Vicki Pfau 37f5feb713 ARM: Overhaul PSR access 2017-01-28 11:11:59 -08:00
Vicki Pfau 849f80e7a1 Qt: Improve size column display 2017-01-27 16:56:13 -08:00
Vicki Pfau 46782f16a0 GBA Savedata: Transition saving to new timoing system 2017-01-27 16:36:01 -08:00
Vicki Pfau 243c2b330f Qt: Add CRC32 column to library view 2017-01-27 11:50:09 -08:00
Vicki Pfau 54b889df8c Qt: Cross-reference CRCs with game database 2017-01-27 01:56:10 -08:00
Vicki Pfau 12a5b6c0bd GUI: Fix crashing when attempting to read config (fixes #505) 2017-01-26 21:15:55 -08:00
Vicki Pfau 91fd2c6b47 Qt: Begin library view 2017-01-26 13:18:00 -08:00
Vicki Pfau 480415c51e Qt: Fix build 2017-01-24 22:28:24 -08:00
Vicki Pfau a4cace1135 Qt: Initialize SDL player struct 2017-01-24 22:22:33 -08:00
Vicki Pfau 42db828235 Qt: Share handles to libraries 2017-01-24 16:54:20 -08:00
Vicki Pfau b5c103e187 Qt: Refactor out library viewer 2017-01-24 16:47:04 -08:00
Vicki Pfau d2bf16b872 Qt: Automatically load controller profile when plugged in 2017-01-23 23:38:13 -08:00
Vicki Pfau 2da3d3e6ba SDL: Automatically map controllers when plugged in 2017-01-23 23:09:31 -08:00
Vicki Pfau 2f14f58911 Qt: Merge "Save" and "OK" buttons in shader options 2017-01-23 22:18:14 -08:00
Vicki Pfau 34b7bb2e1e Qt: Fix sprites disappearing in sprite view 2017-01-23 21:45:59 -08:00
Vicki Pfau 5ac712c54c Qt: Fix crash when loading game with an asset view open 2017-01-23 21:45:39 -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
Jeffrey Pfau d8687d32c4 Qt: Fix timing issues on high refresh rate monitors 2017-01-20 15:26:41 -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 3d113112c4 Qt: Fix non-SQLite3 build 2017-01-18 13:42:14 -08:00
Vicki Pfau 2e3daaedc2 Feature: Support ImageMagick 7 2017-01-18 12:51:05 -08:00
Vicki Pfau 8dde1b5654 Qt: Move library loading to a separate thread 2017-01-18 11:57:09 -08:00
Vicki Pfau ac2097f0b6 Core: Back mLibraries with a shared database 2017-01-18 11:41:03 -08:00
Vicki Pfau c11551a1f7 Qt: Make ConfigController::configDir static 2017-01-18 01:36:06 -08:00
Vicki Pfau 22a36e0af9 Core: Add generic checksum function 2017-01-17 18:29:58 -08:00
Jeffrey Pfau 9942c1d444 No-Intro: Make sure to commit pending transactions 2017-01-11 23:12:23 -08:00
Jeffrey Pfau 6078232af0 No-Intro: Improve parsing performance 2017-01-11 23:02:27 -08:00
Jeffrey Pfau d20e64f96d VFS: Fix some minor VFile issues with FILEs 2017-01-11 22:22:44 -08:00
Jeffrey Pfau dc96bdda85 GB Audio: Start implementing "zombie" audio (fixes #389) 2017-01-11 03:32:01 -08:00
Jeffrey Pfau 62718fce45 GB Video: Fix mode end events when turning off LCD 2017-01-11 01:46:49 -08:00
Jeffrey Pfau 0b6bc9ae82 GB MBC: Fix ROM bank overflows getting set to bank 0 2017-01-11 01:35:53 -08:00
Jeffrey Pfau ae12068d2f LR35902: Fix pc overflowing current region off-by-one 2017-01-11 01:35:06 -08:00
Jeffrey Pfau 712abdeb0f Qt: Fix non-SQLITE build 2017-01-10 23:38:58 -08:00
Jeffrey Pfau c0c903eb3e Qt: Fix non-SQLITE build 2017-01-10 23:27:24 -08:00
Jeffrey Pfau dc41b7cae2 Qt: Fix non-SQLITE build 2017-01-10 23:16:23 -08:00
Jeffrey Pfau 9e7d2edd4f Qt: Load No-Intro DB on a thread 2017-01-10 20:13:34 -08:00
Jeffrey Pfau d6e5283b9e Feature: Move game database from flatfile to SQLite3 2017-01-10 00:49:56 -08:00
Jeffrey Pfau 246142fd55 Qt: Expose configuration directory 2017-01-10 00:49:56 -08:00
Jeffrey Pfau 076855deb1 LR35902: Print address when disassembling 2017-01-05 01:03:26 -08:00
Jeffrey Pfau c621677a6a Qt: Improved HiDPI support 2017-01-05 00:39:30 -08:00
Jeffrey Pfau b5b559498b LR35902: Fix disassembling multiple lines 2017-01-05 00:10:15 -08:00
Jeffrey Pfau 7fe7749797 LR35902: Add disassembler 2017-01-05 00:02:12 -08:00
Jeffrey Pfau 68985d88e9 Libretro: Fix saving in GB games (fixes #486) 2017-01-04 16:03:00 -08:00
Jeffrey Pfau 61a657afcf Qt: Fix non-GB build 2017-01-04 15:47:08 -08:00
Jeffrey Pfau 3f61f68f22 GBA: Fix multiboot ROM loading 2017-01-01 22:04:04 -08:00
Jeffrey Pfau 180418a74f ARM7: Fix MLA/*MULL/*MLAL timing 2017-01-01 14:46:58 -08:00
Jeffrey Pfau 2c52c55efc Windows: Fix VDir unitialized variable 2016-12-31 01:47:51 -08:00
Jeffrey Pfau 978349d765 Windows: Fix build 2016-12-30 23:46:07 -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 19b164d560 Libretro: Fix disabling BIOS 2016-12-28 19:16:33 -08:00
Jeffrey Pfau 2d02719fa5 Revert "GBA Video: Fix out-of-order OBJWIN"
This reverts commit f34f45257a.
2016-12-28 19:05:57 -08:00
Jeffrey Pfau d752df421f 3DS: Fix build 2016-12-27 04:12:15 -08:00
Jeffrey Pfau 20367765b8 GUI: Fix build 2016-12-27 04:03:44 -08:00
Jeffrey Pfau 9cbbd9f255 GBA I/O: Set JOYSTAT TRANS flag when writing JOY_TRANS registers 2016-12-27 03:48:41 -08:00
Jeffrey Pfau 75d9085eef GBA I/O: Clear JOYSTAT RECV flag when reading JOY_RECV registers 2016-12-27 02:11:54 -08:00
Jeffrey Pfau 463ce99739 All: Include cleanup 2016-12-26 23:27:32 -08:00
Jeffrey Pfau 03ca7515b3 GBA SIO: Add some basic JOY bus constants 2016-12-26 22:26:31 -08:00
Jeffrey Pfau f7ac90d74e Util: Add ifndef guard for UNUSED define 2016-12-26 21:02:57 -08:00
Jeffrey Pfau 2f1cb61d01 All: Add C++ header guards 2016-12-26 21:01:55 -08:00
Jeffrey Pfau daaa2fa523 GB SIO: Support faster transfer speeds 2016-12-26 17:20:51 -08:00
Jeffrey Pfau c662b59e99 GB: Allow player 2 to act as shift clock 2016-12-26 17:13:53 -08:00
Jeffrey Pfau 269b18d8aa GB SIO: Some fixes 2016-12-26 16:46:51 -08:00
Jeffrey Pfau ceea51b55e GB: First pass at lockstep multiplayer 2016-12-25 20:39:11 -08:00
Jeffrey Pfau 361e8e95b4 Python: Make Python bindings depend on library 2016-12-25 15:23:53 -08:00
Jeffrey Pfau 91a503397b Core: Update flags.h 2016-12-25 15:22:40 -08:00
Jeffrey Pfau f9caf8541a SDL: Update sdl-gles2.c 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 55a9bf3ca7 All: Fix broken #ifdefs 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 74803ac15b Python: Add slicing to memory operations 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 2706cf991d Python: Make cartridge memory size cap properly 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 6f591996a8 Python: Add hook preventing functions that need resets from being called 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 3310210dc7 Python: Add NullLogger 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 3496449517 Python: Flags cleanup 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 e2bcd2e05a Python: Add memory access 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 572eb40d42 Python: Add key functions 2016-12-25 15:22:40 -08:00
Jeffrey Pfau adc45c9bdc Python: Add more mCore functions 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 9d44445d64 Python: Much cleaner LR35902 access 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 471bbf1da5 Python: Sprite access in GB core 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 9a104508ac Python: Add support for 256-color sprites 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 9b915fb13d Python: Add GBA sprite accessors 2016-12-25 15:22:40 -08:00
Jeffrey Pfau a9ccb0fdd7 Python: Clean up Core interface so boards inherit Core 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 303a7685a2 Python: Reindent, fix up TileView interface 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 5e0641cb0e Python: Add some tile manipulation 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 3565868936 Python: Fix Linux build 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 1dff579ad4 Python: Add basic logging interface 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 33295b1297 Python: Python 3 support 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 0723646354 Python: Add image and PNG-write bindings 2016-12-25 15:22:40 -08:00
Jeffrey Pfau f5312fef78 Python: VFS fixes 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 511261b0ff Python: Add license headers 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 606d35ba6c Python: Add VFS bindings 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 0d1d5c988e Python: Basic setup.py 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 99a85aaf3a Debugger: Fix build 2016-12-25 15:22:40 -08:00
Jeffrey Pfau a0b794364f Python: More basic framework 2016-12-25 15:22:40 -08:00
Jeffrey Pfau d53497cb32 Python: More binding skeleton 2016-12-25 15:22:40 -08:00
Jeffrey Pfau bd7b394e49 All: Unfortunate evils committed in the name of pycparser 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 f72a582382 Debugger: Fix included file 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 4ac4733cfd GBA SIO: Convert GBP to mTiming 2016-12-25 15:22:22 -08:00
Jeffrey Pfau 49c8ad1b02 All: Remove out-of-date function declarations 2016-12-25 14:55:02 -08:00
Jeffrey Pfau b515214fbe GB Audio: Reoptimize channel 4 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 0bf0975a5d GB: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 9aa6d8fe3c GBA: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 81416863a5 GBA DMA: Remove `hasStarted` flag 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 1c93b75b7e GBA DMA: Move DMAs to using absolute timing 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 327c3e78c6 GBA DMA: Refactor DMA out of memory.c 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 82a0088e1e GBA SIO: Convert to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau 86571c8496 GB: Convert EI to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau e429d726dc GB Memory: Fix HDMAs 2016-12-25 10:56:48 -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 d08a0fef01 GBA Memory: Optimize DMA 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 2a0c53441a GBA Audio: Convert audio sampling to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau bb1c47c7e8 GB Audio: Convert audio to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 5b50c43857 GBA Video: Convert video to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau c056acb98f GBA Memory: Convert DMAs to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 74bb02065d GB, GBA: Properly handle late cycles this time 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 4680a767c6 Core: Manage next event internally to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau a506f6cd9d GBA: Convert timers 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 6243b7fd3b GB: Convert SIO events to mTiming 2016-12-25 10:07:54 -08:00
Jeffrey Pfau e2357f0b70 GB: Convert memory events to mTiming 2016-12-25 10:07:54 -08:00
Jeffrey Pfau d831de205f Core, GB: Start new timing interface 2016-12-25 10:07:54 -08:00
Jeffrey Pfau c662d779a6 GB Audio: Fix performance regression 2016-12-25 10:03:28 -08:00
Jeffrey Pfau 85285a68e5 GB Memory: Reset ROM bank when loading a ROM 2016-12-24 21:22:29 -08:00
Jeffrey Pfau e32c0673da GB Audio: Reset envelope timer when reseting sound channel (fixes #287) 2016-12-24 03:41:39 -08:00
Jeffrey Pfau eaec17488e GB Video: Hblank IRQs should mask LYC=LY IRQs (fixes #466) 2016-12-23 17:13:10 -08:00
Jeffrey Pfau 2bd8dd2fa2 GB Memory: Fix HDMA5 value after DMA completes 2016-12-23 16:40:50 -08:00
Jeffrey Pfau 9d54e242e3 GBA I/O: Mask off WAITCNT bits that cannot be written (fixes #457) 2016-12-23 15:41:11 -08:00
Jeffrey Pfau 6eadd35ee6 Debugger: Add functions for read- or write-only watchpoints 2016-12-23 15:40:24 -08:00
Jeffrey Pfau 55505f79a9 GB Video: Initialize LCDC in renderer 2016-12-22 18:55:46 -08:00
Jeffrey Pfau 974c41e8cf GB Audio: Initialize wave RAM to GBC values 2016-12-22 15:38:34 -08:00
Jeffrey Pfau 8ac6f83bc5 GB Audio: Refactor and improve audio emulation 2016-12-22 14:33:50 -08:00
Jeffrey Pfau 053598fa7f GB Audio: Simplify envelope code 2016-12-21 18:44:08 -08:00
Jeffrey Pfau c83833bfd4 Qt: Fix Apply button for key and controller configurations 2016-12-20 21:20:52 -08:00
Jeffrey Pfau b5c62da070 GB: Properly initialize sramRealVf variable 2016-12-20 18:05:32 -08:00
Jeffrey Pfau 5ba2d00504 3DS, PSP2, Wii: Last directory loaded is saved 2016-12-20 01:49:19 -08:00
Jeffrey Pfau 20f8cdc3e0 Qt: Move last directory setting from qt.ini to config.ini 2016-12-20 01:35:07 -08:00
Jeffrey Pfau d7d48e605b GB Audio: Fix serialization of channel 3 and NR52 properties 2016-12-19 18:56:24 -08:00
Jeffrey Pfau bf2aa98338 GB: Fix crash when masking savedata 2016-12-19 18:48:05 -08:00
Jeffrey Pfau 85367c3713 GBA: Only unhalt CPU if appropriate bit is set in IE 2016-12-11 20:39:14 -08:00
Jeffrey Pfau 3415484d9d GBA Video: Fix out of bounds sprite transforms 2016-12-11 17:55:41 -08:00
Jeffrey Pfau 4085b9cdc5 GBA: Only unhalt CPU if an IRQ actually fires 2016-12-08 20:44:29 -08:00