Unknown W. Brackets
292a9ea567
Clear module text and bss on unload.
...
Text is set to break instructions, data/bss to -1. Matches results on a
PSP.
2014-07-13 22:00:32 -07:00
Unknown W. Brackets
ede29179c6
Cleanup remaining modules on loadexec.
2014-07-13 22:00:31 -07:00
Unknown W. Brackets
729377881c
Protect against modules with no start address.
...
Generally, fake ones.
2014-07-13 19:58:30 -07:00
Unknown W. Brackets
4a94a30ba6
Calculate the module info data/text/bss size.
2014-07-13 19:53:00 -07:00
Unknown W. Brackets
1c7873e2f5
Fill the module info segment addresses and sizes.
2014-07-13 19:16:25 -07:00
Unknown W. Brackets
399d4d1ba9
Correct sceKernelModuleStart() return value.
2014-07-13 15:16:03 -07:00
Unknown W. Brackets
81096f6bd0
Hook Dissidia's avi record func.
...
This makes it so replays can be recorded. Though you could probably just
record separately anyway.
2014-07-13 08:36:34 -07:00
Unknown W. Brackets
98d3dc4be8
Typos.
2014-07-12 13:48:30 -07:00
Unknown W. Brackets
ef4847b6f5
Don't double decrease g_inCbCount.
...
Happened when a thread was deleted, it seems like. Fixes #6542 .
2014-07-12 09:57:13 -07:00
Unknown W. Brackets
b370621a3a
Fix sceCtrl buffer update timing drift.
...
Spotted by xsacha. Only when not using vblank timing (most commonly used
by games.)
2014-07-06 01:08:44 -07:00
Unknown W. Brackets
2910f7e7a2
Flush icache before memcpys.
...
Maybe there's a way to optimize this better...
2014-07-05 13:23:47 -07:00
Unknown W. Brackets
cd78e1676d
Fix savestates broken by #6493 .
2014-07-05 07:30:03 -07:00
Sacha
2bb87bbe23
HLE: sceUsb stubs.
2014-07-04 06:27:01 +10:00
Sacha
135c79ee78
Implement sceGzipDecompress and sceDeflateDecompress. Some games (eg. Suto Mani / Strobe Mania) required this. They are now playable. Fixes #146
2014-07-03 13:58:47 +10:00
Karen Tsai
1d1096633f
Removed some extraneous tabs in sceKernelModule.cpp
2014-07-02 13:21:27 -04:00
Henrik Rydgård
da32e5d4e3
Merge pull request #6481 from sum2012/sceKernelModule
...
Correct sceKernelSelfStopUnloadModule
2014-07-02 18:30:38 +02:00
Unknown W. Brackets
2d54c1cf4e
Reset the audio rate on save/load state.
...
Should fix #6484 .
2014-07-02 08:11:26 -07:00
sum2012
96c6a53e58
Fix space bug
2014-07-02 20:27:17 +08:00
sum2012
0256c7e056
Use with same code with sceKernelStopUnloadSelfModuleWithStatus
2014-07-02 20:08:27 +08:00
Unknown W. Brackets
b73c1ba29b
Reduce audio drift from 44.1kHz.
...
Although, not sure what the PSP's actual exact timing is...
2014-07-01 23:08:38 -07:00
sum2012
eecd9038cd
Init exitCode variable
2014-07-02 08:00:41 +08:00
sum2012
bc4a9149d3
Correct sceKernelSelfStopUnloadModule
...
Fix #4237
2014-07-02 07:25:49 +08:00
Unknown W. Brackets
e505655c2b
Fix a potential crash/race condition.
...
If anything is behind, it might run __AudioWakeThreads() within
reschedule, and get confused.
2014-07-01 08:02:34 -07:00
Unknown W. Brackets
5cd4a17e88
Fix periodic events drifting when eating cycles.
...
Need to set the next timer before rescheduling threads or etc.
2014-07-01 00:26:15 -07:00
Henrik Rydgård
bfffe33438
Merge pull request #6469 from unknownbrackets/logging
...
Enforce semicolons at the end of log lines
2014-06-30 11:44:02 +02:00
Unknown W. Brackets
c6f5ddd7a4
Reset replacements on loadexec.
...
Just to make sure we don't get confused.
2014-06-30 00:27:05 -07:00
Unknown W. Brackets
0a33eb4c42
Fix missing log semicolons only affecting logging.
2014-06-29 19:09:39 -07:00
Unknown W. Brackets
0078faef8b
Fix some log semicolons that might affect logic.
...
But, these should all be right.
2014-06-29 19:09:38 -07:00
Unknown W. Brackets
5db79dcf11
Fix some missing semicolons on log statements.
2014-06-29 19:09:37 -07:00
Henrik Rydgard
38609f3e6b
Cleam up thread names a bit, name the Main thread.
...
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Unknown W. Brackets
1c3b60a8ee
Allow changing software skinning at runtime.
2014-06-28 21:46:43 -07:00
Henrik Rydgård
b379109380
Merge pull request #6450 from unknownbrackets/gpu-blocktransfer
...
Clear framebuffers/textures upon sceKernelLoadExec()
2014-06-29 01:48:34 +02:00
Unknown W. Brackets
b4594c7bc5
Avoid Advance() twice, cleanup some comments.
2014-06-28 16:20:35 -07:00
Unknown W. Brackets
b68ad3844e
Simplify __KernelReSchedule().
...
It no longer needs all these checks, and we can Advance within callbacks,
interrupts, etc. safely.
2014-06-28 16:17:52 -07:00
Unknown W. Brackets
0edeb085ab
Allow rescheduling within callbacks.
2014-06-28 14:58:56 -07:00
Unknown W. Brackets
ac2c44ddd9
Revert the early wake of threads for io waits.
...
This reverts commit 610ada8721
.
It makes sense to let these run longer. Apparently this caused problems
in Castlevania, see #6432 .
2014-06-28 12:29:55 -07:00
Unknown W. Brackets
745c453b33
Remove hleAfterCheckAllCallbacks().
...
Not being used, doesn't make sense - rescheduling is what does that, only.
2014-06-28 03:10:30 -07:00
Unknown W. Brackets
10096b94f2
Correctly remember callback status when sleeping.
...
If a callback triggered right away after a sceKernelSleepThreadCB(), it
would trigger the "current callback" and remember callback status as
false, instead of true (since it was set later.)
This corrects that by ignoring it if both are set.
2014-06-28 03:06:30 -07:00
Unknown W. Brackets
5ab3750186
Reduce the thread switching cost.
...
Maybe it was actually too high. Some tests fail with it that high.
2014-06-27 01:00:11 -07:00
Unknown W. Brackets
4471b968e8
Increase timeout delay time for waits.
...
Had previously had these lower, but my testing was biased by how quick
other things in ppsspp were.
2014-06-27 00:58:59 -07:00
Henrik Rydgård
e73fcf4ec2
Merge pull request #6436 from ANR2ME/adhoc_
...
Fixed FF-Type0 from seeing duplicated Host, hopefully this will also fix...
2014-06-26 15:20:05 +02:00
AdamN
a98b44d7ab
Fixed FF-Type0 from seeing duplicated Host, hopefully this will also fix all Adhoc games that became broken in my 1st patch
2014-06-26 17:50:37 +07:00
Henrik Rydgård
8042b6f6f1
Merge pull request #6435 from unknownbrackets/replace-funcs
...
Hook the FF1 battle effect func
2014-06-26 11:44:14 +02:00
Unknown W. Brackets
0da972c548
Hook the FF1 battle effect func.
...
So that we can download the framebuffer. At least, it seems like that's
what this function is doing.
2014-06-26 01:38:22 -07:00
Henrik Rydgård
f0cb70d9fb
Merge pull request #6433 from unknownbrackets/frame-timing
...
Maintain timing of at least 30 vblanks per second if possible
2014-06-26 10:33:51 +02:00
Unknown W. Brackets
8172e838a5
Avoid a fast-forward effect when not drawing.
...
This fixes loading screens and such, which drop the fps down to 0 or 6
according to our measure, which can distort audio if we've got free time.
If the system is not keeping up, should have the same behavior as before.
2014-06-26 00:37:03 -07:00
Unknown W. Brackets
23dc69fc9b
Time frames based on current, not last timestep.
...
We need to decide the nextFrameTime when we know how many vblanks it took,
not before. Otherwise, we will miss-time when the fps changes.
2014-06-26 00:36:17 -07:00
AdamN
12ee3d1d39
Fixed Wipeout Pulse unable to see any Host, and should affect many other Adhoc games (was broken in my previous commit)
2014-06-25 20:29:42 +07:00
Unknown W. Brackets
19f4ad8c5c
Dumb mistake in "real time sync" fix.
2014-06-25 00:44:18 -07:00
Henrik Rydgård
fea0a26113
Merge pull request #6414 from unknownbrackets/resched
...
Reschedule immediately in many cases
2014-06-24 22:41:58 +02:00