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
Lioncash
19dee283f2
Access font after the null check in sceFontGetCharImageRect, not before.
2013-12-27 11:42:14 -05:00
Unknown W. Brackets
0c3dd53c2b
Remove extraneous lookup.
2013-12-27 08:05:19 -08:00
Unknown W. Brackets
0bf1ef5773
Improve sceIoGetDevType() return values.
...
At least for block/file devices. Can't find a way to get an alias.
2013-12-27 08:04:00 -08:00
Unknown W. Brackets
23971e9900
Implement ioctl command 0x01020002.
2013-12-27 08:03:59 -08:00
Unknown W. Brackets
dbf86187e3
Add Ioctl() to IFileSystem, cleaner.
2013-12-27 08:03:59 -08:00
Unknown W. Brackets
8c34f5f78e
Implement ioctl command 0x01d20001.
2013-12-27 08:03:58 -08:00
Unknown W. Brackets
d916ce7658
Correct result for sceIoRead type ioctls.
2013-12-27 08:03:58 -08:00
Unknown W. Brackets
76d0cd444e
Implement ioctl command 0x01f100a6.
2013-12-27 08:03:57 -08:00
Unknown W. Brackets
2433ff5f04
Implement ioctl command 0x01f30003.
...
Wonder if this will fix anything, it was silently not reading before.
2013-12-27 08:03:57 -08:00
Henrik Rydgård
7a643f3c78
Merge pull request #4918 from unknownbrackets/memblocks
...
Allow memblocks to be used with partition funcs
2013-12-27 02:26:49 -08:00