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
Henrik Rydgård
3ed41388b7
Merge pull request #1182 from unknownbrackets/dlist-parts
...
More of Orphis' dlist rewrite (signal handling)
2013-04-05 02:41:34 -07:00
JimLee168
8ebb733a98
spacing fix
2013-04-05 17:31:42 +08:00
Unknown W. Brackets
ef1086413c
Correct wait signal handling.
2013-04-05 00:32:35 -07:00
Unknown W. Brackets
339b444703
Switch to a fixed size displaylist queue.
2013-04-05 00:32:34 -07:00
JimLee168
e686ef46b8
Added sceZlibDecompress and VS2010 build fix
...
Fixes ULUS10121 Bomberman
2013-04-05 13:26:54 +08:00
Unknown W. Brackets
7738b42b9c
Implement sceGeBreak()/sceGeContinue().
2013-04-04 00:36:43 -07:00
Unknown W. Brackets
15cb005a60
Always trigger FINISH and SIGNAL from END.
2013-04-03 08:16:43 -07:00
Unknown W. Brackets
ba264b1df3
Don't delay results when dispatch is disabled.
...
Wait won't work so the CoreTiming event will just cause havoc.
2013-04-03 00:04:17 -07:00
Unknown W. Brackets
b80a3e83c3
Reset video pts when registering new streams.
2013-04-01 07:56:43 -07:00
Unknown W. Brackets
ec009bc299
Cleanup a few GPU error codes.
2013-03-31 23:57:03 -07:00
Unknown W. Brackets
affe91cb3b
Refactor some GPU methods to return errors.
2013-03-31 23:57:03 -07:00
Henrik Rydgård
1485a78273
Merge pull request #1146 from unknownbrackets/kernel-uids
...
Avoid reusing uids for kernel objects.
2013-03-31 23:41:40 -07:00
Henrik Rydgård
c4f629ec1f
Merge pull request #1142 from unknownbrackets/mpeg-fix
...
Don't wipe all streams in sceMpegFlushAllStreams()
2013-03-31 23:37:58 -07:00
Unknown W. Brackets
0547d291e3
Avoid reusing uids for kernel objects.
...
This makes logs easier to read: a uid is an X is an X. Usually.
Still sequential, and if it runs out, falls back.
2013-03-31 22:29:44 -07:00
Unknown W. Brackets
7bc4b47b85
Don't wipe all streams in sceMpegFlushAllStreams().
...
Patapon and Patapon 2 didn't like it, sitll works in Crisis Core.
2013-03-31 17:09:33 -07:00
Unknown W. Brackets
25f1001db3
Priority-based msgpipes never woke anyone.
...
Really need to write tests for this and get into it, I guess...
Fixes Final Fantasy Tactics.
2013-03-31 16:58:15 -07:00
Unknown W. Brackets
2eb1160272
Add some more debug logging for alarms.
2013-03-31 16:56:02 -07:00
Henrik Rydgård
086fd24edb
Merge pull request #1138 from unknownbrackets/scheduling
...
Fix scheduling when starting a thread + potential crash
2013-03-31 13:27:53 -07:00
Unknown W. Brackets
7b608b6946
Fix logging typo.
2013-03-31 12:35:14 -07:00
Unknown W. Brackets
6b9930d4f2
When no packets to decode, return no data more.
2013-03-31 12:35:13 -07:00
Unknown W. Brackets
d03eaab774
Implement sceMpegFlushAllStream(). Fixes FF7CC.
2013-03-31 12:35:13 -07:00
Unknown W. Brackets
72921e0a3c
If the mipscall id doesn't match, don't create.
...
Fixes a crash when savestating.
2013-03-31 12:09:59 -07:00
Unknown W. Brackets
2a9c640739
When starting a thread, put old thread at end.
...
This matters so the right thread is run later when scheduling switches
back.
2013-03-31 09:45:41 -07:00
Henrik Rydgård
94e6e1b47c
Merge pull request #1101 from raven02/patch-4
...
Improve few sceKernel clock functions
2013-03-31 03:11:50 -07:00
raven02
bd413d4caf
Revert sceKernelSysClock2USec()
2013-03-31 18:09:27 +08:00
Henrik Rydgard
2301ad0b7c
X360 controller: Left thumb speedup, right thumb menu, keyboard still works
2013-03-31 11:30:50 +02:00
Unknown W. Brackets
0fd3dfb160
Fix psmf typo in debug log output.
2013-03-31 01:01:41 -07:00
Henrik Rydgård
29b71d6153
Merge pull request #1119 from unknownbrackets/savedata
...
More sceUtility* changes
2013-03-30 23:37:16 -07:00
Henrik Rydgård
824d637989
Merge pull request #1114 from unknownbrackets/perf
...
Read structs directly from PSP ram on little endian
2013-03-30 23:34:58 -07:00
Unknown W. Brackets
1f2de11dbe
Add a basic impl of sceUtilityMsgDialogAbort().
...
Makes Enigmo work anyway. Doesn't seem like a popular function.
2013-03-30 22:55:48 -07:00
Unknown W. Brackets
74302a9ecf
Savedata doesn't always resched, add some errcodes.
2013-03-30 22:48:29 -07:00
Unknown W. Brackets
8aeaedc597
Don't allow sceUtility dialogs to overlap.
...
PSP doesn't allow this, and apparently some games depend on it
or else they start getting confused.
2013-03-30 22:48:17 -07:00
Unknown W. Brackets
8f911a0ebe
Add a setting to autosave the symbol map.
...
And move it into system, needs to be after the coreParameter too.
2013-03-30 22:28:55 -07:00
Unknown W. Brackets
1cfdaa9349
Read structs directly from PSP ram on LE.
...
On BE, which doesn't even really work atm, this can be an auto class.
2013-03-30 20:12:22 -07:00
Henrik Rydgård
3301fd5119
Merge pull request #1103 from raven02/patch-5
...
Improve sceMpegAvcDecode/YCbCr
2013-03-30 16:48:07 -07:00
Unknown W. Brackets
52a8997006
These are actually okay, happen on the second cb.
2013-03-30 16:12:40 -07:00
Unknown W. Brackets
2ecc3157de
Fix waits within waits for lwmutexes.
...
Also, it turns out sceKernelLockMutexCB() doesn't call callbacks on lock.
2013-03-30 16:12:39 -07:00
Unknown W. Brackets
fe60677f75
Make mutexes handle callbacks better + before.
...
Mutex and semaphores (but NOT lwmutexes) call callbacks before attempting
the lock, but only if it would not generate errors.
Have not yet tested other wait types.
2013-03-30 16:12:38 -07:00
Unknown W. Brackets
eace0e75c1
sceKernelWaitSemaCB() should run callbacks first.
...
Patapon 2 gets back to the menu with this.
2013-03-30 16:12:38 -07:00
Unknown W. Brackets
63bde2cb59
Handle waits inside semaphore waits properly.
2013-03-30 16:12:38 -07:00
Unknown W. Brackets
d2abdf17be
Add a waittype registry to handle callbacks right.
2013-03-30 16:12:37 -07:00
Henrik Rydgard
afa21588d7
Some work towards better control handling, includes stickyfix from native
2013-03-30 23:55:28 +01:00
raven02
d540ff816c
Improve sceMpegAvcDecode/YCbCr
2013-03-31 03:10:29 +08:00
raven02
7b01828ef0
Quick fix
2013-03-31 01:08:23 +08:00
raven02
c6087ea3db
Improve few sceKernel clock functions
2013-03-31 00:51:34 +08:00
raven02
f397fda0b8
Improve few sceAudio functions
2013-03-30 23:58:13 +08:00
raven02
c0a49c1603
Add ERROR_AUDIO_INVALID_FREQUENCY/CHANNEL_ALREADY_RESERVED
2013-03-30 23:55:49 +08:00