Henrik Rydgård
e48f27377d
Merge pull request #8807 from unknownbrackets/psmf
...
Psmf: Correct default stream
2016-06-08 08:34:28 +02:00
Unknown W. Brackets
80d72acaec
Psmf: Correct default stream.
...
Fixes Jeanne d'Arc, others.
2016-06-07 20:41:13 -07:00
Henrik Rydgård
ce8d2bef57
Merge pull request #8803 from unknownbrackets/mpeg
...
Reject invalid MPEG puts for certain lib versions
2016-06-05 13:44:38 +02:00
Henrik Rydgard
8294a54a70
Disable dual source blending on nvidia Android. See #8243
2016-06-05 09:15:10 +02:00
Henrik Rydgård
e72cc3321a
Merge pull request #8804 from unknownbrackets/gpu-minor
...
Download single-use renders right away
2016-06-05 08:23:17 +02:00
Henrik Rydgård
cad7235c86
Merge pull request #8802 from unknownbrackets/file-minor
...
Fix extract file and sharing violation handling
2016-06-05 08:22:48 +02:00
Henrik Rydgård
3649231d66
Merge pull request #8799 from unknownbrackets/psmf
...
Correct some more scePsmf functions
2016-06-05 08:22:12 +02:00
Henrik Rydgård
ca80aaa3f3
Merge pull request #8805 from unknownbrackets/invalid-iso
...
Provide clearer errors for invalid ISOs
2016-06-05 08:21:24 +02:00
Unknown W. Brackets
5fcf6ee012
Provide clearer errors for invalid ISOs.
2016-06-04 22:10:47 -07:00
Unknown W. Brackets
c12f835364
Download single-use renders right away.
...
Should prevent issues with the memory being reused soon after, hopefully.
See also #8781 and #7695 .
2016-06-04 19:36:30 -07:00
Unknown W. Brackets
bda1956f90
Psmf: Enable error check on player create.
...
Reporting makes it look like this should be safe.
2016-06-04 18:17:38 -07:00
Unknown W. Brackets
cf2796de41
Psmf: Allow each struct to have its own stream.
...
Some games will create a clone, and then set a different stream on it,
e.g. one for the video, another for the audio stream.
2016-06-04 18:17:37 -07:00
Unknown W. Brackets
b13c68a373
Psmf: Correct get video/audio info errors.
...
This actually grabs from the currently specified stream, and fails if it's
the wrong type. Additionally, return stream-specific info... unlikely to
matter, hard to imagine a video with a mono and stereo stream.
Also reduces log verbosity.
2016-06-04 18:17:37 -07:00
Unknown W. Brackets
185ad781f3
Psmf: Add better error handling for SetPsmf.
...
Checked on different devkit versions in case of changes.
2016-06-04 18:17:36 -07:00
Unknown W. Brackets
4826405c26
File: Retry open when a sharing violation is hit.
...
Some editors will lock the file while it's open, and it is convenient if
you can still have things work when that happens.
2016-06-04 18:17:05 -07:00
Unknown W. Brackets
785908e552
Write out correct bytes in extract file.
...
Oops, this was always aligning to 4KB.
2016-06-04 18:16:42 -07:00
Unknown W. Brackets
04dcaeae1d
Mpeg: Move, rather than resetting, packetsAvail.
...
When we've got garbage data, this has to stay incorrect. Without this,
Megaman X gets confused when playing its video (because it enqueues
garbage packets.)
See #3318 .
2016-06-04 18:16:23 -07:00
Unknown W. Brackets
4ee39f82e4
Mpeg: Validate added packets.
...
Older libraries only, but this will cause it to reject packets that don't
make sense. So far, this seems to mirror the behavior of various garbage
packets sent to the real firmware.
2016-06-04 18:16:22 -07:00
Unknown W. Brackets
c8d0270bb4
Mpeg: Validate data more during demux.
...
This also parses a bit earlier, not requiring a full 2048 bytes ahead at
all times.
2016-06-04 18:16:21 -07:00
Unknown W. Brackets
41f2999a2b
Mpeg: Write into the ringbuffer using actual ring.
...
This mimics behavior with clamped sizes and wrap around, and also makes it
easier to implement the garbage data handling the PSP has.
2016-06-04 18:16:21 -07:00
Unknown W. Brackets
4d16835990
Mpeg: Validate the pack header.
2016-06-04 18:16:20 -07:00
Unknown W. Brackets
b191fd2914
Mpeg: Make sure not to demux outside the buffer.
2016-06-04 18:16:19 -07:00
Unknown W. Brackets
6d14c17f26
Mpeg: Treat negative available packets as zero.
2016-06-04 18:16:19 -07:00
Unknown W. Brackets
deffb246ae
Mpeg: Require less memory for older lib versions.
...
It seems it started requiring 64k at 1.05.
2016-06-04 18:16:18 -07:00
Henrik Rydgård
6bbcf74926
Merge pull request #8801 from unknownbrackets/tmpfs
...
Improve performance on Raspberry Pi (and maybe other Linux)
2016-06-04 15:08:33 +02:00
Unknown W. Brackets
9471107d0d
If possible, use /dev/shm instead of /tmp.
...
For some variants, /tmp will be tmpfs, but not always. In case our mmap
fails to prevent flushing to disk (as apparently happens on Raspberry Pi),
shm will work better for us.
Thanks go to klyoungblood.
2016-06-03 19:49:22 -07:00
Henrik Rydgård
606856c9ad
Merge pull request #8791 from unknownbrackets/delay
...
Minor sysclock delay accuracy improvements
2016-05-31 21:08:00 +02:00
Henrik Rydgård
87f3cf565a
Merge pull request #8793 from unknownbrackets/psmf
...
Correct some scePsmf info retrieval funcs and error handling
2016-05-31 21:04:50 +02:00
Henrik Rydgård
cab2c29909
Merge pull request #8796 from unknownbrackets/warnings
...
Minor warning fixes
2016-05-31 21:04:36 +02:00
Unknown W. Brackets
f4a06cd79a
Remove an impossible assert condition.
2016-05-31 11:56:23 -07:00
Unknown W. Brackets
6ee770bd80
Add some missing overrides to declarations.
2016-05-31 11:55:45 -07:00
Unknown W. Brackets
f084084ff7
Clean up accidental debug code.
2016-05-31 11:53:17 -07:00
Unknown W. Brackets
30e13c7c37
Clean up some unused result warnings.
2016-05-31 11:49:59 -07:00
Unknown W. Brackets
25136eb019
Remove an unused function.
2016-05-31 11:40:39 -07:00
Unknown W. Brackets
419b960403
x86jit: Fix params in Replace_fabsf.
2016-05-31 10:40:14 -07:00
Unknown W. Brackets
91887ad85c
Psmf: Correct errors in current stream num.
2016-05-31 09:55:51 -07:00
Unknown W. Brackets
0a00777403
Psmf: Only write current type/channel if valid.
...
And improve error handling in general.
2016-05-31 09:55:51 -07:00
Unknown W. Brackets
7ad07ca82e
Psmf: Handle stream specification per tests.
...
These seem buggy, but generally sane.
2016-05-31 09:55:50 -07:00
Unknown W. Brackets
cca9a73105
Psmf: Start at stream 0 when not specified.
2016-05-31 09:55:49 -07:00
Unknown W. Brackets
510db2051d
Psmf: Detect PCM streams from private stream info.
...
This logic comes from Jpcsp. Let's report though and see if there's more.
2016-05-31 09:55:49 -07:00
Unknown W. Brackets
74239c199d
Psmf: Allow AUDIO type when specifying streams.
2016-05-31 09:55:48 -07:00
Unknown W. Brackets
5f7c95f249
Psmf: Count PCM as an AUDIO stream as well.
2016-05-31 09:55:47 -07:00
Unknown W. Brackets
9df727f94f
Psmf: Stop pretending streamMap is a vector.
2016-05-31 09:55:47 -07:00
Unknown W. Brackets
8df298f622
Thread: Auto-resume dispatch for worse threads.
...
Seems this doesn't happen when you start a better priority thread, pretty
reproducibly.
2016-05-31 09:55:20 -07:00
Unknown W. Brackets
197f3393df
Thread: Better/minor accuracy for sysclock delay.
...
Certain negative values shouldn't cause a delay, could help if a game has
a bug.
2016-05-31 09:55:19 -07:00
Unknown W. Brackets
baac12b327
Log args for dispatch/interrupt early-fail.
2016-05-31 09:55:18 -07:00
Unknown W. Brackets
7814cdced2
Merge pull request #8794 from NCDyson/master
...
fix segfault on VirtualDiscFileSystem::GetFileInfo()
2016-05-31 08:02:25 -07:00
NCDyson
cc829f31b8
Attempt to fix segfault on VirtualDiscFileSystem::GetFileInfo for files where handler is specified
2016-05-31 06:23:53 -05:00
Henrik Rydgård
a690492836
Merge pull request #8792 from unknownbrackets/tex-replace
...
Allow more options in texture [hashes] syntax
2016-05-31 09:30:15 +02:00
Unknown W. Brackets
5840338397
Create parent directories when saving new textures.
2016-05-31 00:13:53 -07:00