Commit graph

1388 commits

Author SHA1 Message Date
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
b7cf57b79c Merge pull request #568 from unknownbrackets/jit-minor
Jit: lwl/lwr/swl/swr, shift var
2013-02-02 15:46:40 -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
Henrik Rydgard
d44c5bff45 Add some stubs to remember to implement these VFPU ops... 2013-02-02 23:48:22 +01:00
Unknown W. Brackets
6bee870ac9 Fix CompShiftVar for x86 jit.
In case rd == rs, need to load ECX first.  I can't find anything
else wrong with it for it to be disabled.
2013-02-02 14:02:07 -08:00
Unknown W. Brackets
f777c872e6 Jit unaligned reads/writes.
This mostly just improves perf on debug, not really on the map for release.
2013-02-02 13:12:34 -08:00
raven02
eb639d18b4 Init first and second buffer struct 2013-02-03 04:53:43 +08:00
Unknown W. Brackets
bab7947be6 Read delay slots as instructions not mem.
Just in case - could be a jump target, maybe?  Never seen it, though.
2013-02-02 11:46:35 -08:00
Henrik Rydgård
b7066a46a0 Merge pull request #567 from xsacha/7bba8c68c478e49bd1e170b34b204164fdf41340
Fix Jit on Symbian
2013-02-02 11:34:12 -08:00
Xele02
d5c2560212 Add window to config key bindings
Save the bindings in the conf file in a map.
2013-02-02 17:43:56 +01: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
Henrik Rydgård
ccada661df Merge pull request #557 from unknownbrackets/jit-minor
Properly jit the break instruction
2013-02-01 00:59:58 -08:00
Unknown W. Brackets
44b5adeaac Properly jit the break instruction.
Otherwise, it just keeps on going past it.
We never want to hit this anyway, but it's good to know if we do.
2013-02-01 00:49:14 -08:00
Henrik Rydgård
61035cfb51 Merge pull request #550 from raven02/master
Set predict_nr = 0 when predict_nr greater than VAG array length
2013-02-01 00:18:31 -08:00
Sacha
7bba8c68c4 Fix JIT on Symbian (HACK). 2013-02-01 09:01:00 +10:00
Henrik Rydgard
d8f4e27926 Rename ARMABI_MOVI2R to MOVI2R 2013-01-31 23:41:05 +01:00
raven02
a4c78888c0 Set predict_nr = 0 when predict_nr greater than VAG array length 2013-01-31 22:16:15 +08:00
Unknown W. Brackets
9db836eb96 Minor typesafety/bounds checking warning fixes. 2013-01-31 00:02:54 -08:00
Unknown W. Brackets
65b32dc31d Fix an uninitialized return value in sceIoCancel. 2013-01-31 00:02:53 -08:00
Unknown W. Brackets
cdb676f17a Stop shadowing the i variable. 2013-01-31 00:02:53 -08:00
Unknown W. Brackets
ee17699e09 Fix a logic error in module load validation. 2013-01-31 00:02:52 -08:00
Unknown W. Brackets
f6cfeba6ff Fix some minor warnings. 2013-01-31 00:02:51 -08:00
Henrik Rydgård
ae8a799030 Merge pull request #544 from unknownbrackets/perf
Don't measure syscall stats when not showing
2013-01-30 23:50:23 -08:00