Commit graph

4627 commits

Author SHA1 Message Date
Unknown W. Brackets
0f459f9000 Fail if the cwd is too long as well. 2013-05-12 17:03:46 -07:00
Unknown W. Brackets
8e1193feba Fail with an error in sceIoChdir for invalid dev. 2013-05-12 16:51:08 -07:00
Unknown W. Brackets
7cab1c334b Remove a duplicate syscall entry. 2013-05-12 16:51:01 -07:00
Unknown W. Brackets
225d09555b Properly savestate umd0: references. 2013-05-12 16:37:03 -07:00
Unknown W. Brackets
37aa59fb3c Keep track of disc0:/ vs. disc0: in path parsing.
The difference matters and was getting lost.
2013-05-12 16:01:38 -07:00
Henrik Rydgård
3601723860 Merge pull request #1789 from unknownbrackets/gpu-minor
Don't use ivec in the fragment shader.
2013-05-12 13:28:48 -07:00
Unknown W. Brackets
03f3f99e39 Don't use ivec in the fragment shader.
Attempt at #1777.  Needs the + 0.5 to round properly on mobile.
2013-05-12 13:09:02 -07:00
Henrik Rydgård
3d56770eac Merge pull request #1787 from unknownbrackets/gpu-minor
Misc. GE changes and CLUT fix
2013-05-12 12:14:24 -07:00
Unknown W. Brackets
41fb41afdb Only report these once to avoid spam. 2013-05-12 12:00:21 -07:00
Unknown W. Brackets
5619c84432 Defer palette conversion after clut load.
Because the format can easily be specified afterward.
2013-05-12 10:57:41 -07:00
Unknown W. Brackets
39c0e6c096 Add reporting for unsupported GE commands.
And clean up some disasm for a couple others.
2013-05-12 10:30:26 -07:00
Unknown W. Brackets
5ecacd6bc8 Don't double alpha when alphablend is disabled.
Probably doesn't affect much.
2013-05-12 09:31:23 -07:00
Unknown W. Brackets
5223ee3d1b Move the font clut opt check to clut load.
And remove the report for mipmap sharing, seems to work...
2013-05-12 09:26:17 -07:00
Unknown W. Brackets
901a7b804e Implement mipmap clut sharing/not sharing.
It was kinda already there, probably from JPCSP.  Not well tested,
but this is what JPCSP does and it makes sense.
2013-05-12 09:04:50 -07:00
Henrik Rydgård
7d561eb520 Merge pull request #1779 from oioitff/atrac-fix
Finally got how sceAtracAddStreamData should work.
2013-05-12 06:28:23 -07:00
oioitff
64680a2c68 Revert changes for remainFrame in #1776. 2013-05-12 21:27:41 +08:00
Henrik Rydgard
9ea0f60514 Ugly android buildfix 2013-05-12 15:24:52 +02:00
oioitff
066a2e2182 Add some comments for sceAtrac 2013-05-12 21:14:41 +08:00
Henrik Rydgard
69b6a9fb2a Update ffmpeg 2013-05-12 14:51:04 +02:00
oioitff
7b8fb33ebc Improve sceAtracAddStreamData. 2013-05-12 20:04:50 +08:00
Henrik Rydgård
fa069c13e6 Merge pull request #1776 from raven02/patch-11
Improved few sceAtrac functions
2013-05-12 04:39:36 -07:00
Henrik Rydgård
e10c62c1b2 Merge pull request #1767 from unknownbrackets/texcache
Load cluts when told to, improve texhash func a bit
2013-05-12 03:34:04 -07:00
raven02
d822be8ac9 Bitrate calculation based on uofw implementation. 2013-05-12 17:00:21 +08:00
Unknown W. Brackets
7e23299c36 Immediately load the clut on LOADCLUT. 2013-05-12 01:56:26 -07:00
Unknown W. Brackets
518394cca8 Allow the full features string to be logged. 2013-05-12 01:56:25 -07:00
Unknown W. Brackets
4c43da9c23 Only apply the clut offset when using the clut.
This may fix games that use the clut offset having wrong colors.
2013-05-12 01:56:25 -07:00
Unknown W. Brackets
5a81bfd1fb Don't invalidate textures based on the clutaddr.
The cluthash should be sufficient, and this is less to pass around.
2013-05-12 01:56:25 -07:00
Unknown W. Brackets
7dd0d242e2 Load the clut only using LOADCLUT, not every tex.
This is a small optimization, and should match PSP behavior better.
It also allows us to hash the clut and convert colors less often.
2013-05-12 01:56:24 -07:00
Unknown W. Brackets
342ae6c322 Reuse the fullhash when it triggers a reload.
Instead of hashing it again a few microseconds later...
2013-05-12 01:56:24 -07:00
Unknown W. Brackets
724495cbb3 Mix add and xor in the texcache for better results. 2013-05-12 01:56:23 -07:00
Henrik Rydgård
dd1077d9cd Merge pull request #1772 from unknownbrackets/savedata
Improve automatic save/load based on tests
2013-05-12 01:17:03 -07:00
Henrik Rydgård
f01a9d4bbf Merge pull request #1768 from raven02/patch-9
Restore volume shift to 15
2013-05-12 01:15:10 -07:00
Unknown W. Brackets
27572e3a36 Default to saveName for AUTO LOAD/SAVE modes.
Maybe should for others, but at least these for sure.

