Commit Graph

2914 Commits

Author SHA1 Message Date
Henrik Rydgård
5bd2b24a5c Merge pull request #2264 from aquanull/WinFix
Win fix
2013-06-15 00:16:00 -07:00
Henrik Rydgård
e41340d5b9 Merge pull request #2265 from raven02/patch-1
Better align the message context in message dialog
2013-06-15 00:14:40 -07:00
Henrik Rydgård
2348013cb9 Merge pull request #2260 from unknownbrackets/mpeg-fix
Ensure FFmpeg doesn't corrupt an early keyframe
2013-06-15 00:14:03 -07:00
Henrik Rydgård
180adb32d3 Merge pull request #2267 from unknownbrackets/thread-funcs
Return correct errors in sceKernelDeleteThread()
2013-06-15 00:11:19 -07:00
Henrik Rydgård
54140043a2 Merge pull request #2266 from unknownbrackets/atrac-fix
Ignore/fail on bad seeks for atrac3 audio
2013-06-15 00:10:59 -07:00
Unknown W. Brackets
1e805e7fc8 Return correct errors in sceKernelDeleteThread().
And also, don't reschedule in sceKernelTerminateDeleteThread(), per tests.
2013-06-15 00:05:21 -07:00
Unknown W. Brackets
7531e50d27 Ignore/fail on bad seeks for atrac3 audio.
This was happening in Disgaea, and causing it to crash.
2013-06-14 23:26:31 -07:00
Unknown W. Brackets
f6534c3809 Fix a possible buffer over/underflow issue in mpeg.
Atrac seems to have a problem here, so let's be safe.
2013-06-14 23:21:12 -07:00
Unknown W. Brackets
9406561492 The seek callback should return new offset.
Like lseek().  Not the passed param.
2013-06-14 23:12:56 -07:00
raven02
a9363292d6 Better align the message context in message dialog 2013-06-15 13:09:41 +08:00
aquanull
bb5fce600e Fix/prevent crashes when MainWindow is closed before LoadFile() completes, or when it gets certain messages before TheThread completes initialization.
Fix missing ppsspp.ini loading log (only 1 unimportant line though).
Fix loading ui_atlas.zim failure when [General]Browse = True is set in ppsspp.ini.
Some other minor fixes as well.
2013-06-15 13:06:43 +08:00
Unknown W. Brackets
2ec8106809 Ensure FFmpeg doesn't corrupt an early keyframe.
When the analyze func runs, it seems to check between 2-4% (or so?) of the
stream, which for longer videos especially we don't have yet.  Returning a
read failure here seems to truncate that keyframe sometimes.

