Commit Graph
6340 Commits
Author SHA1 Message Date
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
Lioncash a4d8585794 Fix accidentally switched statements in scePsmf.cpp?
I'm assuming this was actually intended

The other way results in no actual changes happening. There were no comments saying that was intended so I guess it was an accident or something.
2013-03-30 00:42:12 -04:00
Henrik Rydgard 23ad4c554a Fix small issue with open dialog path, remove dupe hle func, add and reorder some 2013-03-29 11:15:54 +01:00
Unknown W. Brackets 0d4b0a1246 Track unknown sceIoIoctl commands better.
Also an mpeg stub.
2013-03-29 01:54:04 -07:00
Unknown W. Brackets 7122fbf598 Add a couple scePsmf stubs. 2013-03-29 01:49:49 -07:00
oioitffandUnknown W. Brackets 4989ceb706 Fix scePsmfPlayerDelete and add some other stubs. 2013-03-29 01:49:49 -07:00
Henrik Rydgard e7027b6c9c win32: Add menu option to open memory stick directory 2013-03-28 20:19:10 +01:00
Unknown W. Brackets e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
Unknown W. Brackets f89358d6ff Add some reporting in other thread functions. 2013-03-26 00:39:18 -07:00
Unknown W. Brackets 480c5c3e31 Add some reporting for broken callback situations. 2013-03-26 00:36:46 -07:00
Henrik Rydgård 1c31fb6ee4 Merge pull request #1071 from unknownbrackets/dispatch
Dispatch thread fixes
2013-03-25 00:58:37 -07:00
Unknown W. Brackets 658fa80c04 Don't wait on mutexes with dispatch disabled.
Fixes #339.
2013-03-25 00:07:44 -07:00
Unknown W. Brackets 276037675f Prevent waiting on semas while dispatch disabled.
Does relatively well on tests this way.
2013-03-24 23:30:32 -07:00
Unknown W. Brackets e133d33167 Don't re-wake a thread already woken by delete.
Arg, I thought I'd changed this already.
2013-03-24 22:54:09 -07:00
Unknown W. Brackets 3b452e970d Semaphores always wait when others are waiting. 2013-03-24 21:56:05 -07:00
Unknown W. Brackets 783df9f0c3 sceKernelResumeDispatchThread() always returns 0. 2013-03-24 20:53:51 -07:00
Unknown W. Brackets 64445e0c8d Resume dispatch on thread start. 2013-03-24 20:52:18 -07:00
Unknown W. Brackets c9e1b01545 Don't reschedule while interrupts are disabled. 2013-03-24 19:43:56 -07:00
Unknown W. Brackets b2fd023038 Fix return value of sceKernelSuspendDispatchThread. 2013-03-24 19:30:17 -07:00
Henrik Rydgard 46be32e41f Log the ret value on decryption fail 2013-03-25 00:18:10 +01:00
Henrik Rydgard e8215b1e10 Report corrupt elfs (if reporting enabled). Some stubs. 2013-03-25 00:08:46 +01:00
Henrik Rydgard 60d7ac3543 Stubs and error checks. Fix a bad NID in sceUmd. 2013-03-24 22:41:42 +01:00
Henrik Rydgard 3f935fd255 More elf loader crashfix 2013-03-24 22:21:49 +01:00
Henrik Rydgard 576d07719c Add a few stubs 2013-03-24 22:06:58 +01:00
Henrik Rydgard 752d86b037 Crashfix in elf loader 2013-03-24 22:06:57 +01:00
Henrik Rydgard 58d6859cf4 Eat some cpu cycles in sceRtcGetCurrentTick 2013-03-24 12:33:43 +01:00