Commit Graph

20561 Commits

Author SHA1 Message Date
Unknown W. Brackets
558b4620e8 Mpeg: Parse video streams from PSMF header.
Without doing this, FFmpeg will try to probe the streams to detect them
instead.  When it does this, sometimes it tries to read beyond the data
that's available - and then gets confused by EOFs.

Parsing this way allows us to control the situation.

An example is Valkyrie Profile, corruption in the first frames of the
second video during the intro.  Thi doesn't fix it yet, but now it's just
a matter of buffering.
2016-07-24 15:58:06 -07:00
Unknown W. Brackets
dcc2541b71 Mpeg: Ask FFmpeg not to look beyond the header. 2016-07-24 15:58:05 -07:00
Unknown W. Brackets
57ae9a1181 Mpeg: Ensure garbage is not read from header.
In cases where we did not have a full 64k at first, we would potentially
send FFmpeg garbage if it asked for it.
2016-07-24 15:58:04 -07:00
Unknown W. Brackets
ff95fcd321 Mpeg: Minor cleanup to header parsing.
Make sure we don't read garbage.
2016-07-24 15:58:03 -07:00
Henrik Rydgard
eb72a746b9 Fix one possible (reproducible!) startup crash in IRJit. May help #8848 2016-07-25 00:21:01 +02:00
Henrik Rydgård
a1e815e356 Merge pull request #8651 from unknownbrackets/android-clang
Switch Android build to using clang (needs buildbot update)
2016-07-24 22:14:58 +02:00
Henrik Rydgard
2251c9c8f7 Help #8816 by partially reverting #8753. Does not match the tests though. Firmware difference? 2016-07-24 22:12:17 +02:00
Unknown W. Brackets
e269a806cd Remove unused exports / sections in jni on x86_64.
This resolves a linkage error with x64 affecting Marshmallow and clang.
It also makes the unexported symbols non-visible since they don't need to
be - this reduces the size of the ppsspp_jni.so too.

Unfortunately, it reduces the readability of stack traces.
2016-07-24 12:55:30 -07:00
Unknown W. Brackets
266ee632e8 Cleanup FFmpeg funcs deprecated in 3.x. 2016-07-24 12:53:54 -07:00
Unknown W. Brackets
316b7457b9 Upgrade to FFmpeg 3 / clang. 2016-07-24 12:53:43 -07:00
Unknown W. Brackets
a1799ab4ea Update Travis to NDK r12b. 2016-07-24 12:52:43 -07:00
Unknown W. Brackets
5094bd0ea1 Add include for Android NDK r12. 2016-07-24 12:52:24 -07:00
Unknown W. Brackets
d0b1f1a26e Switch Android build to clang.
It's now the recommended build from NDK 11+.  GCC is deprecated.
2016-07-24 12:52:24 -07:00
Unknown W. Brackets
4bb24e0d8a Use gl3stub versions of VAO funcs on GLES. 2016-07-24 12:52:23 -07:00
Unknown W. Brackets
f4999bc6f8 Merge pull request #8868 from hrydgard/close-errors
Return error when trying to close files with pending operations
2016-07-24 12:23:54 -07:00
Henrik Rydgard
40549b14fd Error code cleanup 2016-07-24 21:22:26 +02:00
Henrik Rydgård
d0b8e83a0e Merge pull request #8866 from unknownbrackets/android-shortcut
Android: Use the game title as the shortcut title
2016-07-24 16:39:19 +02:00
Henrik Rydgard
745081cc4e Return errors when trying to close file with pending operations. May help #6357. 2016-07-24 16:03:34 +02:00
Henrik Rydgard
210cd4b52d New vulkan validation issues... 2016-07-24 15:55:05 +02:00
Unknown W. Brackets
76cd5bf876 Android: Use the game title as the shortcut title.
This way when you have more than one, it's not just "PPSSPP" on each of
them.
2016-07-23 14:12:14 -07:00
Unknown W. Brackets
6320a875ad Merge pull request #8864 from sails/patch-1
Update NativeActivity.java
2016-07-20 19:29:21 -07:00
sails
ecf57bdc23 Update NativeActivity.java
fix javaGL bug
2016-07-21 09:31:44 +08:00
Henrik Rydgård
4a1d3c3341 Merge pull request #8860 from unknownbrackets/tex-replace
Correct replaced texture formats in Direct3D 9
2016-07-17 19:48:36 +02:00
Unknown W. Brackets
69fbdc7156 Avoid trimming trailing whitespace in editors.
Unfortunately, many of our files have trailing whitespace...
2016-07-17 09:03:44 -07:00
Unknown W. Brackets
b30d0e8cec d3d9: Correct replaced texture format.
This was causing the row width to be wrong for many textures too, which
was generating errors.
2016-07-17 09:03:08 -07:00
Henrik Rydgård
dddb3c39eb Merge pull request #8852 from unknownbrackets/clut-fix
Correct CLUT load size
2016-07-09 21:06:54 +02:00
Unknown W. Brackets
8c6cdd0274 Correct CLUT load size.
Should be measured in 32 bytes not 16 bytes.

