Unknown W. Brackets
5bfba9b284
Debugger: Add HLE API funcs.
...
Lumping function symbols in here too, they're pretty related...
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
5670fc03ae
Debugger: Add debug interfaces for threads.
...
This way we can switch context.
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
395ac32d63
Debugger: Run memory breakpoints on mobile.
2018-06-06 17:31:56 -07:00
Henrik Rydgård
f9cfb05895
Merge pull request #10987 from unknownbrackets/debugger-core
...
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02: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
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
Henrik Rydgård
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å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
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
Henrik Rydgård
d7770307f3
Change some log levels to verbose
2018-05-27 21:53: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
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ård
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ård
35375691d7
Merge pull request #10944 from hrydgard/another-gow-timing-hack
...
Limit the flip delay in the other direction to try to work around #10763 .
2018-04-29 09:46:12 +02:00
Henrik Rydgård
5f9767d19e
Remove misleading log
2018-04-29 09:45:34 +02:00
Greg V
70c54a7d1a
Fix build with ffmpeg 4.0
2018-04-21 16:44:45 +03:00
Henrik Rydgård
687b5f92b1
Limit the flip delay in the other direction to try to work around #10763 .
2018-04-20 11:49:38 +02:00
Unknown W. Brackets
89186d8113
Replay: Initial structure for replay functionality.
2018-04-07 15:36:28 -07:00
Unknown W. Brackets
09e307b097
arm64jit: Update rounding mode on thread switch.
...
Since fcr31 is per-thread, we must update jit state when it changes.
This also fixes the rounding mode on load state and jit/interp switch.
2018-04-01 10:12:32 -07:00
Unknown W. Brackets
892c439fcf
Module: Clarify insertSymbols usage.
2018-03-17 13:58:56 -07:00
Unknown W. Brackets
f14f2efa79
Module: Hash functions only once during loading.
...
This fixes the loading speed regression from #10501 .
2018-03-17 13:36:37 -07:00
Henrik Rydgård
a0fa199ce3
Merge pull request #10715 from unknownbrackets/loading
...
UI: Show more detailed loading status
2018-03-13 10:44:07 +01:00
Unknown W. Brackets
88e01c7944
UI: Show more detailed loading status.
...
It's sometimes taking longer, so this may make it easier to identify.
See #10673 .
2018-03-12 18:06:46 -07:00
Henrik Rydgård
c1e05ae861
Let's not do immediate flips in non-buffered. Should help #10395
2018-03-11 17:42:16 +01:00
Henrik Rydgård
14c93bdc2b
Minor code/logging cleanups.
2018-02-27 19:44:11 +01:00
Unknown W. Brackets
6149ac584f
jit: Add interface to precompile functions.
...
This doesn't actually do any preloading yet, it just adds an API.
2018-01-06 16:43:38 -08:00
Unknown W. Brackets
29ed48c32a
Module: Avoid scanning stubs if possible.
...
In this case, we often scan some garbage, but let's reduce it at least.
2018-01-02 22:21:08 -08:00
Unknown W. Brackets
00a05e97ac
Module: Scan modules with no sections at all.
...
Also, fix some off-by-one issues with end addresses.
2018-01-02 22:20:09 -08:00
Unknown W. Brackets
30b2d05bac
Module: Correct detection of executable sections.
2018-01-02 21:53:13 -08:00
Unknown W. Brackets
6509f8b433
HLE: Reset latestSyscall on save state load.
...
Loading a save state might call functions which call HLE log, such as
AtracSetContext. This was outputting confusing log / reporting messages
based on a random recent syscall.
2018-01-01 08:57:08 -08:00
Unknown W. Brackets
28da05fa7a
HLE: Replace starocean framebuf clear func.
...
This reduces the performance impact significantly, by skipping the memset
uploads for each line.
Fixes #10466 .
2017-12-28 23:40:18 -08:00
Henrik Rydgård
95c2690416
Merge pull request #10464 from unknownbrackets/savestate
...
Module: Reload imports later in save state load
2017-12-28 00:17:26 +01:00
Unknown W. Brackets
caf6277db7
Module: Reload imports later in save state load.
...
We want all the modules to have loaded when we start doing this, so that
itnerlinking can properly be handled. Otherwise, earlier created modules
won't import later ones, and instead generate kernel object errors.
2017-12-27 13:36:26 -08:00
Unknown W. Brackets
f9750dd137
Display: Avoid limiting FPS without a clear.
...
A bit of a dirty heuristic to avoid the slowdown in #8538 .
2017-12-26 19:37:40 -08:00
Henrik Rydgård
4f1e0de9a9
Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too.
2017-12-20 11:24:05 +01:00
Henrik Rydgård
e488227398
Just some log cleanup
2017-12-15 16:33:49 +01:00
Unknown W. Brackets
1776726bd6
Display: Only reapply state on load.
...
Shouldn't be needed on save.
2017-12-09 21:54:48 -08:00
Unknown W. Brackets
6f99383733
Display: Reset cycle counter on load state.
2017-12-09 21:53:26 -08:00
Henrik Rydgård
54ff4c8822
Avoid multiple flips per frame, fixes immediate flip for God of War
2017-12-06 14:29:08 +01:00
Henrik Rydgård
4c720631c1
Add mitigation for games like GTA that never call sceDisplaySetFramebuf
2017-12-06 14:29:08 +01:00
Henrik Rydgård
522de63eed
Flip immediately if that's OK. This can save up to a frame of graphics latency, in games that display "immediately" instead of latched.
2017-12-06 14:29:08 +01:00
Unknown W. Brackets
b36a2c608b
Display: Correct max FPS limiting skew.
...
We were letting a percentage of too frequent flips through, causing
sometimes much higher FPS still. Improves performance in GoW.
2017-12-03 07:01:05 -08:00
Henrik Rydgård
d6b7cde718
Fix a use-after-free in sceKernelTerminateDeleteThread
2017-12-03 02:33:50 +01:00
Unknown W. Brackets
b2bb1b676e
Reporting: Oops, fix module load log line.
...
Typo from 0a36549 - meant to disable reporting.
2017-12-01 18:25:06 -08:00
Henrik Rydgård
8a0645859e
Merge pull request #10222 from unknownbrackets/minor
...
A few more reporting cleanups
2017-12-01 19:40:11 +01:00
Unknown W. Brackets
0dba5cebb2
Module: Cleanup magic number.
2017-12-01 09:38:23 -08:00
Henrik Rydgård
97ab91c3d5
Merge pull request #10221 from unknownbrackets/minor
...
Reporting: Disallow feedback for fake game ids
2017-12-01 18:36:20 +01:00
Unknown W. Brackets
0a365495cd
Reporting: Stop reporting module load versions.
...
We've got plenty of data, don't need to report anymore.
2017-12-01 09:29:17 -08:00
Unknown W. Brackets
a652617ba0
Adhoc: Remove incorrect thread create param.
...
This was the options pointer, not the attr, so was always generating an
error (which was also reported.) Also, we don't support kernel threads in
any real way, so let's just not pass the flag at all.
Same behavior as before, less the spurious error.
2017-12-01 09:25:21 -08:00
Henrik Rydgård
e29f904b56
Despam a sceDmacMemcpy report. Happens in Naruto Shippuden: Ultimate Impact, accordint to reports.
2017-12-01 11:17:08 +01:00