Commit Graph
8970 Commits
Author SHA1 Message Date
Unknown W. Brackets eb4b59b530 arm64jit: Enable breakpoints.
Memory breakpoints not yet really tested.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 395ac32d63 Debugger: Run memory breakpoints on mobile. 2018-06-06 17:31:56 -07:00
Unknown W. Brackets ffa4c18f6c Core: Remove sleep on stepping.
This doesn't seem needed and has been there since day 1.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 97b0c17038 Core: Wake up inactive waits on game exit.
Fixes menu hangs since the refactor.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 3c8cc5ab64 Debugger: Fix initialization issues.
Sometimes temp breakpoints had log set by accident.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets c15ade3b1b Core: Refactor stepping and locking.
This should fix some race conditions with the cond vars.
2018-06-06 17:31:56 -07:00
Henrik RydgårdandGitHub df699c67b2 Merge pull request #10960 from unknownbrackets/debugger-json
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik RydgårdandGitHub f9cfb05895 Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Henrik RydgårdandGitHub bc6f211724 Merge pull request #11093 from unknownbrackets/debugger-armips
Include armips assembler in build
2018-06-06 20:41:20 +02:00
Henrik RydgårdandGitHub 708ea740d2 Merge pull request #11094 from unknownbrackets/ctrl-minor
Ctrl: Always mark non-user buttons released.
2018-06-06 20:15:23 +02:00
Henrik RydgårdandGitHub 3d12f9acc2 Merge pull request #11132 from unknownbrackets/reporting
Reporting: Provide suggestions on negative compat reports
2018-06-06 20:14:58 +02:00
Henrik RydgårdandGitHub 67fec95c59 Merge pull request #11145 from unknownbrackets/qt-texreplace
Qt: Load texture replacement images
2018-06-06 20:14:33 +02:00
Unknown W. Brackets 289928a170 Sas: Correct calculation of VAG end.
Not sure why everything is negative one indexed, but this prevents reading
beyond the size of the buffer.

This shouldn't change sound output, but it may fix a crash if VAG is at
the edge of memory (unlikely, though.)
2018-06-06 06:08:31 -07:00
Unknown W. Brackets b56e3e8e94 Sas: Correct delay in playing samples.
We still need to walk during the delay to "use it up."  Need to test more
to see if we can just walk once directly into ATTACK - might depend on
pitch.

This also makes the first play ignore the resampleHist, which matches
samples to tests properly, and ignores linear interp for exact pitch.

These changes fix all the sascore tests that used to work.
2018-06-06 06:04:25 -07:00
Unknown W. Brackets 082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Unknown W. Brackets 6fbd0e27bb Core: Remove some unused coreState funcs. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets 0f84c2e995 Debugger: Consistently handle invalid addresses. 2018-06-06 05:58:49 -07:00
Unknown W. Brackets 0b8359fd77 Debugger: Add mutexing to disassembly manager.
It was crashing when accessing from another thread.