See #8850.
2016-07-09 10:13:43 -07:00
Henrik Rydgård
c6d4966067 Make really sure we're not using the IRBlock copy constructor other than on Symbian.
Turns out it ended up being used on Mac, and our asserts just debugprint and don't actually assert...
2016-07-09 09:32:41 +02:00
Henrik Rydgård
3fc255b429 Make it possible to run even if SDL was built with joystick disabled. Should fix #8851. 2016-07-09 09:15:49 +02:00
Henrik Rydgard
e0845b876f Fix some bugs in the IRJit. Hopefully helps #8848 2016-07-08 00:05:44 +02:00
Henrik Rydgård
1f8afd7467 Merge pull request #8847 from unknownbrackets/ui-textwrap
Allow text wrapping in UI TextViews
2016-07-05 13:25:17 +02:00
Henrik Rydgård
345e2756a9 Merge pull request #8834 from unknownbrackets/report-crc
Send disc CRC with compatibility reports
2016-07-05 12:13:30 +02:00
Unknown W. Brackets
5479f10102 UI: Allow longer load errors to wrap.
This should make translations easier.
2016-07-04 16:03:23 -07:00
Unknown W. Brackets
a2494b4ff2 UI: Allow TextViews to use wordwrap.
But they must have a fixed width.
2016-07-04 16:03:22 -07:00
Unknown W. Brackets
30e99206c9 UI: Add a generic word wrapper class. 2016-07-04 16:03:22 -07:00
Unknown W. Brackets
27286d0949 Add notice about battery-consuming CRC. 2016-07-04 12:19:25 -07:00
Unknown W. Brackets
33b392821c Stop reporting FrameRate.
This is just a speed setting, it doesn't affect emulation.
2016-07-04 12:12:42 -07:00
Unknown W. Brackets
226abfeea8 Reset flag when trying server anew. 2016-07-04 12:12:41 -07:00
Unknown W. Brackets
42fd4aeb12 Show feedback when the compatibility is submitted. 2016-07-04 12:12:40 -07:00
Unknown W. Brackets
45218be5e3 Send a CRC hash with compatibility reports. 2016-07-04 12:07:15 -07:00
Unknown W. Brackets
65c7d0bd04 Add uncached flag for file loader reads.
This allows us to indicate that a read need not be cached.
2016-07-04 12:07:15 -07:00
Henrik Rydgård
cbb1ab17ca Merge pull request #8845 from unknownbrackets/http
Add UI for wifi remote disc streaming
2016-07-04 20:38:54 +02:00
Unknown W. Brackets
3c47440d0c http: Set an explicit timeout on HTTP connect.
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Unknown W. Brackets
f53735f1d8 http: Add a safety bailout on list load.
Hopefully this will prevent a crash.  Currently http::Client uses blocking
reads so it will just hang.
2016-07-04 07:32:49 -07:00
Unknown W. Brackets
287d1967a5 http: Properly stop server on stop server. 2016-07-04 07:24:04 -07:00
Henrik Rydgård
1091fd2dc0 Merge pull request #8840 from unknownbrackets/ir-vfpu
Minor IR cleanup in the VFPU
2016-07-04 10:02:52 +02:00
Henrik Rydgård
1837870c67 Merge pull request #8841 from unknownbrackets/vulkan
Allow C++ to determine use of JavaGL
2016-07-04 10:02:18 +02:00
Henrik Rydgård
59c4260907 Merge pull request #8844 from unknownbrackets/ir-debug
Add memory breakpoints to IR as well
2016-07-04 10:01:49 +02:00
Unknown W. Brackets
429346bb94 http: Make sure we don't hang checking existence.
It's not great to delay loading when the server is down - we'll do a
proper check when we display the games.

This also fixes shutdown being slow.
2016-07-04 00:46:42 -07:00
Unknown W. Brackets
c793efd69a http: Load actual game list. 2016-07-04 00:16:58 -07:00