Commit Graph

4143 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
9a71ac726b Module: Stop reporting bad magic numbers.
We get these a lot, and they seem to be related to corrupt isos, not
related to actual emulation issues we can do anything about.

Even if there's a game trying to load an SFO as a PRX out there somewhere,
we'll never find it among all the noise.
2017-11-30 15:17:02 -08:00
Henrik Rydgård
6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Unknown W. Brackets
9af0397e84 Kernel: Fix delete thread null check. 2017-11-25 14:08:50 -08:00
Unknown W. Brackets
bd1ed897cf Global: Fix some warnings. 2017-11-25 14:08:49 -08:00
Henrik Rydgård
89f0ffc1bc Just reduce some log levels 2017-11-25 12:13:27 +01:00
LunaMoo
e78a644c00 spaces->underscores:) 2017-11-14 09:46:31 +01:00
LunaMoo
825e100614 Small changes. Thx [Unknown] 2017-11-14 07:42:58 +01:00
LunaMoo
aba4a4dfdb Change KernelTimeNow to KernelTimeNowFormatted and return nice timestamp. 2017-11-14 07:16:40 +01:00
LunaMoo
2ff4104ddf Requested changes. 2017-11-14 06:33:49 +01:00
LunaMoo
f8f4acc316 Blah;p. Buildfix. 2017-11-14 06:03:52 +01:00
LunaMoo
e698414f9b Add an option to allow resetting video/audio dump on save/load state. 2017-11-14 05:12:27 +01:00
LunaMoo
99ab8dfc99 Use gameID and emulated timestamp for Avi/Wav dump filenames. 2017-11-14 03:53:45 +01:00
Unknown W. Brackets
039c69f031 SaveState: Fix use-after-resize iterator.
Only on older save states.
2017-11-11 08:08:59 -08:00
Henrik Rydgård
62b24edde1 Fix some minor things found by running Sizer on PPSSPP
Sizer: https://github.com/aras-p/sizer
2017-11-08 16:56:48 +01:00
Henrik Rydgård
a827ad23ae Don't use "threadsafe events" for Ge stuff. 2017-11-06 00:27:51 +01:00
Henrik Rydgård
9e35144b96 Remove/deprecate GPU tick sync 2017-11-05 23:21:53 +01:00
Henrik Rydgård
26e52ca5e8 Get rid of a bunch of sync stuff that's no longer needed. 2017-11-05 23:21:49 +01:00
Henrik Rydgård
709a86a154 Fix savestates from before 1.4.2-420. Fixes #9998. Unfortunately this also breaks states between 420 and 468, so please save normally before upgrading if you were using one of those. 2017-10-04 10:34:46 +02:00
Henrik Rydgård
ce21642a61 Merge pull request #9978 from LunaMoo/ctrl_extra
Add more PSP keys(for some homebrew and cwcheats)
2017-09-28 18:51:16 +02:00