Unknown W. Brackets
b9711db99a
Correct scePsmfPlayerSetTempBuf() error codes.
...
And rename error code, since it's more about invalid status than being not
initialized yet (it's returned even if it the status has advanced.)
2014-04-20 08:20:58 -07:00
Unknown W. Brackets
fb82310c9a
Correct scePsmfPlayerCreate() based on tests.
...
Mostly error codes. Report duplicates which don't work on the PSP.
2014-04-20 00:25:48 -07:00
Unknown W. Brackets
63b5ec3d85
Allow specifying a root path for host0:/.
...
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Henrik Rydgård
b16d60f902
Merge pull request #5908 from raven02/patch-12
...
Implement sceAudio routing mode
2014-04-19 01:14:37 +02:00
raven02
0ca4ec02cd
Implment sceAuduo routing mode
2014-04-19 06:47:54 +08:00
Henrik Rydgård
a829c0c2f3
Merge pull request #5911 from hrydgard/hardcoded-replace-table
...
Hardcode a bunch of function hashes for function replacement..
2014-04-18 22:28:16 +02:00
Henrik Rydgård
d2c9a077b2
Merge pull request #5904 from elsonLee/master
...
fix some game don't add stream data when playing atrac3+ problem
2014-04-18 19:09:41 +02:00
Henrik Rydgard
f35168e0e0
Hardcode a bunch of function hashes so we can replace them.
...
Without needing an external file.
2014-04-18 19:00:08 +02:00
elson
c549a7576e
Update sceAtrac.cpp
...
writebleBytes updated in sceAtracDecodeData
2014-04-18 23:02:24 +08:00
raven02
5b7035b71a
Missing default case :(
2014-04-18 21:32:02 +08:00
raven02
fd330b4d93
Use getMpegVersion to get ctx->mpegVersion
2014-04-18 20:27:17 +08:00
elson
47b7b8b90f
fix some game don't add stream data when playing atrac3+ problem
2014-04-18 17:36:11 +08:00
Unknown W. Brackets
8f26d5ceae
Fix ridiculously bad typo.
2014-04-17 22:47:05 -07:00
Unknown W. Brackets
5076a080c4
In case interrupts are delayed, read cmd early.
...
Otherwise, in Project Diva, the cmd may be overwritten (probably due to a
sync or etc.) by some other cmd. Fixes #5896 .
2014-04-17 22:33:13 -07:00
Unknown W. Brackets
dc39e75fc1
Oops, forgot about proxy blocks for replace jal.
...
Also fix a crash when they are used.
2014-04-17 01:03:46 -07:00
Henrik Rydgård
c6da68734f
Merge pull request #5897 from unknownbrackets/jit-minor
...
Skip jals when replacing funcs
2014-04-17 09:29:10 +02:00
Unknown W. Brackets
ddd6e3024d
Skip jals when replacing funcs.
...
Improves performance in God Eater (when replacements enabled.)
2014-04-16 23:57:52 -07:00
Henrik Rydgård
45246ad9d3
Merge pull request #5891 from raven02/kill-alpha
...
Remove 'DisableAlphaTest' option
2014-04-15 22:00:18 +02:00
raven02
d2ce635bbf
Remove option
2014-04-16 03:57:57 +08:00
Unknown W. Brackets
089fea7185
Ignore uncached/kernel bits in texture cache.
...
Although I suppose we could respect uncached and never cache...
Possibly #5879 .
2014-04-14 07:58:00 -07:00
kaienfr
c6a1b0e743
Provide a new method AuCtx::AuCreateCodecContextFromSource()
...
This method can automatically read audio information from file (as channels, sample rate etc) via ffmpeg,
and create accurate ffmpeg's codec context.
Especially used for unknown audio format but supported by ffmpeg.
2014-04-14 13:23:10 +02:00
kaienfr
73d8786078
Change error log to info in sceMp3LowLevelInit
2014-04-14 12:00:19 +02:00
kaienfr
cc933d6fc9
Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch
2014-04-14 11:49:27 +02:00
kaienfr
d5fde0baee
implement sceMp3GetFrameNum
2014-04-14 11:47:28 +02:00
Unknown W. Brackets
ed99c33cd7
Interpret iForceMaxEmulatedFPS based on 1.001 NTSC.
2014-04-13 21:47:11 -07:00
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
kaienfr
6db28f0691
more cleanup
2014-04-13 21:42:46 +02:00
kaienfr
d5e583ee14
correct some comments.
2014-04-13 21:15:41 +02:00
kaienfr
ba34b211f1
Support sceMp3LowLevel*
...
Gundam G custom BGM is supported now :)
2014-04-13 21:11:04 +02:00
kaienfr
74476ad328
Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch
2014-04-13 15:06:41 +02:00
kaienfr
4eedd7a3cd
Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch
2014-04-13 14:39:56 +02:00
kaienfr
7ef2678cc9
Update sceAac module in using universal audio context class (AuCtx)
2014-04-13 14:38:42 +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
kaienfr
e25bc6908a
Fix nonsmooth sound issue and incomplete frame at the end of source and pcm buffers.
...
using a std::string to save the source buffer, and changing the loading strategy so as we will not get any incomplete frame.
2014-04-12 23:16:38 +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
kaienfr
d5c1d58506
Audio Speed Hack (fill pcm buffer)
...
Dead or alive will be better to using this hack, but some other games will be too fast.
So, it's optional.
2014-04-12 17:16:31 +02:00
kaienfr
976c9bbfdc
Fix Dead and live freezing issue.
...
Just a typo in sceMp3 when using the universal class.
2014-04-12 15:46:35 +02:00
kaienfr
b3a7568811
change the way in AuGetInfoToAddStreamData and AuNotifyAddStreamData.
...
readPos and available buffer is firstly updated in AuGetInfoToAddStreamData then notified in AuNotifyAddStreamData.
Since, some games as Dead and alive may not call NotifyAddStreamData after GetInfoToAddStreamData
2014-04-12 14:54:25 +02:00
kaienfr
c6ed59ec0b
Merge branch 'Mp4_branch' into test_branch
...
Conflicts:
Core/HW/SimpleAudioDec.cpp
Core/HW/SimpleAudioDec.h
2014-04-12 12:08:46 +02:00
kaienfr
54f812c867
Merge remote-tracking branch 'origin/master' into Mp4_branch
2014-04-12 11:53:54 +02:00
kaienfr
5a8735d009
minor changes to improve latency in aac playing base on 3a12cf2ad7
.
...
Test on Fortix even better than before.
2014-04-12 11:53:20 +02: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