Commit graph

829 commits

Author SHA1 Message Date
Unknown W. Brackets
ee62c807ee Attempt to read the atrac size from the file. 2013-02-03 16:54:52 -08:00
Henrik Rydgard
7ea1926aa7 Blacklist the ssl library too 2013-02-04 00:54:50 +01:00
Unknown W. Brackets
2fa0cf040d Fix alarm test by not interrupting when disabled.
vblank was interrupting/rescheduling when interrupts were disabled.
That's bad.
2013-02-03 13:48:19 -08:00
Unknown W. Brackets
c7204797e7 Don't log idle => idle context switches. 2013-02-03 13:48:19 -08:00
Unknown W. Brackets
996eb7a648 Use the new ready queue for thread switching. 2013-02-03 13:48:18 -08:00
Unknown W. Brackets
ce2e62317b Make the new queue only have ready threads. 2013-02-03 13:45:30 -08:00
Unknown W. Brackets
8725bfe411 Add a priority-indexed ready queue (not used yet.)
Also, not actually only ready threads yet.
2013-02-03 13:45:30 -08:00
raven02
8a520faf5d Build fix 2013-02-04 05:25:12 +08:00
Henrik Rydgård
7d6c113a97 Merge pull request #582 from raven02/master
Add few new stubs seen from Dragon Ball Z Tenkaichi Tag Team
2013-02-03 13:15:32 -08:00
Henrik Rydgard
3f0816cd05 Usec2Sysclock fixes 2013-02-03 22:14:19 +01:00
Henrik Rydgard
7fbf914821 Another bites the dust (blacklisted modules) 2013-02-03 22:13:42 +01:00
Henrik Rydgård
dcb106743b Merge pull request #583 from unknownbrackets/audio-minor
Atrac finish flag fix
2013-02-03 12:32:45 -08:00
raven02
24c720892c Add few stubs seen from Dragon Ball Z Tenkaichi Tag Team 2013-02-04 03:19:55 +08:00
Unknown W. Brackets
5b9721772a Properly set the finish flag at the end. 2013-02-03 10:58:18 -08:00
Unknown W. Brackets
048142d8b1 Approximate atrac as compressing to 1/3 the size. 2013-02-03 10:44:20 -08:00
Unknown W. Brackets
5b6f97955b Always return <= max samples for atrac. 2013-02-03 10:37:47 -08:00
Unknown W. Brackets
160c59cf9b Fix atrac looping, oops. 2013-02-03 10:34:13 -08:00
Unknown W. Brackets
ddedd7c39a This atrac logging hack isn't needed now. 2013-02-03 09:57:02 -08:00
Marcin Mikołajczyk
4497252398 Wrap sceKernelTime functions 2013-02-03 16:33:01 +01:00
Henrik Rydgård
50a9a0010a Merge pull request #577 from unknownbrackets/module-blacklist
Blacklist some network modules unlikely to work
2013-02-02 23:46:47 -08:00
Henrik Rydgård
0818d56b91 Merge pull request #576 from unknownbrackets/vblank
Always reschedule on vblank, even without handler
2013-02-02 23:46:20 -08:00
Unknown W. Brackets
f3efa3225d Blacklist some network modules unlikely to work. 2013-02-02 23:40:44 -08:00
Unknown W. Brackets
f6ade0fcc2 Always reschedule on vblank, even without handler. 2013-02-02 23:28:44 -08:00
Henrik Rydgård
9173da65f7 Merge pull request #575 from unknownbrackets/perf
Improve performance of sceKernelSysClock2USec
2013-02-02 23:18:15 -08:00
Unknown W. Brackets
ac8b35b2ef Optimize sysclock / sysclock 2 usec.
Legend of Heroes 1/2/3 call these a ton, making them quite slow.
Not sure if it's a bug, but they can be more optimal which'll make
it easier to debug anyway.
2013-02-02 20:42:16 -08:00
Unknown W. Brackets
015529cb49 Don't call time_update() when debug stats are off.
This is not fast especially when syscalls are being hammered.
2013-02-02 20:42:01 -08:00
Unknown W. Brackets
7530a0b6fd When creating threads, etc. restore thread ready.
The old thread was sticking in the RUNNING state.
2013-02-02 19:48:23 -08:00
Unknown W. Brackets
dd8002a42c Oops, still need to switch back from interrupts.
There's the real problem: don't leave the thread "running".
2013-02-02 19:14:00 -08:00
Unknown W. Brackets
d1c2d5ddc4 Loading a savestate crashed with active mipscalls. 2013-02-02 18:46:23 -08:00
Unknown W. Brackets
fcdaf3c9c4 Return of mipscalls should be handled by actions. 2013-02-02 18:09:00 -08:00
Unknown W. Brackets
7055788f0b Simplify argument passing for mipscalls. 2013-02-02 18:01:34 -08:00
Unknown W. Brackets
14cfb84633 Allow rescheduling in a mipscall, not a callback. 2013-02-02 17:57:44 -08:00
Unknown W. Brackets
9611e52c01 Don't follow -1 entry points, they're bad mojo. 2013-02-02 16:22:54 -08:00
Unknown W. Brackets
31eeb3d50b Make sceKernelStartModule() do something.
Doesn't work right, but gets somewhere?
2013-02-02 16:22:33 -08:00
raven02
3e319d5975 Add stubs for _sceAtracGetContextAddress 2013-02-03 08:08:44 +08:00
Henrik Rydgård
a03cc0523a Merge pull request #566 from raven02/master
Init first and second buffer struct
2013-02-02 15:06:04 -08:00
raven02
eb639d18b4 Init first and second buffer struct 2013-02-03 04:53:43 +08:00
Henrik Rydgard
ddd0ce4c18 Implement a PSP model checking function, comment fix 2013-02-02 12:38:24 +01:00
Unknown W. Brackets
da446abf50 Add a sceMpegAvcDecodeYCbCr() like sceMpegDecode().
Kinda hacky but it seems to make Persona 1 happy.
2013-02-02 01:51:41 -08:00
Unknown W. Brackets
bdd3a6c517 Avoid the annoying static on some videos. 2013-02-02 01:49:12 -08:00
Unknown W. Brackets
56e051a9c4 Attempt at sceAtracResetPlayPosition(). 2013-02-01 23:16:18 -08:00
Unknown W. Brackets
acdbc20024 Make it look a bit like we're decoding atrac. 2013-02-01 23:12:27 -08:00
Henrik Rydgård
23851e8b3b Merge pull request #562 from unknownbrackets/audio-minor
Audio / Atrac tweaks (needs more testing)
2013-02-01 10:34:47 -08:00
raven02
9df9120d1b Add PSP_SYSTEMPARAM_ID_INT_LOCK_PARENTAL_LEVEL 2013-02-02 01:06:37 +08:00
Unknown W. Brackets
6d078ef8f3 More correctly lie that atrac decoding finished. 2013-02-01 08:59:39 -08:00
Unknown W. Brackets
5dcc72c1fe Keep track of the atrac buffer size and return it. 2013-02-01 08:59:23 -08:00
Unknown W. Brackets
a77f9667bf Return saner fake sample sizes in atrac. 2013-02-01 08:40:36 -08:00
Unknown W. Brackets
0eaced4685 Track Atrac as a map and associate data. 2013-02-01 08:33:32 -08:00
Unknown W. Brackets
893ba662ae Allow sceAudioChReserve() to choose a channel.
Not just only -1.
2013-02-01 08:16:01 -08:00
Unknown W. Brackets
d70639057e sceAudioOutputPannedBlocking() returns # samples.
Or seems to, anyway.  This fixes things like:

stdout: SCREAM: Lib wave didn't take all of our last submit (took 0 of
2048)!
2013-02-01 08:07:58 -08:00