FFmpeg asks for the total size when this happens, which we were ignoring.
Handling it fixes this, as FFmpeg apparently realizes we ran out of data.
2013-06-14 17:56:27 -07:00
Henrik Rydgard
ce2c18d2fe Remove redundant vmov instructions (seen in wipeout) 2013-06-15 00:19:48 +02:00
oioitff
f2af925015 fix wrong video/audio stream channel. 2013-06-15 01:42:19 +08:00
oioitff
94bc8d0cd6 Implement scePsmfGetNumberOfSpecificStreams. 2013-06-15 01:39:56 +08:00
oioitff
23cefa03c6 Delay video decode until we have enough packets. 2013-06-14 01:16:59 -07:00
Unknown W. Brackets
6192feb27a Don't return less than ffmpeg wants 'til the end.
Fixes #2223 (at least for the games I have.)
2013-06-14 01:14:40 -07:00
Unknown W. Brackets
e36da8b49f Clean up scePsmfPlayer logging.
Move a bunch of things from errors.
2013-06-13 22:33:59 -07:00
Unknown W. Brackets
1af3ef0880 Clean up scePsmf logging. 2013-06-13 22:21:39 -07:00
Unknown W. Brackets
5b17005e31 Correct result of scePsmfGetVideoInfo(). 2013-06-13 22:12:16 -07:00
raven02
9b164958a2 Change to DEBUG_LOG 2013-06-14 07:19:52 +08:00
raven02
0bb7462e2d Implement scePsmfVerifyPsmf 2013-06-14 07:15:57 +08:00
oioitff
09d5a404e2 Both video/audio timestamp seem to start from firstTimeStamp in sceMpeg.
Fix video playback for Castlevania Dracula X Chronicles.
2013-06-13 21:03:17 +08:00
Unknown W. Brackets
16b0a99e5f Adjust some default values for SAS audio. 2013-06-12 08:02:56 -07:00
Unknown W. Brackets
8b4b4a6b8c Use the 1 bit in sceSasRevVON() and cleanup.
Not used yet anyway.
2013-06-12 07:59:54 -07:00
Unknown W. Brackets
8e7c5be2e0 Don't return errors in sceSasSetPause().
-1 is perfectly valid, we just need to not infinite loop in that case by
using a logical shift not an arithmetic one.
2013-06-12 07:56:53 -07:00
Henrik Rydgård
486f88e390 Merge pull request #2230 from oioitff/atrac-fix
Use a hack method to release already finished atrac3 voice.
2013-06-12 06:47:21 -07:00
oioitff
1e00e0f519 Use a hack method to release already finished atrac3 voice. 2013-06-12 20:55:40 +08:00
The Dax
242007057f Further refinement/cleanup. 2013-06-12 05:22:26 -04:00
The Dax
03526eb874 Refine the sceUtilityScreenshot* stubs with a proper placeholder dialog. Same results, but cleaner code. 2013-06-12 05:20:08 -04:00
The Dax
fcc071d960 Fix more logging. 2013-06-12 04:50:40 -04:00
The Dax
d246690252 Fix logging; forgot to remove those. :P 2013-06-12 04:48:21 -04:00
The Dax
4017550e41 Implement some missing syscalls and "fix" one, which fixes a Project Diva 2nd hang, and possibly other games that rely on sceUtilityScreenshotGetStatus to return success, since they tend to wait forever for the dialog to finish. I'd like to implement the dialog and functionality someday, but for now, this works fine.
Also implement stub for sceRtcSetAlarmTick, though Diva 2nd doesn't care if it's implemented or not.
2013-06-12 04:46:06 -04:00
Sacha
5aba914a42 Build fix for non-ffmpeg and non-gcc non-++11. 2013-06-12 10:51:30 +10:00
Henrik Rydgard
e809e39681 Mips interpreter: Use unions instead of ugly casts. Strict-aliasing builds now work, but needs more testing so I don't enable it yet. Also some aliasing fixes for TransformPipeline. 2013-06-11 21:44:37 +02:00
Henrik Rydgard
b60a2fb819 x360 temporary right stick hard bind now configurable in ini file. 2013-06-11 21:29:55 +02:00
Henrik Rydgard
b8959b956b sceMpegGetUserDataAu: return ERROR_MPEG_NO_DATA. Add some notes for later implementing mpeg user data. Fixes part of #2172. Thanks to [unknown] 2013-06-11 19:27:02 +02:00
Henrik Rydgård
6b84743082 Merge pull request #2217 from oioitff/mpeg-fix
Add support for multiple video/audio stream.
2013-06-11 07:42:19 -07:00
oioitff
77a17cacc5 Add support for multiple video/audio stream. 2013-06-11 19:04:14 +08:00
aquanull
e52ac677c0 Quick Save Dialog workaround. 2013-06-11 18:21:48 +08:00
Henrik Rydgard
96a15b893c Workaroud for homebrew loading modules from flash0:/kd/ 2013-06-11 11:48:45 +02:00
Henrik Rydgard
a581e0d180 Avoid division by zero in audio envelope processing. Fixes sound FX on android in some games. 2013-06-11 11:05:34 +02:00
Henrik Rydgård
cf7fafc15c Merge pull request #2191 from aquanull/PSPDialog
Psp dialog improvements
2013-06-11 01:49:34 -07:00
aquanull
96f9bfd792 Now the icon is missing. 2013-06-11 16:37:50 +08:00
Unknown W. Brackets
28729fc116 sceSasInit() ignores maxVoices and always does 32.
Weird, I can't find anything that parameter does except generate errors.
Most games call with 32 anyway...

Affects only sceSasGetEndFlag() and sceSasGetPauseFlag() really.
2013-06-11 00:43:52 -07:00
Unknown W. Brackets
b5ac7eead1 Cleanup some SAS constructors. 2013-06-11 00:37:29 -07:00
Unknown W. Brackets
2ce4cd245f Allow a video end a couple packets from end.
Fixes #2206, Patapon 3.  Possibly we don't even need this check at all,
but I'm not sure.
2013-06-10 23:18:36 -07:00
Unknown W. Brackets
4cbd44a6ca Add fixes to sceMpegAvcDecodeYCbCr().
It seems a lot like sceMpegAvcDecode(), these are just copy/paste.
2013-06-10 23:18:08 -07:00
Henrik Rydgard
e115ed4187 Work-around crash in sceMpeg with bad ringbuffer address.
Add reminder on first run to access the ingame menu with ESC on windows.
2013-06-11 00:51:10 +02:00
Henrik Rydgard
4bc25c91d8 Add option to have PPSSPP stay on top of other windows. Fixes #2199 2013-06-10 23:45:12 +02:00