Unknown W. Brackets
1a53be45cc
When uploading video pixels, detect w/h by size.
...
Sometimes the framebuffer size is incorrect, but kinda works... but this
is a problem for the video. Using the size gets us better.
In Wild Arms XF, the framebuffer is 512x512, but that's not right. It's
clear it should be 480x272.
2014-04-12 22:02:47 -07:00
Unknown W. Brackets
1f76adb7a3
If a larger framebuffer is needed, upgrade it once.
...
This should prevent issues where it gets larger and smaller like in the
past.
2014-04-12 20:46:38 -07:00
Henrik Rydgård
f2bf8df3cd
Merge pull request #5853 from sum2012/soft-gpu
...
Avoid unknown get pointer in Rasterizer.cpp
2014-04-13 01:15:47 +02: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
sum2012
fa1b65fd59
Avoid unknown get pointer in Rasterizer.cpp
...
Find in #5350 in softgpu
2014-04-13 06:45:46 +08: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
Henrik Rydgård
9aa0bb317d
Merge pull request #5851 from unknownbrackets/stdout-intr
...
Don't reschedule when writing to stdout.
2014-04-12 23:38:42 +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
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
e93407f33e
Oops, downgrade from ERROR to DEBUG, and -report.
2014-04-12 00:04:02 -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
7fd7337911
Update GE lists when switching.
...
This uses a mutex, so it should be safe to do any time. Really helps
debugging hung lists.
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
kaienfr
a7691737b5
Transfer old mp3 savestate into new mode; Rename class functions sceAu... to Au...
...
Tests on games are just ok.
2014-04-12 02:12:25 +02:00
kaienfr
bd0e16c2d4
Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch
2014-04-12 00:20:26 +02:00
Henrik Rydgård
9dbb26a75c
Fix for the linux buildfix
2014-04-12 00:17:58 +02:00
kaienfr
9ccc71a650
Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch
2014-04-11 23:45:18 +02:00
kaienfr
ee1d541c28
Update minor comments
2014-04-11 23:42:07 +02:00
kaienfr
3a12cf2ad7
Universal Audio Class
...
Based on my implementation in sceAac https://github.com/hrydgard/ppsspp/pull/5836
I've created a class AuCtx included in My SimpleAudioDec.cpp/.h which aims at providing a standard easy implementation to support all codecs in ffmpeg.
Here, I also completely re-code sceMp3 file with this class to give an example how to use this class, and it has solved all mp3 issues I've observed in the current master.
Tests on different freq and channels mp3 audios as:
Miku custom BGM (48kHz, stereo), Hanayaka Nari Wa ga Ichizoku(32kHz, mono, a little fast but better than before now), downstreet panic (44.1kHz, stereo), and learn jp09(44.1kHz, stero) are just all right.
Especially, I am very glad to see that Miku's Custom BGMs have no repetition issues in first tone any more and no longer stopped in the first second neither. :)
We will come into a new age to fast support new audio formats from now on I hope :P
2014-04-11 22:56:59 +02:00
Henrik Rydgard
95cc998b8f
Attempt buildfix for x86 cmake linux
2014-04-11 22:11:27 +02:00
Henrik Rydgard
bb5f956c6d
Update native with fix for #5832
2014-04-11 21:30:31 +02:00
Henrik Rydgård
5c7d5db3e4
Merge pull request #5838 from thedax/win32BugFix
...
Win32: Properly shutdown when using File->Exit, or when g_Config.bEscapeExitsEmulator is true.
2014-04-11 20:59:07 +02:00
Henrik Rydgård
05b23c7bd9
Merge pull request #5802 from raven02/patch-1
...
Texture lod bias should be signed
2014-04-11 20:58:55 +02:00
raven02
a6523dd507
Texture lod bias should be signed
2014-04-12 02:33:52 +08:00
The Dax
b82e85f9fc
Win32: Properly shutdown when using File->Exit, or when g_Config.bEscapeExitsEmulator is true.
2014-04-11 14:18:27 -04:00
kaienfr
caa3cb9148
still change logs
2014-04-11 15:13:28 +02:00
kaienfr
c216b535ee
Save current changes
2014-04-11 15:09:31 +02:00
kaienfr
804d1b0b4d
Merge branch 'Mp4_branch' of https://github.com/kaienfr/ppsspp into Mp4_branch
2014-04-11 09:58:46 +02:00
kaienfr
9dc331885b
Also show some important step from debug_log into info_log
2014-04-11 09:56:12 +02:00
kaienfr
a782858204
Cleanup comments again
2014-04-11 09:42:19 +02:00
kaienfr
a8d375b8da
Cleanup! Change some INFO_LOG to DEBUF_LOG to only point out important messages in release mode.
2014-04-11 09:32:35 +02:00
kaienfr
ee3417a96c
Implementation of sceAac module
...
Test on Fortix is all right. Savestate is also ok.
I've tried a New and Easy way implement and it works well, I think it could be totally applicable to other audio modules as sceMp3 etc.
Code your own way is really much easier to fix other bugs :)
2014-04-11 09:03:13 +02:00
Henrik Rydgård
b262794a35
Merge pull request #5831 from raven02/patch-10
...
Use ctx->mp3Channels instead of setting frame.channel in case of FF inco...
2014-04-10 15:04:50 +02: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
Henrik Rydgård
a402fc907a
Merge pull request #5830 from raven02/patch-9
...
Parse MP3 header to correct set the channel and samplerate
2014-04-10 14:36:22 +02:00
raven02
97c68de661
Parse MP3 header to correct set the channel and samplerate
2014-04-10 20:08:34 +08:00
kaienfr
a059957317
Merge remote-tracking branch 'origin/master' into Mp4_branch
2014-04-10 13:36:31 +02:00
kaienfr
f72e1aa4d2
update the current work but not finished
2014-04-10 12:45:59 +02:00
Henrik Rydgård
6fe617d0ce
Merge pull request #5829 from kaienfr/new_Custom_BGM
...
Custom BGM is fixed
2014-04-10 09:43:10 +02:00
Unknown W. Brackets
702294fe60
Don't trigger pause GE signals either, comments.
...
This better explains what each signal does.
2014-04-10 00:23:36 -07: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