Commit Graph
5276 Commits
Author SHA1 Message Date
Unknown W. Brackets 64b75ed3ff Decentralize callback registration.
Callbacks are always tied to THEIR thread, and the registration was all
based on the current thread which is just not the right way.
2013-09-09 00:21:15 -07:00
Unknown W. Brackets 94e88943d8 Keep a single list of pending callbacks.
Doing it per type only meant that we'd incorrectly call a callback twice
if it was notified by e.g. scePowerRegisterCallback() and
sceKernelNotifyThread(), which isn't what's supposed to happen.
2013-09-09 00:21:14 -07:00
Henrik Rydgård 74418c13bf Merge pull request #3646 from raven02/patch-17
Toggle option "Disable Stencil Test" & "Always Depth Write"
2013-09-09 00:06:00 -07:00
Unknown W. Brackets d348b9d47a Add callback handlers for msgpipes. 2013-09-08 15:06:36 -07:00
Unknown W. Brackets 9a2beffea5 Refactor and add a way to remove msgpipe waits. 2013-09-08 15:06:35 -07:00
Unknown W. Brackets 411468dbac Adjust some helpers for msgpipes. 2013-09-08 15:06:35 -07:00
Unknown W. Brackets f59d799a5b Reorganize msgpipes code a bit to prep. for cbs.
No real changes.
2013-09-08 15:06:34 -07:00
Unknown W. Brackets 136d0b5c50 Split msgpipe handling logic from wait/resched.
This way I can reuse it for the callback stuff.
2013-09-08 15:06:34 -07:00
Henrik Rydgård 1fde96a95a Merge pull request #3694 from unknownbrackets/atrac-minor
Improve sceAtrac error handling
2013-09-08 15:02:35 -07:00
Unknown W. Brackets f1b62983b5 Add callback wait handlers for threadend as well. 2013-09-08 12:14:07 -07:00
Unknown W. Brackets 6d8213b0c5 Always specify retval when resuming a thread. 2013-09-08 12:02:18 -07:00
Unknown W. Brackets 4c828cd9a0 Remove __KernelTriggerWait(), no longer used. 2013-09-08 11:58:40 -07:00
Unknown W. Brackets 8ae6694e1d Use a waiting thread list in sceGe as well. 2013-09-08 11:57:44 -07:00
Unknown W. Brackets 5ec297c16c Properly cancel waits in sceUmd. 2013-09-08 11:24:21 -07:00
Unknown W. Brackets 3fb2c8f654 Use a waitingThreads list for threadend.
The timeout wasn't being correctly written before, actually.
2013-09-08 11:15:09 -07:00
Unknown W. Brackets b03be16fa6 Refactor thread end/delete a bit. 2013-09-08 10:50:55 -07:00
Unknown W. Brackets b7c845d40b Support a NULL out param for atrac3 decoding.
The PSP seems to silently accept it, maybe to skip data?
2013-09-08 09:56:38 -07:00
Unknown W. Brackets f4bc5b1ec6 Return error in sceAtracDecodeData() on bad id.
Fixes #2428.
2013-09-08 09:56:16 -07:00
Unknown W. Brackets b7a2a92ebe Improve sceAtracSetData() error handling. 2013-09-08 09:56:15 -07:00
Henrik Rydgård 430cfee9f3 Merge pull request #3684 from thedax/instantAntiAliasing
Win32: Let NewUI's Antialiasing option be instant so a game reboot isn't required.
2013-09-08 00:54:12 -07:00
Henrik Rydgård 2b2678beba Merge pull request #3686 from unknownbrackets/warnings
Warning fixes
2013-09-08 00:33:46 -07:00
Unknown W. Brackets 157b682344 Always use fastmem for sw/lw on SP. 2013-09-07 22:44:18 -07:00
Unknown W. Brackets c3839a53e5 Fix some minor warnings. 2013-09-07 22:40:08 -07:00
Unknown W. Brackets bbf714c361 Provide for GPU init failure, kill a warning. 2013-09-07 22:30:30 -07:00
The Dax ac88cbd894 Let NewUI's Antialiasing option be instant so a game reboot isn't required. 2013-09-08 00:27:39 -04:00
Unknown W. Brackets 657f7f1a2d Improve DirectoryFileSystem's wide char handling. 2013-09-07 16:14:41 -07:00
Henrik Rydgård 203521678e Merge pull request #3679 from Kingcom/VirtDiscFix
Fix VirtualDiscFileSystem::GetDirListing
2013-09-07 15:26:25 -07:00
Kingcom 043c73f354 Fix linux version too 2013-09-08 00:22:30 +02:00
Kingcom 726297ea52 Fix VirtualDiscFileSystem::GetDirListing 2013-09-08 00:06:56 +02:00
Unknown W. Brackets 08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07:00
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard 324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Henrik Rydgard c31ae0645f Add optional "DevMenu" in-game button for quick access to things like log settings 2013-09-07 20:54:51 +02:00
Unknown W. Brackets 1eb858602c Add io async wait callback handlers. 2013-09-07 11:22:48 -07:00
Unknown W. Brackets d8d8d3b0ec Use a different wait type for async io. 2013-09-07 11:04:42 -07:00
Unknown W. Brackets f35b164d11 Refactor wait verification a bit in kernel waits. 2013-09-07 10:54:00 -07:00
Unknown W. Brackets 46b52ca552 Wake up waiting threads on file delete. 2013-09-07 10:53:59 -07:00
Unknown W. Brackets cddfd2f3b2 Allow separate threads to wait on async io. 2013-09-07 10:53:59 -07:00
Henrik Rydgård 8996bac23e Merge pull request #3631 from lioncash/master
Remove a redundant wcsncat call.
2013-09-07 08:45:49 -07:00
Henrik Rydgard 78d3ee3d6a Misc cleanup, mostly logging code 2013-09-07 13:01:19 +02:00
Henrik Rydgård f24a7c83f5 Merge pull request #3636 from kaienfr/fix_recent_gamelist
Update recent games list & remove redundant recent games from ini file
2013-09-07 02:18:30 -07:00
Henrik Rydgard 7e37e183ed Wrap more adhoc functions 2013-09-07 11:06:28 +02:00
Henrik Rydgard d21db0f852 Fix Xperia Play detection, hide touch controls on Ouya 2013-09-07 11:06:28 +02:00
Henrik Rydgard 3b323c4176 Add a bunch of empty adhoc functions 2013-09-07 01:53:51 +02:00
Henrik Rydgard cc8e4cb8fe Split out sceNetAdhoc* into a separate file from sceNet. 2013-09-07 00:55:42 +02:00
Henrik Rydgård 3d198694dd Merge pull request #3616 from sum2012/patch-2
Fix Summon Night 5,when there is a save,make new game would crash
2013-09-06 08:05:40 -07:00
Unknown W. Brackets a9a42b315c Fix a bad comparison, duh. 2013-09-06 01:13:55 -07:00
Unknown W. Brackets c93268fdd3 Fix some minor warnings. 2013-09-06 01:13:45 -07:00
Unknown W. Brackets 0ff64ec7d6 Fix some initialization order warnings. 2013-09-06 01:13:27 -07:00
Unknown W. Brackets dc05051696 Add more reporting for cpu instructions. 2013-09-05 23:27:51 -07:00