Commit Graph

8496 Commits

Author SHA1 Message Date
Henrik Rydgård
f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Henrik Rydgård
88ad1cb3d8 Attempt to workaround #9190 2016-12-27 11:55:45 +01:00
Gde Made Novan Priambhada
bb973545e1 crosslink database & product id database 2016-12-24 05:46:50 +08:00
Henrik Rydgard
1e095951dd Replace while loop with division (technically a right shift). 2016-12-20 22:02:40 +01:00
Henrik Rydgard
ff4b99dd97 Replace for-loop with multiplication 2016-12-20 21:52:25 +01:00
Henrik Rydgard
6782f7c75d Just figure out how many samples to read, then read it, instead of one-by-one. 2016-12-20 21:47:50 +01:00
Henrik Rydgard
e802fb0b73 Remove the verification. 2016-12-20 21:42:11 +01:00
Henrik Rydgard
451388070a Fix bug. Now use the quick inner loop, just need to redo the sample reader... 2016-12-20 21:37:31 +01:00
Henrik Rydgard
064795216e Add parallel resampling algorithm that reads directly from the temp buf 2016-12-20 21:05:23 +01:00
Henrik Rydgard
47df134b66 Optimization step 1: Separate the loops, save history from buffer. 2016-12-20 20:50:34 +01:00
Henrik Rydgard
61f80edda3 SasAudio: Straightforward implementation of linear interpolation.
Not sure about the performance impact, but calling ReadSamples with 1 as
an argument can't be terribly fast. So this might need some redesign
before merge, but should be a good starting point.
2016-12-20 20:23:00 +01:00
Henrik Rydgard
9d7983eee8 Remove the ability to turn off prescaleUV entirely. It's simply better to do it in the vertex decoder. 2016-12-20 13:27:44 +01:00
Florent Castelli
46fdc0f5f5 cmake: Move some cmake includes to ext 2016-12-18 22:17:41 +01:00
Florent Castelli
6852c602b9 glew: Move to ext 2016-12-18 21:13:45 +01:00
Julian
c92ec20811 Fixed Inconsistent texture filtering in Disgaea 2 #4235 2016-12-16 22:53:55 +02:00
Henrik Rydgård
4a7809881b Merge pull request #9139 from hrydgard/defensive-programming
Attempts to counter crashes seen in the Google Play developer console
2016-12-07 11:25:43 +01:00
latot
7047ad2271 fix sscanf types 2016-12-02 22:46:52 -03:00
Henrik Rydgard
5d5f10d956 Attempts to counter crashes seen in the Google Play developer console 2016-12-01 22:07:03 +01:00
Henrik Rydgard
dee686b9d4 Add a setting to make the audio buffer sizes bluetooth-friendly on Android.
Replaces #8846
2016-12-01 21:36:44 +01:00
Henrik Rydgard
e1e335885c A better alternative to #8564 2016-12-01 18:23:58 +01:00
Henrik Rydgård
923d82c391 Merge pull request #8975 from tywald/master
Ad hoc: Band-aid fix for clear peer list. Should fix #7331
2016-11-28 18:37:50 +01:00
Ade Novan
55de66b5ef Phantasy Star Portable 2 port offset fix 2016-11-22 19:57:11 +08:00
Henrik Rydgard
5df685fa07 Fix another couple of arch define things 2016-11-03 22:25:55 +01:00
LunaMoo
5765655214 Fix comments after code lines and avoid UI crash from empty comments 2016-10-24 04:37:49 +02:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
f02e2b59b0 qt: Build Qt frontend with CMake. Requires Qt5. 2016-10-17 23:45:21 +02:00
Ade Novan
ff0e3c28b4 ptp connect fix solved #8983 for android with high latency 2016-10-13 01:21:24 +08:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
Henrik Rydgård
705627d6d3 Merge pull request #9053 from Orphis/android_define
android: Change preprocessor define to standard __ANDROID__
2016-10-12 13:12:14 +02:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Henrik Rydgard
f6ebedba78 Fix some build errors. 2016-10-10 22:01:20 -07:00
Henrik Rydgard
d3305b88b9 Partially implement KUBridge, trying to help #8925. However, it doesn't even call the function.... Odd. 2016-10-09 12:40:40 +02:00
Unknown W. Brackets
1c3e048070 Vulkan: Consistently init the graphicsContext.
This was only happening properly on Windows before.
2016-10-01 11:22:53 -07:00
Henrik Rydgård
8b5693b4d7 Merge pull request #9014 from unknownbrackets/mpeg-minor
Fix some mpeg issues
2016-09-29 11:17:28 +02:00
Henrik Rydgård
dfda67e815 Merge pull request #9016 from unknownbrackets/screenshot
Use the display vfb for reporting/save state/TAS screenshots
2016-09-29 11:16:59 +02:00
Unknown W. Brackets
4d0c457ddc Cleanup display vs. output screenshot terminology. 2016-09-25 16:35:43 -07:00
Unknown W. Brackets
fa0e88f1b7 Add a flag to use the display vfb for screenshots.
This fixes proportions of reporting, savestate screenshots, and TAS
recording for PS1 ports, mainly.
2016-09-25 16:32:18 -07:00
Henrik Rydgård
ff66fe7f89 Merge pull request #9011 from unknownbrackets/savestates
Use unordered lookups for better speed
2016-09-25 16:08:51 +02:00
Henrik Rydgård
1aa399c3f5 Merge pull request #9012 from unknownbrackets/legacy
Remove Symbian from Travis
2016-09-25 16:08:41 +02:00
Unknown W. Brackets
f70f05668f Mpeg: Return errors when no audio is available.
Before, we were only returning an error once, in an effort to log only
once.  This meant sometimes games would not realize they needed to add
packets.

