Commit graph

8257 commits

Author SHA1 Message Date
Unknown W. Brackets
a3637a1cad Set the low mystery bits of the thread attr.
Tests on PSP show this, and I can't find a way to not have them set.
But I don't really know what they mean.

Anyway, since you can refer the status, you can see them, may improve
compatibility.
2013-09-09 20:51:52 -07:00
Unknown W. Brackets
0af3c50924 Eat cycles after creating a thread.
Improves things on some tests, should be more accurate.
Creating a thread sure takes a long time.
2013-09-09 20:49:30 -07:00
Unknown W. Brackets
1481bbdd3b Validate and report some thread attributes. 2013-09-09 20:48:23 -07:00
Unknown W. Brackets
ce4c0d85bb Support some thread stack attr options.
May improve memory management in some games.
2013-09-09 20:46:19 -07:00
Henrik Rydgård
86caa700d0 Merge pull request #3704 from unknownbrackets/vpl
Fix minor scheduling issues in the vpl test
2013-09-09 01:10:58 -07:00
Unknown W. Brackets
281685fd43 Fix minor scheduling issues in the vpl test. 2013-09-09 01:05:38 -07:00
Unknown W. Brackets
478d007f96 I'm a typo machine. 2013-09-09 00:35:38 -07:00
Henrik Rydgård
628f77e2b0 Merge pull request #3700 from unknownbrackets/callbacks
Improve callbacks (still not rescheduling properly inside one)
2013-09-09 00:30:14 -07:00
Henrik Rydgård
3f0c6da4f3 Merge pull request #3702 from unknownbrackets/remaster
Fix bugs when memory size is 0x04C00000/etc.
2013-09-09 00:29:48 -07:00
Unknown W. Brackets
38e30e5a67 Fix bugs when memory size is 0x04C00000/etc.
Was experimenting with trying to match my non-phat's ram size.
2013-09-09 00:25:10 -07:00
Unknown W. Brackets
be468af52d Refactor waiting thread removal. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets
4bd391b098 Refactor waiting thread cleanup. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets
1040123a97 Delete callbacks when their thread is deleted. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets
4bba276696 Run callbacks in creation order, not notify order. 2013-09-09 00:21:59 -07:00
Unknown W. Brackets
87bd8d59e2 Clean up umd bad callback id errors, oops. 2013-09-09 00:21:53 -07:00
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
Henrik Rydgård
f97904fcbc Merge pull request #3701 from shenweip/master
Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db
2013-09-08 23:39:25 -07:00
shenweip
a1191325e1 Add a check in OnImportCheat to avoid crashing when can not get the title from cheat.db 2013-09-09 14:26:37 +08:00
Henrik Rydgård
59bd524c90 Merge pull request #3697 from raven02/patch-22
Render-to-texture : Add | 0x04000000 to address
2013-09-08 15:27:33 -07:00
raven02
89b2913455 Render-to-texture : Add | 0x04000000 to address 2013-09-09 06:20:54 +08:00
Henrik Rydgård
437ba70bec Merge pull request #3696 from unknownbrackets/msgpipes
Add callback handlers to msgpipes as well
2013-09-08 15:13:28 -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
Henrik Rydgård
150f850189 Merge pull request #3695 from unknownbrackets/threadend
Improve threadend waits, add callback handlers, some cleanup
2013-09-08 15:02:16 -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
035f5660e4 Silence a minor warning. 2013-09-08 11:59:51 -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
d5a664a0fa Merge pull request #3693 from raven02/patch-21
Render-to-texture : Update game list comments
2013-09-08 05:54:27 -07:00
raven02
65564725e8 Render-to-texture : Update game list comments 2013-09-08 19:44:36 +08:00
Henrik Rydgård
b711d66f6e Merge pull request #3690 from Kingcom/Reset
Reset while stepping improvements
2013-09-08 02:09:29 -07:00
Kingcom
2ecbabd815 Reset while stepping improvements 2013-09-08 10:04:39 +02: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
91dc8635ce Merge pull request #3685 from mgaver/patch-5
Update korean.txt
2013-09-08 00:36:48 -07:00
Henrik Rydgård
21b3b4bfee Merge pull request #3681 from Kokusho/master
some fix for qt interface
2013-09-08 00:36:33 -07:00
Henrik Rydgård
2b2678beba Merge pull request #3686 from unknownbrackets/warnings
Warning fixes
2013-09-08 00:33:46 -07:00
Henrik Rydgård
0fa642be4c Merge pull request #3682 from mupralsh/patch-1
Remove Bahasa (which means language) from dr_ID region name.
2013-09-08 00:26:40 -07:00