Commit Graph
6340 Commits
Author SHA1 Message Date
raven02 9bd8531110 Add Memory::IsValidAddress to sceAtracGetSoundSample() 2013-04-16 15:19:07 +08:00
Unknown W. Brackets c1d72b4210 Fix sceIoCloseAsync so it closes on wait.
Oops.
2013-04-16 00:16:22 -07:00
raven02 fd1bc40c07 Few more updates to sceAtracGetSoundSample() & sceAtracGetSecondBufferInfo 2013-04-16 15:12:19 +08:00
raven02 b9b01cc05a More update to sceAtrac 2013-04-16 14:03:24 +08:00
Henrik Rydgård 8fd5328cc0 Merge pull request #1263 from raven02/patch-10
Improve bunch of functions in sceAtrac
2013-04-15 05:39:47 -07:00
Unknown W. Brackets 1bb66ea7eb Respect looping in sceMp3Decode(). 2013-04-15 02:00:03 -07:00
Henrik Rydgård 16fa7bf494 Merge pull request #1288 from unknownbrackets/callbacks2
Make sceKernelNotifyCallback() error if invalid cb passed
2013-04-15 01:23:20 -07:00
Henrik Rydgård e1b1e6af85 Merge pull request #1286 from unknownbrackets/tls-object
Basic support for the new TLS object functions
2013-04-15 01:22:48 -07:00
Unknown W. Brackets efd71e2444 Make sceKernelNotifyCallback() error if invalid cb.
Which makes Numblast clearly happy.
2013-04-14 23:45:46 -07:00
Unknown W. Brackets 9ce8c07530 Reschedule the timeout event on callback end.
Darn, missed that 3 times before I caught it.
2013-04-14 21:34:33 -07:00
Unknown W. Brackets 200ec55c61 sceKernelWaitEventFlagCB() calls callbacks first. 2013-04-14 21:31:41 -07:00
Unknown W. Brackets 9b80ae2ee0 Make event flags wait / do callbacks correctly. 2013-04-14 21:18:00 -07:00
Unknown W. Brackets e77647a394 Basically working implementation of TLS funcs.
But doesn't wait at all, which it should.
2013-04-14 16:36:02 -07:00
Unknown W. Brackets b2faa57b5b Savestate the sdkver and compiler version.
Oops, should've caught this before.
2013-04-14 14:43:27 -07:00
Unknown W. Brackets a68798225a Give ThreadManForUser_8DAFF657 and friends a name.
Calling allocate on the same thread gives the same ptr, but on a different
one it waits or returns a new ptr.

Let's call it thread local storage for now.
2013-04-14 13:02:01 -07:00
Unknown W. Brackets 88b8df7b7b Add some missing stubs to threadman. 2013-04-14 12:52:10 -07:00
Henrik Rydgard 1adb52fa03 Fix for gameinfo cache clearing, etc. 2013-04-14 13:01:01 +02:00
Henrik Rydgard 037bda0cbe Faster turbo mode for android. Causes flashing in unbuffered but that's a minor issue. 2013-04-14 12:46:24 +02:00
Henrik Rydgard 7972f98739 Move onscreen turbo to left of select. Force frameskip when unthrottled. 2013-04-14 12:11:49 +02:00
Unknown W. Brackets 4f473e50c8 Eat a few cycles in sceKernelGetSystemTimeWide(). 2013-04-13 16:31:24 -07:00
Henrik Rydgård 724f84ce6d Merge pull request #1271 from raven02/patch-12
Suppress static noise from PCM output
2013-04-13 13:14:49 -07:00
Henrik Rydgard ffe88f5120 Merge branch 'patch-11' of https://github.com/raven02/ppsspp into raven02-patch-11 2013-04-13 22:12:13 +02:00
Henrik Rydgård 0c6c2d6542 Merge pull request #1274 from unknownbrackets/atrac-minor
Set the buffer values in sceAtracSetHalfwayBuffer.
2013-04-13 09:42:38 -07:00
Unknown W. Brackets e5c4894bce Set the buffer values in sceAtracSetHalfwayBuffer.
We set them in the GetID() one, so ought to here as well.
2013-04-13 09:24:55 -07:00
raven02 0691871125 Suppress static noise from PCM output 2013-04-13 20:27:16 +08:00
oioitff 4bae30095b Audio format should be set here. 2013-04-13 17:57:09 +08:00
Henrik Rydgård d92dbf8f6d Merge pull request #1268 from unknownbrackets/savestates
Bump savestate version, add better error checking
2013-04-13 02:09:12 -07:00
Unknown W. Brackets fe97fd6fc5 Add better savestate error handling.
Aborts when it can't load.
2013-04-13 01:39:17 -07:00
Unknown W. Brackets 117ffaeb60 Include the git version in savestates.
This way we can provide better warnings when it fails to load.
2013-04-13 01:13:28 -07:00
Unknown W. Brackets b03b88b7ed Fix small reporting typo. 2013-04-13 00:36:32 -07:00
Unknown W. Brackets 0ad9658eb2 Increment wakeupCount when a thread is pending.
It might've been woken up but just not run yet.  That doesn't mean
it should not have wakeupCount incremented.

Fixes Tales of Eternia freezing before world map.
2013-04-13 00:35:24 -07:00
raven02 25ab9292e4 Improve sound smoothness on Android 2013-04-12 14:03:51 -07:00
raven02 da738957c2 Improve Analyze()/ GetNextSample() / GetSoundSample() / SetLoopNum() in sceAtrac 2013-04-13 00:49:22 +08:00
raven02 746b866129 Add readSize > halfBufferSize for sceAtracSetHalfwayBufferAndGetID 2013-04-12 09:54:10 +08:00
Unknown W. Brackets 4efe58ad34 Oops, remove debugging line. 2013-04-11 00:52:37 -07:00
Henrik Rydgård b5b13c6ab5 Merge pull request #1251 from unknownbrackets/module-minor
Cleanup sceKernelGetModuleIdByAddress()
2013-04-11 00:45:42 -07:00
Unknown W. Brackets 5aceceecd3 Remove global module id var hacks.
Nothing needs them anymore.
2013-04-10 21:16:31 -07:00
Unknown W. Brackets acac847af2 Cleanup sceKernelGetModuleIdByAddress().
Actual firmware seems to accept any address in the range, and also
correct the error result.

Now people won't think this is broken anymore.
2013-04-10 21:03:43 -07:00
Unknown W. Brackets b34f937d0c Don't warn sceUtility*Status() wrong dialog type.
Games do this on real firmware, and it's a lot of noise.
2013-04-10 19:19:00 -07:00
Unknown W. Brackets ff8c128d20 Trim the newline at the end of stdout output.
Makes the log a bit easier to read.
2013-04-09 23:26:27 -07:00
Unknown W. Brackets 1f1560a9d6 Don't mark sceKernelExitThread() as an error.
Also, add some reporting and make the sceKernelCreateThread log message
shorter.
2013-04-09 23:23:10 -07: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 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