Fixes #1017.
2013-05-11 21:01:20 -07:00
Unknown W. Brackets
1ffb0755b1 Move some things around and simplify. 2013-05-11 20:31:40 -07:00
Unknown W. Brackets
203abe6f7f In TYPE_SAVE/TYPE_LOAD, show a confirmation.
AUTOSAVE/AUTOLOAD don't, SAVE/LOAD do.
2013-05-11 19:10:01 -07:00
raven02
c1bb421a26 Restore volume shift to 15 2013-05-12 09:03:43 +08:00
Henrik Rydgård
c13a101901 Merge pull request #1765 from unknownbrackets/perf
Eat cycles in sceKernelReferThreadStatus()
2013-05-11 14:31:42 -07:00
Henrik Rydgård
3fa09a380e Merge pull request #1763 from unknownbrackets/gpu-minor
Improve GE disasm for a few commands
2013-05-11 14:22:47 -07:00
Henrik Rydgård
5b109daa8d Merge pull request #1759 from CrazyMax/master
add D-Pad diagonals handle for DirectInput
2013-05-11 14:21:48 -07:00
Henrik Rydgård
7512607758 Merge pull request #1764 from unknownbrackets/thread-funcs
Scheduling fix and test update
2013-05-11 14:21:04 -07:00
Unknown W. Brackets
16fe2c9691 Eat cycles in sceKernelReferThreadStatus().
Improves .hack//Link (demo)'s perf significantly, doesn't hurt anyone
else.
2013-05-11 12:25:55 -07:00
Unknown W. Brackets
c77643bac4 Update tests. 2013-05-11 11:54:43 -07:00
Unknown W. Brackets
5318e97a2e Threads starting better threads should stay at top.
This wasn't correct, I think I must've added it because something else
should've been rescheduling.
2013-05-11 11:28:37 -07:00
Unknown W. Brackets
347bccf9bc Fix bone matrix number disasm. 2013-05-11 10:31:04 -07:00
Unknown W. Brackets
a22934885d Improve GE disasm for a few commands. 2013-05-11 10:16:56 -07:00
CrazyMax
960d1f9be9 add D-Pad diagonals for DirectInput; 2013-05-11 17:45:09 +03:00
Henrik Rydgård
1b45afa797 Merge pull request #1756 from unknownbrackets/gpu-minor
Add reporting for alphatest mask
2013-05-11 03:54:59 -07:00
Unknown W. Brackets
84ab8aa79b Add reporting for alphatest mask.
Actually, maybe it being 0x00 could be advantageous...
2013-05-11 01:19:46 -07:00
Henrik Rydgård
d1eca34d05 Merge pull request #1745 from oioitff/atrac-fix
Improve sceAtracAddStreamData
2013-05-11 00:56:28 -07:00
Henrik Rydgård
a5c9ad9f99 Merge pull request #1753 from unknownbrackets/font-fix
Correctly call alloc/free font callbacks
2013-05-11 00:56:11 -07:00