If in the future we go down to only the remote debugger, we could
potentially remove this.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets 77609bbea2 Debugger: Track a counter when entering stepping.
This allows us to poll coreState and know if a new stepping needs to be
sent.  This is useful to allow e.g. regs to show changes per step.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets e9cc1ee463 Debugger: Allow multiple clients more properly.
Otherwise we lose wakeups and hang.
2018-06-06 05:58:49 -07:00
Unknown W. Brackets fcabc319e1 Qt: Load texture replacement images.
Still doesn't save, but at least it can use packs.
2018-06-06 05:57:26 -07:00
Unknown W. Brackets 4cbfb4aa98 Reporting: Provide suggestions on negative reports.
Based on other reports, try suggesting settings to change or actions to
take.  Fairly rudimentary currently.
2018-06-06 05:55:31 -07:00
Unknown W. Brackets e69e844623 Ctrl: Always mark non-user buttons released.
This matches behavior on real firmware and fixes a test failure.
2018-06-06 05:54:39 -07:00
Unknown W. BracketsandGitHub 07e178a2da Merge pull request #10922 from hrydgard/gpu-device-choice
GPU device choice for D3D11 and Vulkan
2018-06-06 08:50:32 -04:00
Henrik RydgårdandGitHub b22c488588 Merge pull request #11012 from unknownbrackets/devkit
Update default firmware version to 6.60
2018-06-06 10:26:55 +02:00
Henrik RydgårdandGitHub 45f16f1ecd Merge pull request #11000 from unknownbrackets/savedata
Savedata: Respect secureVersion parameter
2018-06-06 10:26:27 +02:00
Henrik Rydgård 238521a297 Rename device choice config options as requested. 2018-06-06 10:24:16 +02:00
Henrik Rydgård 8ee3cd52e8 D3D11: Allow the user to select rendering device. 2018-06-06 10:20:12 +02:00
Henrik Rydgård b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Henrik Rydgård c1d113e0e9 When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
Or maybe we should make sure to only download within the width/height by
adding more clamps at the beginning of ReadFramebufferToMemory but seems
more dangerous.

Plus some minor things.

Should help #11113
2018-06-01 21:16:07 +02:00
Henrik Rydgård 7e756544ee Add a missing virtual destructor, fix a warning 2018-05-30 18:01:49 +02:00
Unknown W. Brackets 43b18578f4 Update default firmware version to 6.60.
Not many games call sceKernelDevkitVersion(), but we mostly match 6.60.

See also: https://report.ppsspp.org/logs/kind/883?status=any
2018-05-28 08:44:00 -07:00
Unknown W. Brackets c588046d99 Savedata: Respect secureVersion parameter.
This isn't used in many games, but see #10814.
2018-05-28 08:42:48 -07:00
Henrik Rydgård d7770307f3 Change some log levels to verbose 2018-05-27 21:53:27 +02:00
Henrik RydgårdandGitHub 3472d62fff Merge pull request #11061 from unknownbrackets/savestate
SaveState: Fix rename when undo disabled
2018-05-21 09:16:14 +02:00
Unknown W. Brackets 037a20e7c7 SaveState: Fix rename when undo disabled.
On Windows, for example, the rename target cannot exist.

This also fixes the screenshot rename for the undo.
2018-05-20 20:51:29 -07:00
Henrik RydgårdandGitHub 3733669112 Merge pull request #11058 from unknownbrackets/load-fail
Core: Shutdown properly on load failure
2018-05-20 23:48:11 +02:00
Unknown W. Brackets 9b6dee126d Core: Shutdown properly on load failure. 2018-05-20 14:17:01 -07:00
Henrik Rydgård 3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik RydgårdandGitHub 6615e55c5d Merge pull request #11024 from unknownbrackets/fps-hack
Display: Prevent delaying flips inside interrupts
2018-05-09 06:06:58 +02:00
Henrik RydgårdandGitHub c1bdb69687 Merge pull request #11022 from hrydgard/screen-brightness-fix
Android: Only keep the screen bright ingame.
2018-05-09 06:06:27 +02:00
Unknown W. Brackets d33b8643cb Display: Prevent delaying flips inside interrupts.
It causes us to run out of idle threads, and doesn't even make sense.
2018-05-08 18:32:25 -07:00
Unknown W. Brackets 3c698a5ddb Io: Prevent error when file locked for writing.
When reopening with file sharing flags fixed it, we shouldn't set error.
That would cause the open to still fail.
2018-05-08 18:25:15 -07:00
Henrik Rydgård a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02:00
Unknown W. Brackets f4e8e68c44 Io: Cleanup file not found error codes.
Replay (#10888) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Henrik RydgårdandGitHub b6472b562b Revert "Limit the flip delay in the other direction to try to work around #10763." 2018-05-02 10:07:37 +02:00
Henrik RydgårdandGitHub 900fa523db Merge pull request #10983 from unknownbrackets/savedata
Savedata: Report secureVersion param usage
2018-04-29 19:22:19 +02:00