20457 Commits

Author SHA1 Message Date
Unknown W. Brackets
4c94cd764d Scale directly into the buffer if possible.
This will be possible in the majority of cases, and avoid an extra copy.
A small cost compared to scaling, but even so.
2016-06-25 08:40:45 -07:00
Unknown W. Brackets
3db69b87d7 Move ScaleAlways to common code. 2016-06-19 11:31:43 -07:00
Unknown W. Brackets
5962093ef5 Centralize the majority of texture decode. 2016-06-19 08:05:54 -07:00
Unknown W. Brackets
339f065a5c Centralize texture deindexing more. 2016-06-19 07:14:31 -07:00
Unknown W. Brackets
0519b3ef79 Merge pull request #8814 from LunaMoo/screenshot
Create screenshot directory if not exist when using Report Feedback
2016-06-18 07:17:30 -07:00
LunaMoo
36debd03f5 Create screenshot directory if not exist when using Report Feedback 2016-06-18 09:48:18 +02:00
Henrik Rydgård
239d6d36da Merge pull request #8813 from daniel229/extra_ram
Enable extra ram for The Elder Scrolls Travels Oblivion USA Beta and Melodie alpha
2016-06-15 00:11:57 +02:00
daniel229
cfff0e9d82 Enable extra ram for The Elder Scrolls Travels Oblivion USA Beta and Melodie - alpha 2016-06-14 15:42:54 +08:00
Unknown W. Brackets
c0c43acb6e Buildfix for gcc.
At least our Travis gccs are hitting an ICE.
2016-06-12 12:08:34 -07:00
Henrik Rydgård
b0ac553e77 Merge pull request #8812 from unknownbrackets/reporting
Include screenshots in compatibility reports
2016-06-12 20:39:38 +02:00
Unknown W. Brackets
85e7980c44 Prompt for reporting even when disabled.
To improve visibility.
2016-06-12 10:46:57 -07:00
Unknown W. Brackets
2ceee79324 Send screenshots with compatibility reports. 2016-06-12 10:00:32 -07:00
Unknown W. Brackets
347158ecc6 Include Content-Transfer-Encoding in uploads.
We should specify it's binary, otherwise proxies might munge the data.
2016-06-12 09:07:04 -07:00
Unknown W. Brackets
da0a79f695 Add an extra param for reporting to verify data. 2016-06-12 07:34:21 -07:00
Unknown W. Brackets
7af1deb768 Reduce chance of reporting data corruption.
We already check for spam, so this shouldn't be happening, but let's play
it safer.
2016-06-12 07:30:36 -07:00
Unknown W. Brackets
a02237d6f6 Show a screenshot when reporting compatibility. 2016-06-12 07:21:56 -07:00
Unknown W. Brackets
5b402dd6e5 Generate mipmap levels for screenshot views. 2016-06-12 07:15:45 -07:00
Unknown W. Brackets
6151f8ef9f Allow taking screenshots with a clamped size.
Sometimes 10x is a little on the big side.
2016-06-12 07:09:01 -07:00
Henrik Rydgård
8dceaedf91 Merge pull request #8808 from unknownbrackets/reporting
Clean up compatibility rating slightly
2016-06-10 09:37:07 +02:00
Unknown W. Brackets
16897bd19d Force "Nothing" compatibility to bad stars.
Reporting "Great" speed with "Nothing" compatibility makes no sense.
2016-06-09 21:07:30 -07:00
Unknown W. Brackets
677693b764 Disable reporting when game id is missing.
We can't track compatibility without a game id.  That either means
inventing one for homebrew (one that is consistent for all copies) or not
reporting homebrew.
2016-06-09 20:40:04 -07:00
Henrik Rydgård
5da0375ee9 Merge pull request #8806 from unknownbrackets/tex-replace
Flag replaced/scaled textures so we don't reuse them on change
2016-06-08 08:34:46 +02:00
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
Unknown W. Brackets
65ae92c78b Also avoid updating images with replacements. 2016-06-06 23:02:56 -07:00
Unknown W. Brackets
fc77e2f8fc Flag replaced/scaled textures so we don't reuse.
Otherwise, we may try to use the replaceImages path, and end up with a
small updated texture in the top left of a large replaced texture.
2016-06-06 19:35:58 -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