Commit Graph
14343 Commits
Author SHA1 Message Date
Jeferson Rodrigues da Silva 4284290463 Fix for not updating local port information after bind in PtpOpen 2014-01-04 12:57:08 -02:00
raven02 54d97824e0 Apply hleDelayResult to sceMpegAvcCsc 2014-01-04 22:47:34 +08:00
Henrik Rydgard ddfdeb2222 VAGADPCM: no need to check end_ for every sample, it's only modified in DecodeBlock (and Start). 2014-01-04 11:01:44 +01:00
Henrik Rydgård 7ae7807658 Merge pull request #5004 from unknownbrackets/debugger
Don't hashmap functions smaller than 16 bytes
2014-01-04 01:52:02 -08:00
Unknown W. Brackets 1abb001e7f Don't hashmap functions smaller than 16 bytes.
Otherwise, small stub funcs "replicate" annoyingly.
2014-01-04 01:36:36 -08:00
Unknown W. Brackets 936f34a6b7 Check the audio buffer size just in case.
This way we definitely won't overfill it.
2014-01-04 01:25:42 -08:00
Unknown W. Brackets f095ac656b Don't completely fill the psmf ringbuffer at once.
It takes more time (slowing the start of the video), and gets us closer to
overflowing buffers and stuff.
2014-01-04 01:23:44 -08:00
raven02 b28f224fe2 sceMpeg: Add all missing invalid memory check and cleanup format 2014-01-04 16:55:20 +08:00
Henrik Rydgard 0de71f27cb Optimize the VAGADPCM decoder. 2014-01-04 01:59:20 +01:00
raven02 14e79f8151 Lowering the log level of sceNET 2014-01-04 02:32:59 +08:00
Henrik Rydgard 9bde25dfa9 Moving the lang mapping to Config clears up some obcure file-to-file build dependency.
Should fix the build.
2014-01-03 19:04:43 +01:00
Henrik Rydgard 03735e297b No reason for langValuesMapping to be a member variable in Config. 2014-01-03 18:50:06 +01:00
Henrik Rydgård 4d4fb98692 Merge pull request #4993 from unknownbrackets/mpeg-minor
Set the audio/video streams per sceMpegGet*Au()
2014-01-03 09:41:12 -08:00
Unknown W. Brackets 4e929764c8 Set the audio/video streams per sceMpegGet*Au().
This fixes #2226, thanks to @raven02 for finding the issue.  Could also
help e.g. Xyanide: Resurrection and a few other games.

The video codec change path is not super well tested, because I couldn't
find a game that triggered it, but it should work.
2014-01-03 09:29:37 -08:00
ufdada f9c1cefb12 wrong camelcase 2014-01-03 14:47:33 +01:00
ufdada f4c658881a Also set the PSP-internal Language if possible on first-run 2014-01-03 14:32:33 +01:00
Henrik Rydgård 9281fccacd Merge pull request #4939 from unknownbrackets/texcache
Add two options to adjust the texture cache
2014-01-02 08:32:59 -08:00
sum2012 94200b2df8 typo 2014-01-02 21:46:51 +08:00
sum2012 d0be3a38a9 Wrap some sceHprm
and remove same sceHprmPeekCurrentKey
2014-01-02 21:43:19 +08:00
Unknown W. Brackets 82a7680bab Remove the 5 packet min for openContext.
Should be safer, and with retrying, it's no longer necessary.
2014-01-01 21:00:29 -08:00
Unknown W. Brackets 2c38805791 Retry opening the context if it fails at first.
This fixes #4550, the hang on the crash video in FF4.
2014-01-01 20:47:10 -08:00
Unknown W. Brackets c1dcebce07 Fix savestates when videos are playing. 2014-01-01 20:44:51 -08:00
Unknown W. Brackets 73121082c5 Default off the texture cache options.
They cause noticeable glitches in a bunch of games.  The speed improvement
in some games is very good, but in quite a few it is small.
2014-01-01 15:49:11 -08:00
Unknown W. Brackets e24f45b9a4 Add ini options to configure the texture cache. 2014-01-01 15:49:09 -08:00
Henrik Rydgård b8a5eb47b6 Merge pull request #4966 from unknownbrackets/psmf-minor
Initialize m_decodingsize to 0
2014-01-01 15:22:11 -08:00
Unknown W. Brackets ce7c5e0cf9 Initialize m_decodingsize to 0.
Fixes #4609, intermittent video issues in Lunar.
_PsmfPlayerFillRingbuffer() expects getRemainSize() to return something
useful even before the context is opened.
2014-01-01 15:14:22 -08:00
Unknown W. Brackets 81b2540e98 Fix typo. 2014-01-01 13:38:04 -08:00
Unknown W. Brackets 36707ce9e7 Load the EP map from the psmf data when available.
Rather than just having uninitialized values.

Fixes #2642, World Neverland.
2014-01-01 13:38:03 -08:00
Unknown W. Brackets bb10ffd38f Set Psmf->headerSize to something.
Before it was uninitialized.
2014-01-01 13:38:03 -08:00
Aapo Rantalainen ed6b8e34ab Fix missing includes (stdio.h) 2014-01-01 22:31:03 +02:00
Henrik Rydgård 965d1890ab Merge pull request #4948 from KentuckyCompass/strstr_strchr
Don't use strstr for single character search terms
2013-12-31 00:39:03 -08:00
Unknown W. Brackets e569bb6862 Missed one, try to fix Blackberry too. 2013-12-30 21:52:09 -08:00
Kentucky Compass fb1a3149fa Don't use strstr for single character search terms 2013-12-30 21:48:36 -08:00
Unknown W. Brackets f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Henrik Rydgård e5e17fbc6e More include cleanup. Hoping for very slightly faster compile times.. 2013-12-30 10:49:05 +01:00
Henrik Rydgård 00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Unknown W. Brackets 1d302f9cab Keep track of whether PSP_Init() was called.
This way settings are properly enabled/disabled in the menu.
2013-12-29 18:09:28 -08:00
Unknown W. Brackets be55be7dcb Fix some formatting warnings. 2013-12-29 16:08:06 -08:00
Unknown W. Brackets db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Henrik Rydgård be74da8f3c More include cleanup, hopefully buildfix Symbian 2013-12-30 00:23:04 +01:00
Henrik Rydgård ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård 87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård 79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets e6b2d00a2f Avoid reseved identifiers like _SP, etc.
R_SP is not that bad.
2013-12-29 14:25:34 -08:00
Henrik Rydgård 0952674b37 Merge pull request #4898 from raven02/patch-21
GLES3: enable PSP-based mipmapping generation
2013-12-29 02:07:31 -08:00
Kentucky Compass db77b52caa Save/restore local file handles and seek positions 2013-12-28 23:43:02 -08:00
Henrik Rydgård ff10d0b0f2 Merge pull request #4887 from unknownbrackets/io-minor
Implement a few more ioctl commands
2013-12-28 00:17:37 -08:00
Henrik Rydgård 80d73f3d93 Merge pull request #4923 from lioncash/master
Fix possible null ptr derefs in sceFont.cpp. Also fix typo in if statement comparison in sceNetAdhoc.cpp
2013-12-27 23:47:49 -08:00
Unknown W. Brackets ed759d32ff Correctly identify a blockwise memcpy.
Oops, I didn't realize this one went in blocks of 16.
2013-12-27 21:39:05 -08:00
Lioncash 442cc2f1c7 Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.
Also updated the commented out sections accordingly.
2013-12-27 12:02:53 -05:00