Henrik Rydgård
36c751976a
Merge pull request #5872 from unknownbrackets/texcache
...
Use flags to avoid hashing textures when unchanged
2014-04-14 00:06:08 +02:00
Henrik Rydgard
f285b12dcf
Make strcpy_limit slightly more sane.
2014-04-13 23:43:32 +02:00
Henrik Rydgard
c9eb4a1916
VFSFileSystem too
2014-04-13 23:34:08 +02:00
Unknown W. Brackets
4c1c694d4b
Use flags to avoid hashing textures when unchanged.
...
If only parameters change (like wrapping or clut, etc.) we don't need to
rehash the data - we know it hasn't changed.
Should reduce the distance between lazy texture hashing on and off.
2014-04-13 14:22:39 -07:00
Henrik Rydgard
a53ecd7da3
More elegant way of solving #5839 (d_private in sceIoDread)
...
We flag filesystems as being FAT32 instead of checking for "ms0:".
2014-04-13 23:22:17 +02:00
raven02
6fb2934a6e
Only write d_private for memory stick
2014-04-13 20:10:47 +08:00
raven02
3a0b17a50f
Put in parameters for sceMp3LowLevelInit/Decode
2014-04-13 17:18:18 +08:00
Unknown W. Brackets
dde2f3ade6
Re-replace functions after loading a savestate.
...
Might need to clear before saving too... anyway, this makes testing a bit
easier for certain areas.
Also, correctly decrease downcount on x86.
2014-04-12 15:49:20 -07:00
Henrik Rydgård
d67f91d899
Merge pull request #5841 from unknownbrackets/ge-signals
...
Improve sync and pause GE signal handling
2014-04-12 23:40:27 +02:00
Unknown W. Brackets
d247a7def6
Don't reschedule when writing to stdout.
...
Let's still capture the output, though.
2014-04-12 13:21:35 -07:00
Unknown W. Brackets
829f70dacd
Initialize textStart/textEnd for fake modules.
...
Otherwise we try to unload random memory, sometimes this breaks weird
things.
2014-04-12 13:09:33 -07:00
Henrik Rydgård
b4244fb4d9
Merge pull request #5842 from unknownbrackets/hashmap
...
Fix hashmap crashes with games that load modules
2014-04-12 11:33:23 +02:00
Unknown W. Brackets
76e61e10a9
Fix hashmap crashes with games that load modules.
...
This should properly unload and reload the functions as necessary.
2014-04-12 01:16:32 -07:00
Unknown W. Brackets
26933384a7
Don't mark a list complete too early.
...
This would matter probably mostly if we implemented CONTINUE properly.
2014-04-11 23:50:20 -07:00
Unknown W. Brackets
4561440df7
Handle GE pause signals per tests.
...
They really should pause, but we were resetting them incorrectly.
And most importantly, sceGeContinue() inside the signal handler absolutely
must work. Games use this a lot.
2014-04-11 23:50:20 -07:00
raven02
c711f76eaa
Use ctx->mp3Channels instead of setting frame.channel in case of FF incomplete frame
2014-04-10 20:48:16 +08:00
raven02
97c68de661
Parse MP3 header to correct set the channel and samplerate
2014-04-10 20:08:34 +08:00
kaienfr
604a97bf50
Custom BGM is fixed
...
Based on this commit https://github.com/hrydgard/ppsspp/pull/5828 on improvements to sceMp3
Custom BGM can be update now. Test on "Miku" is just all right :)
2014-04-10 05:19:03 +02:00
Henrik Rydgård
f328cfe655
Merge pull request #5816 from raven02/patch-8
...
No need to init packet as 0
2014-04-09 15:01:00 +02:00
sum2012
292e9baa08
Fix Integer divide in zero in sceMp3Decode
2014-04-08 23:11:55 +08:00
sum2012
2589e330d1
Add a missing logging in sceAacInit
2014-04-08 22:01:26 +08:00
Henrik Rydgård
85999ca052
Merge pull request #5797 from sum2012/sceaac
...
small improve in sceAac
2014-04-08 14:53:44 +02:00
sum2012
5482ad8143
Remove comment
2014-04-08 20:52:05 +08:00
kaienfr
4e958eabe0
just a typ in comment fix->pix
2014-04-08 04:22:53 +02:00
kaienfr
d39006c748
rollback something changes for Symbian compiling issue
2014-04-08 04:18:24 +02:00
kaienfr
a576420547
Remove decode function of SimpleAudioDec and use its class method.
2014-04-08 01:09:28 +02:00
kaienfr
6d447bffb4
add some comments, simplification, replacing auto :) and something else
2014-04-08 00:57:25 +02:00
kaienfr
46214c91dc
close pmpdecoder after video playing.
2014-04-07 19:52:33 +02:00
kaienfr
99cf2654b7
Merge remote-tracking branch 'origin/master' into pmp_video_branch
2014-04-07 19:36:57 +02:00
kaienfr
edffdf2050
fix pmp video quality issue.
...
We have no more decoding errors on imcomplete frame now.
2014-04-07 18:26:52 +02:00
raven02
619039aed6
No need to init packet as {0}
2014-04-07 19:29:57 +08:00
kaienfr
4792b6dc3b
Avoid type cast issue - pass mpeg context address instead of context pointer in function args.
2014-04-07 05:16:45 +02:00
kaienfr
abec329e59
Mp3 file is not always have two channels
2014-04-07 03:52:43 +02:00
Henrik Rydgard
54d4663580
Revert "Merge pull request #5813 from raven02/patch-6"
...
This reverts commit 7b3828a9ae , reversing
changes made to c724a6c06a .
2014-04-06 21:09:28 +02:00
Henrik Rydgård
9d99aaaeaf
Merge pull request #5812 from raven02/patch-4
...
ME : Init packet as {0}
2014-04-06 14:58:14 +02:00
raven02
e73a49c2b2
sceMp3 : allocate audio frame
2014-04-06 20:48:57 +08:00
raven02
3fb85dde8f
ME : Init packet as {0}
2014-04-06 20:40:04 +08:00
Henrik Rydgård
c724a6c06a
Merge pull request #5764 from kaienfr/cleanup
...
Cleanup SimpleAudioDec
2014-04-06 12:01:05 +02:00
Henrik Rydgård
159f945199
Merge pull request #5804 from raven02/patch-3
...
sceMp3 : use bswap32 for swapping endian
2014-04-06 12:00:05 +02:00
raven02
485b5df7cf
Remove (AVFormatContext**)
2014-04-06 17:32:28 +08:00
raven02
5b19f1d53c
Cleanup /* ... */
2014-04-05 23:25:49 +08:00
raven02
4a35c726b3
Log channel/samplerate/bitrate
2014-04-05 21:57:26 +08:00
raven02
3b793a55e2
Remove some obsolete unused code
2014-04-05 20:29:00 +08:00
raven02
b6ccd650ff
sceMp3 : use bswap32 for swapping endian
2014-04-05 15:26:22 +08:00
kaienfr
fdf8d5c9f1
Cast issue again on Unix = =, try void*
2014-04-05 00:16:08 +02:00
kaienfr
44ef7f7180
try reinterpret_cast
2014-04-04 23:50:18 +02:00
kaienfr
1f297d82ac
fix cast issue for unix
2014-04-04 23:33:33 +02:00
sum2012
075a0c7e3e
Change long to u64,Add to do
2014-04-05 05:33:29 +08:00
kaienfr
de84c51d51
change some warn_log to debug_log
2014-04-04 23:10:33 +02:00
kaienfr
04756b91e0
Do State PMP media, and some other updates to PMP media.
2014-04-04 23:01:25 +02:00