Un-reverted from e866d83.  No longer breaks Patapon with other mpeg fixes.
2016-09-24 17:54:40 -07:00
Unknown W. Brackets
209500ac0e Read only the mpeg header when reading packets.
When trying to convince FFmpeg to read only the header, this was allowed
to get longer.  But we only really need the actual header here, and that
can prevent FFmpeg mis-parsing later packets.
2016-09-24 17:45:51 -07:00
Unknown W. Brackets
c9f5cc6bad Fix a type comparison warning. 2016-09-24 14:38:11 -07:00
Unknown W. Brackets
3fe1a08cf5 Use unordered lookups for better speed.
These reduce the time spent on save states.
2016-09-24 14:23:17 -07:00
Unknown W. Brackets
5faa65d9a9 Compress rewind snapshots off thread.
This can take a chunk of time, and doesn't need to finish until next frame
anyway, so we have plenty of time to do it.
2016-09-24 10:37:30 -07:00
Henrik Rydgard
3ee2b27cdd Update ext/armips 2016-09-18 23:11:41 +02:00
Henrik Rydgard
853ea02201 Minor cleanups in elfreader 2016-09-18 23:11:41 +02:00
Henrik Rydgård
bcadd60eac Merge pull request #8990 from unknownbrackets/reporting
Module: Don't report broken stubs from old states
2016-09-18 18:27:25 +02:00
Unknown W. Brackets
e02440b68a Module: Don't report broken stubs from old states. 2016-09-18 09:01:27 -07:00
tywald
b3bb846759 band-aid fix for ad-hoc clear peer list 2016-09-13 17:07:45 +02:00
Unknown W. Brackets
e661c96044 Use safest alpha status in texture replace. 2016-09-11 11:05:14 -07:00
Unknown W. Brackets
29f5763d32 Fix some warnings.
The enum type was not hurting anyone, since the values were the same.
2016-09-10 20:32:37 -07:00
Henrik Rydgård
cc8f66b631 Merge pull request #8965 from hrydgard/exynos-cache-fix
Port over the Exynos cacheline size fix from Dolphin.
2016-09-10 17:19:25 +02:00
Henrik Rydgard
1c47778b4e Get rid of outdated special case for gfx logs. Make some DEBUG things VERBOSE. 2016-09-10 17:16:53 +02:00
Henrik Rydgard
a465104e28 Minor code cleanup in StereoResampler (remove inner class) 2016-09-10 12:17:19 +02:00
Henrik Rydgard
03279e1212 Port over the Exynos cacheline size fix from Dolphin. Thanks to lewurm of the mono project for the discovery and original fix.
See https://github.com/dolphin-emu/dolphin/pull/4204 and https://github.com/mono/mono/pull/3549
2016-09-10 09:25:06 +02:00
Unknown W. Brackets
79f1b1926d Merge pull request #8959 from RisingFog/frame_dump_cleanups
Remove deprecated ffmpeg code from AVIDump
2016-09-06 09:47:30 -07:00
sum
d774f80bc2 oop 2016-09-06 19:51:59 +08:00
sum
94c8d6d8e4 remove space 2016-09-06 19:30:23 +08:00
sum
5d6c9701f2 Fix scePowerSetClockFrequency timing by JPCSPTrace
Fix #4523
2016-09-06 19:28:23 +08:00
Chris Burgener
037328f509 Remove deprecated ffmpeg code 2016-09-05 23:02:36 -04:00
Unknown W. Brackets
bb20ed1d16 Fix a class/struct type warning. 2016-09-05 19:14:59 -07:00
Unknown W. Brackets
83469d5b18 Fix a type conversion warning. 2016-09-05 19:14:48 -07:00
Henrik Rydgård
3490220db0 Merge pull request #8955 from unknownbrackets/threadret
Correct initial thread ra and fp
2016-09-05 23:13:47 +02:00
Unknown W. Brackets
d876da1a01 Initialize fp correctly on a new thread. 2016-09-05 08:57:09 -07:00
Unknown W. Brackets
1e51a03d5a Point ra to the correct place on a new thread.
Turns out some games read the ra, maybe long jmps or something?
2016-09-05 08:56:27 -07:00
Unknown W. Brackets
b06359edd1 Merge pull request #8945 from RisingFog/frame_dump
Add Display Recording and Audio Dumping to Desktop
2016-09-04 15:30:26 -07:00
Chris Burgener
b22f785769 Fix Symbian Builds 2016-09-04 12:52:14 -04:00
Chris Burgener
7d089a0f76 Clean up various files 2016-09-03 19:23:17 -04:00
Chris Burgener
645cb4d69e Add Audio Dumping to File 2016-09-03 14:05:38 -04:00
Kelly Youngblood
7d191ccc11 Adds --PS3 flag for PS3 controllr support on SDL. 2016-09-03 00:15:25 -05:00
Chris Burgener
3d8a49c846 Add Movie Menu to Win32 2016-09-02 12:53:31 -04:00
Chris Burgener
1fc6191c85 Add Frame Dumping for Windows 2016-09-02 12:52:52 -04:00
Henrik Rydgård
9e70a6f9d9 Merge pull request #8939 from RisingFog/frame_advance
Add Frame Advance
2016-08-30 16:45:54 +02:00
Henrik Rydgård
22b6988424 Fix issue with iOS JIT block linking, see #8122 2016-08-29 17:32:46 +02:00
Henrik Rydgard
4e5f1e2797 Fix block linking with W^X mode 2016-08-28 18:54:14 +02:00
Chris Burgener
842a29b0ae Add Frame Advance 2016-08-28 12:21:45 -04:00
Henrik Rydgard
b264657d56 Implement W^X-compatible path. Works on Windows and Android, hopefully iOS (untested).
Disabled block linking in this mode, can re-enable with some more work later.

