Commit Graph

2069 Commits

Author SHA1 Message Date
Sacha
1e25452eea Buildfix for Blackberry
Did not have nullptr defined.
rint was already defined from cmath, in std namespace.
2013-04-11 15:16:45 +10:00
Unknown W. Brackets
901fa960ab Fix params for sceAtracSetHalfwayBufferAndGetID(). 2013-04-09 08:22:01 -07:00
Unknown W. Brackets
6cbd1b5205 Fix typo, add back state to savestate. 2013-04-09 02:18:09 -07:00
raven02
39c3cf8744 Ignore MIPS break error 2013-04-09 16:13:24 +08:00
Unknown W. Brackets
218c891eef Merge pull request #1227 from raven02/patch-3
Improve several functions in sceKernelVtimer
2013-04-09 00:31:56 -07:00
Unknown W. Brackets
12f4bf3664 Buildfix for Linux. 2013-04-09 00:05:05 -07:00
Unknown W. Brackets
f5642f11af Buildfix. 2013-04-08 23:01:54 -07:00
raven02
d77e0054d5 Improve few functions in sceKernelVtimer 2013-04-09 08:32:13 +08:00
Henrik Rydgard
8b6eea7df4 Load icon and bg from PBP files. 2013-04-08 21:46:54 +02:00
Henrik Rydgard
82aa605b36 Add back shadows to FPS counter and debug text. Warning fixes. 2013-04-08 20:59:45 +02:00
Unknown W. Brackets
40067470c2 Initial sceMpegGetUserdataAu() from JPCSP.
Because I got the stub wrong, so now it does something.
2013-04-08 00:47:25 -07:00
Henrik Rydgård
dea37e5521 Merge pull request #1213 from unknownbrackets/dlist-cycles
Try to match GPU cycles to the CPU
2013-04-08 00:43:33 -07:00
Unknown W. Brackets
42b925a440 Initial stab at implementing some new memory funcs.
Borrowed from JPCSP, kept simple.  Need to do tests.
2013-04-07 20:57:53 -07:00
Unknown W. Brackets
a8e8b096e6 Use regular events for GPU for now, quicker.
There's too much latency in threadsafe events, causing tests to fail.
Might break games too.  I guess they need to execute more often...
2013-04-07 17:52:57 -07:00
Unknown W. Brackets
6190918158 Don't allow two drawsyncs to be in play at once. 2013-04-07 17:37:24 -07:00
Unknown W. Brackets
5d017829ad Make sure lists aren't reused before they complete. 2013-04-07 17:05:11 -07:00
Unknown W. Brackets
57770dbd95 Delay GPU signals and waits to simulate cycles. 2013-04-07 17:05:11 -07:00
Henrik Rydgard
7900a6d807 Don't use PPGe for debug overlays. Fixes fps counter in games where it didn't work before. 2013-04-07 22:43:59 +02:00
Unknown W. Brackets
5e14cab945 Don't save vregs for threads that don't use them. 2013-04-07 11:47:00 -07:00
Unknown W. Brackets
c7020d4872 Optimize resched with a running thread.
Esp. if it would go back to itself.
2013-04-07 11:47:00 -07:00
Henrik Rydgård
7a435824dd Merge pull request #1200 from unknownbrackets/threadqueue-perf
Improve threadqueue performance
2013-04-07 10:59:35 -07:00
Unknown W. Brackets
68f5596dee Fix crash if queue is empty during savestate.
On load it would then crash.
2013-04-07 10:32:39 -07:00
Unknown W. Brackets
da2d5f0692 Dynamically size the thread queue, explicitly alloc. 2013-04-07 10:27:29 -07:00
raven02
ed27e7c25d Show upto 8 recent item for Android/iOS 2013-04-07 21:38:08 +08:00
Unknown W. Brackets
2ee611de09 Replace the thread ready queue with non-STL.
It seems much faster.
2013-04-07 03:10:14 -07:00
Unknown W. Brackets
4cd260a2fc Centralize the thread ready queue logic.
This makes it slower for now, but should make it easier to optimize correctly.
2013-04-07 03:09:23 -07:00
Henrik Rydgård
1d64e2fbc7 Merge pull request #1196 from unknownbrackets/ui-tweaks
Minor adjustments to the menu screen
2013-04-07 02:03:21 -07:00
Unknown W. Brackets
c93aa872ca Show up to 12 items in recent on Windows.
It's a tiny bit cluttered, and I know more is coming, but it's pretty
convenient for now...
2013-04-06 17:48:36 -07:00
Unknown W. Brackets
65ac7389d7 Don't get stuck on idle when interrupts run.
This was happening when the dispatch thread was disabled.
2013-04-06 17:04:20 -07:00
Unknown W. Brackets
57963a3de3 sceIoRead/Write doesn't work without dispatch.
Except stdout/etc.
2013-04-06 17:04:19 -07:00
Unknown W. Brackets
2a9354dc1a IO waits don't work without dispatch enabled. 2013-04-06 17:04:19 -07:00
Unknown W. Brackets
f380075e2a Only OpenAsync works with dispatch disabled.
And it even re-enables dispatch.
2013-04-06 17:04:18 -07:00
Unknown W. Brackets
2367c17735 Don't suspend/resume dispatch while interrupts off. 2013-04-06 17:04:18 -07:00
Unknown W. Brackets
0595e5099e Don't allow wait in event flags without dispatch.
But this happens after other param checks.
2013-04-06 17:04:17 -07:00
Unknown W. Brackets
e6f3c7991c Don't wait on LwMutexes with dispatch disabled. 2013-04-06 17:04:17 -07:00
Unknown W. Brackets
8f17cef95b Stop threadend timeout when the thread ends.
Fixes threads waking up early in tests.
2013-04-06 17:04:16 -07:00
Unknown W. Brackets
0ca4e5f0a7 Implement the jump, call, and ret signals.
Still buggy, but more things show...
2013-04-06 11:03:43 -07:00
Unknown W. Brackets
376ad80d76 Implement sync signal in display lists.
Makes dialogs show up in 3rd Birthday.
2013-04-06 10:12:41 -07:00
Unknown W. Brackets
dac448dfae Implement the pause signal a bit better. 2013-04-06 09:59:24 -07:00
Unknown W. Brackets
77311a121d Don't listsync until after the signal handler. 2013-04-06 08:36:03 -07:00
Unknown W. Brackets
fb26941a27 Implement sceGeListSync(). 2013-04-06 02:30:38 -07:00
Unknown W. Brackets
c0f20c2fdd If the interrupt is not run, don't flip gpuState.
Technically this is a hack, hopefully can remove it soon.
2013-04-06 02:30:37 -07:00
Unknown W. Brackets
c57954a72e Implement sceGeDrawSync(). 2013-04-06 02:30:37 -07:00
Henrik Rydgård
6a8096c0de Merge pull request #1187 from raven02/patch-7
Add default ADSR rate/ curvetype and default volume
2013-04-06 00:46:57 -07:00
raven02
87b5b195e3 Add default volume value for left/right channel 2013-04-06 15:41:49 +08:00
raven02
e4f3571e05 Add default ADSR value for rate and curve type 2013-04-06 15:39:28 +08:00
Unknown W. Brackets
4974124587 Fix some small constant-comparison type warnings. 2013-04-05 20:58:35 -07:00
Unknown W. Brackets
0918ec8598 Return negative for UnscheduleEvent().
It usually won't be, but it could be negative.

Also some other minor warnings.
2013-04-05 20:44:17 -07:00
Unknown W. Brackets
832edb0a8f Fix some x64 type conversion warnings. 2013-04-05 20:29:20 -07:00
Unknown W. Brackets
77c828eff8 Buildfix for Android, Linux, iOS.
Fixes #1184.
2013-04-05 10:15:14 -07:00