To enable W^X on other platforms than iOS, simply change PlatformIsWXExclusive.
2016-08-28 14:52:08 +02:00
Henrik Rydgard
323eb72b7c Write-protect the dispatcher on all platforms. 2016-08-28 13:35:27 +02:00
Henrik Rydgård
22cef33a18 Merge pull request #8932 from unknownbrackets/font-minor
Font: Draw nothing for chars before first glyph
2016-08-28 11:21:24 +02:00
Henrik Rydgård
ef3f369311 Merge pull request #8933 from unknownbrackets/utility-deps
Utility: Only require avcodec for mp4
2016-08-28 11:19:24 +02:00
Unknown W. Brackets
5a797a08f7 Io: Do not delay on file seek.
This doesn't seem to reschedule, must've measured wrong in #939.

Fixes #8749.
2016-08-27 14:18:59 -07:00
Unknown W. Brackets
ee664fdc25 Utility: Only require avcodec for mp4.
Test was ambiguous - testing more carefully only 300 is required.  Not
sure how I got this wrong before since only 300 was required for the
others...

Should help #8926.
2016-08-27 10:15:35 -07:00
Unknown W. Brackets
eacebd4c41 Font: Draw nothing for chars before first glyph.
This matches the logic in sceFontGetCharImageRect(), and improves tests.
Previously, we were drawing the alt character in these cases.
2016-08-27 09:41:01 -07:00
Unknown W. Brackets
a0484dce65 Psmf: Use packets for end in all versions.
Turns out no version of the library looks at the pts for the end.
2016-08-15 21:00:10 -07:00
sum2012
00a379e9f0 Psmf: Ignore last timestamp with old PsmfPlayer libs
Until 5.50
Fix #6574
2016-08-16 03:57:36 +08:00
Unknown W. Brackets
f23391578f Psmf: Ignore stream size with old PsmfPlayer libs.
Until 5.50, the stream size was not used.  See #6574.
2016-08-14 17:24:29 -07:00
Unknown W. Brackets
f0a8e931ff Remove UTF-8 BOMs from a few files.
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Unknown W. Brackets
9655013938 Font: Skip log on missing zh_gb.pgf.
Fixes #8332.
2016-08-07 10:27:27 -07:00
Henrik Rydgård
889ab87639 Merge pull request #8893 from unknownbrackets/virtfs
Avoid crash in virtfs if handler fails to load
2016-08-07 12:35:27 +02:00
Henrik Rydgård
684b123a6d Merge pull request #8891 from unknownbrackets/mytranwars
Hook another VRAM modifying function in Mytran Wars
2016-08-07 12:35:11 +02:00
Unknown W. Brackets
92cdb583aa virtfs: Log properly on handler load failure. 2016-08-06 20:04:50 -07:00
Unknown W. Brackets
25c320aa4b virtfs: Avoid crash if handler cannot be loaded.
For example, if it was renamed or is for the wrong OS.
2016-08-06 19:23:46 -07:00
Unknown W. Brackets
ee3c8b6ea5 Display: Don't count a forced NEXTFRAME as a flip. 2016-08-06 16:47:33 -07:00
Unknown W. Brackets
3ca014858f Display: Flip at least once every 10 frames.
If we don't do this, the FPS doesn't update, and on some platforms, we
never read input.  This can basically mean that PPSSPP will hang.
2016-08-06 16:32:57 -07:00
Unknown W. Brackets
0e43f1cdff Hook another VRAM modifying function.
Seems to be a copy.
2016-08-06 16:30:47 -07:00
Henrik Rydgård
eac18489e6 Merge pull request #8867 from unknownbrackets/mpeg
Improve mpeg parsing / corruption issues
2016-08-06 18:14:17 +02:00
Henrik Rydgård
ef95bb05cc Merge pull request #8871 from unknownbrackets/android-power
Detect power saving mode on Android
2016-08-06 12:16:01 +02:00
Henrik Rydgård
ea6b72d4c9 Merge pull request #8888 from unknownbrackets/warnings
Warning fixes
2016-08-06 10:59:06 +02:00
Henrik Rydgård
0031244b1c Merge pull request #8889 from unknownbrackets/memstick
Initial support for memstick insert/remove
2016-08-06 10:58:49 +02:00
Henrik Rydgård
61c63e75c4 Merge pull request #8884 from sum2012/Font-minor
Better support zh_gb.pgf
2016-08-06 10:58:10 +02:00
Henrik Rydgård
cbf0a479fa Merge pull request #8882 from unknownbrackets/debugger
Add custom log expressions to the debugger
2016-08-06 10:54:57 +02:00
Unknown W. Brackets
980d4194c0 Io: Add a config setting for memstick status. 2016-08-05 21:27:53 -07:00
Unknown W. Brackets
bf7a020c6a Io: Notify callbacks on memstick insert/remove. 2016-08-05 21:05:48 -07:00
Unknown W. Brackets
9e488e8be4 Io: Correct some memstick devctl accuracy issues.
This makes it pass the right values in a few more cases, and unregister
callbacks properly.  Also handles duplicate callbacks.
2016-08-05 20:42:58 -07:00
sum2012
da8188ab7d Add more check for safely 2016-08-06 06:52:48 +08:00
Unknown W. Brackets
2d4e75369a Oops, fix typo.
Pointed out by Florin9doi - wasn't currently causing problems because the
value 1 isn't yet being used.
2016-08-05 11:34:22 -07:00
Unknown W. Brackets
fd546ff21d Fix some type comparison warnings. 2016-08-05 10:47:45 -07:00
Unknown W. Brackets
e55198f7e7 Correct some initialization order warnings.
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00
sum2012
390ecb3184 Better support zh_gb.pgf 2016-08-05 19:58:31 +08:00
Unknown W. Brackets
747a6ec524 Debugger: Add custom log expressions.
Similar to Visual Studio, just use {a1} to log the value of register a1.
Supports anything the expression parser supports.
2016-08-04 13:29:22 -07:00
Unknown W. Brackets
e4ca124b0e Debugger: Add custom breakpoint log message. 2016-08-04 13:07:56 -07:00
Unknown W. Brackets
9972e5b10a Debugger: Allow logging on CPU breakpoints. 2016-08-04 12:39:29 -07:00
Unknown W. Brackets
a9ad0cd471 Debugger: Make breakpoint actions more generic. 2016-08-04 12:02:44 -07:00
Unknown W. Brackets
db12337b39 Add basic kernel mode file func entries. 2016-08-04 09:46:29 -07:00
Unknown W. Brackets
e78a389ecc Move sceIo kernel tables to sceIo. 2016-08-04 09:46:29 -07:00
Unknown W. Brackets
0b43e28595 Move SysMemForKernel to sceKernelMemory. 2016-08-04 09:46:27 -07:00
Unknown W. Brackets
4b4770bbc5 Log kernel syscalls with a K.
This way they can be properly differentiated.
2016-08-04 09:46:26 -07:00
sum2012
1cc645b5e4 Revert "Temporarily disable PMP video for non-windows"
This revert
5e20ba1811
2016-07-25 20:21:53 +08:00
Unknown W. Brackets
372798e16c Auto-disable CRC reporting in power save mode. 2016-07-24 17:31:41 -07:00
Unknown W. Brackets
1f7a137926 Android: Detect and report power save mode.
This shows a message when it's on, or when power drops to low.
2016-07-24 17:04:06 -07:00
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
266ee632e8 Cleanup FFmpeg funcs deprecated in 3.x. 2016-07-24 12:53:54 -07:00
Henrik Rydgard
40549b14fd Error code cleanup 2016-07-24 21:22:26 +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 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 Rydgard
e0845b876f Fix some bugs in the IRJit. Hopefully helps #8848 2016-07-08 00:05:44 +02: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
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
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
c3e70c11f8 http: Save last-used port.
This is necessary for better caching, in case you share often.
2016-07-03 22:13:54 -07:00
Unknown W. Brackets
41e167f384 http: Oops, fix crash.
Huh, I thought I tested this?
2016-07-03 22:13:52 -07:00
Unknown W. Brackets
1de4943632 jit-ir: Avoid crash in stack walk.
This can happen if something is data, I suppose, and not a valid block.
2016-07-02 20:51:06 -07:00
Unknown W. Brackets
4578c3cb54 jit-ir: Implement memory breakpoints.
These generally work, but likely delay slots will make downcount slightly
off, and won't resume when you hit run again without manually stepping
through them.
2016-07-02 16:38:30 -07:00
Unknown W. Brackets
7cd666c351 jit-ir: Decrease downcount after delayslot.
Except for likely delay slots.  This makes breakpoints work more
correctly when they trigger within a delay slot.
2016-07-02 16:35:56 -07:00
Unknown W. Brackets
1df08518ae jit-ir: Implement basic icache clear. 2016-07-01 17:27:24 -07:00
Unknown W. Brackets
6fb34d0bee jit-ir: Add initial breakpoint support.
No memory breakpoints yet, and cache isn't cleared yet so these don't work
exactly the way you might expect...
2016-07-01 17:15:57 -07:00
Unknown W. Brackets
8fab3dc91b jit-ir: Allow 3x3 and 2x2 vmmov in IR.
While this will generate a lot of FMovs, it should still be better than
bailing to interp.
2016-07-01 14:08:32 -07:00
Unknown W. Brackets
65394f1dba jit-ir: Fix vbfy with overlap. 2016-07-01 14:08:31 -07:00
Unknown W. Brackets
4761c0aa3f jit-ir: Allow SIMD on vabs/vneg. 2016-07-01 14:08:31 -07:00
Henrik Rydgård
befeba7d80 Merge pull request #8832 from unknownbrackets/pbp-minor
Consistently resolve PBP paths, use /s in recent
2016-06-27 09:48:24 +02:00
Henrik Rydgård
3b67ed57a8 Merge pull request #8833 from unknownbrackets/reporting
Add reporting for sceKernelDevkitVersion() calls
2016-06-27 09:47:24 +02:00
Unknown W. Brackets
5009dcab7a Add reporting for sceKernelDevkitVersion() calls.
We currently default to 1.50 as the reported version, but we more or less
emulate a 6.60 system.  It may be better to return 6.60, but let's see
what would actually be impacted by that first.
2016-06-26 20:52:48 -07:00
Unknown W. Brackets
eb674b4699 Reduce load delay with many recent http files.
If we have data for them, we can start up fairly quickly.
2016-06-26 20:45:04 -07:00
Unknown W. Brackets
9d6684a776 Consistently resolve PBP paths, use /s in recent.
Drag and drop was using \s causing duplicate recent entries and confusing
some of the PBP parsing.  Let's make it all a bit safer.
2016-06-26 20:33:25 -07:00
Unknown W. Brackets
dcf8da244d Prevent buffer overrun from OSK dialog.
If there was never a null, by mistake, we'd corrupt memory and then crash.

Occurs in the "Sonymon" homebrew.
2016-06-26 20:28:01 -07:00
Unknown W. Brackets
7695cd78cb Show a confirmation screen after feedback submit. 2016-06-25 23:11:20 -07:00
LunaMoo
101df1da2b Ooops;3, remove leftover 2016-06-21 06:29:26 +02:00
LunaMoo
6c14b82005 Fix #8448 properly, in case we fail to generate ID.
Limit homebrew ini file generation to UI.
2016-06-20 20:50:13 +02:00
LunaMoo
778c518a37 Cheat menu access from gameScreen + minor bugfix +
Invalidate JIT for 0xE/0xD checks
And big thanks to [Unknown] for help:3
2016-06-20 11:33:02 +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
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
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
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
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 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
Unknown W. Brackets
5fcf6ee012 Provide clearer errors for invalid ISOs. 2016-06-04 22:10:47 -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
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
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
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
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