Commit Graph
27588 Commits
Author SHA1 Message Date
Unknown W. Brackets 0c41d4e952 Don't allow release wait for HLE delays.
Although, presumably the thread would stop waiting, I guess the HLE func
in most cases probably checks and re-waits?

Fixes breakage in Jeanne d' Arc, which constantly releases from wait the
main thread, but calls things like sceMpegCreate which do block.
2013-06-08 23:39:49 -07:00
xsacha fdb1ad3f0e Merge pull request #85 from unknownbrackets/resolve
Use getaddrinfo() instead of gethostbyname()
2013-06-08 20:05:35 -07:00
Unknown W. Brackets c448f67b9d Use getaddrinfo() instead of gethostbyname().
The latter is not re-entrant, so not thread-safe.

At the same time, support round-robin DNS in a sort of trivial way.
2013-06-08 19:10:00 -07:00
Unknown W. Brackets 4c730a60c9 Eat cycles in devctl 0x02425823, fix params.
I can't seem to reproduce a way to change its return value, though...

Significant performance improvement for Star Ocean, especially in intro.
2013-06-08 18:03:28 -07:00
Henrik Rydgard 533541615f Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	UI/GameInfoCache.h
2013-06-08 23:01:49 +02:00
Henrik Rydgard 51daa1f878 Delete the "Use Media Engine" option. 2013-06-08 22:53:36 +02:00
Henrik Rydgard bb3c91f8bb Some New-UI work (disabled, it's not really ready yet). 2013-06-08 22:47:06 +02:00
Henrik Rydgård 928ef3782e Merge pull request #2152 from oioitff/atrac-fix
Scale volume in sceP3daBridgeCore and avoid overflow.
2013-06-08 13:43:34 -07:00
Henrik Rydgard 166acebeff A lot of NewUI work: layout and focus fixes, "TabHolder" 2013-06-08 22:41:17 +02:00
Henrik Rydgård 0e64ce4f27 Merge pull request #2153 from unknownbrackets/atrac-minor
Savestate the context thing properly
2013-06-08 12:37:21 -07:00
Unknown W. Brackets f0cdc230d0 Savestate the context thing properly.
Just to make sure we don't leak kernel memory on load state.
2013-06-08 12:30:40 -07:00
oioitff bfb66cc2ab Scale volume in sceP3daBridgeCore and avoid overflow. 2013-06-09 02:27:30 +08:00
Henrik Rydgård 99a12ca172 Merge pull request #2151 from artart78/master
Added ffmpeg support with the SDL build (not for Qt)
2013-06-08 11:00:43 -07:00
Henrik Rydgård 00d589e1af Merge pull request #2150 from oioitff/atrac-fix
Partly implement _sceAtracGetContextAddress and __sceSasSetVoiceATRAC3.
2013-06-08 11:00:11 -07:00
oioitff 883d60fad3 Use a pointer for sampleQueue in SasAtrac3. 2013-06-09 01:58:06 +08:00
Arthur Blot f03ae843d2 Add ffmpeg in SDL build 2013-06-08 19:48:10 +02:00
oioitff 3c13b574e3 Partly implement __sceSasSetVoiceATRAC3.
Fix Sol Trigger hang up issue.
2013-06-09 01:34:38 +08:00
oioitff cac9b89823 Basically implement _sceAtracGetContextAddress. 2013-06-09 01:31:45 +08:00
oioitff 6fb2abd0fb Add sceAudiocodec stuff 2013-06-09 01:28:58 +08:00
Henrik Rydgård ce2d3dd9f0 Merge pull request #2147 from aquanull/PauseMenuFix
Fix missing Pause Screen BG if the game is exited once and then replayed.
2013-06-08 10:12:55 -07:00
aquanull 2a6b35f3ad Fix missing Pause Screen BG if the game is exited once and then replayed. 2013-06-09 00:41:20 +08:00
Henrik Rydgard 3b07090682 Give GameInfo some new powers, like deleting savedata (no UI yet) and computing file sizes. Recognize directories with EBOOT.PBP in them as "games" in their own right, makes things a little cleaner. 2013-06-08 17:52:51 +02:00
Henrik Rydgard f3224a60e1 Return "libat3plusdecoder.so" as at3plus decoder filename on non-Win/android platforms 2013-06-08 17:44:18 +02:00
Henrik Rydgard 8e5890a7e2 Warning fixes, add deleteDir() 2013-06-08 17:43:27 +02:00
Henrik Rydgård 16f06b5bcc Merge pull request #2145 from unknownbrackets/fbo-invalidate
Invalidate FBOs when written to a bit more
2013-06-08 05:24:56 -07:00
Unknown W. Brackets 14034fd9c1 PSP can decode directly to vram, so detect that.
Not sure if any games do this but I did it in a test.
2013-06-08 04:52:37 -07:00
Unknown W. Brackets dbb2dfdcff Invalidate FBOs when it's obvious they should be.
This fixes videos not being visible in for example Star Ocean.
Most likely any games doing a copy directly from the mpeg decode.
2013-06-08 04:51:57 -07:00
Unknown W. Brackets f628b4319f Invalidate GPU cache in sceDmacMemcpy(). 2013-06-08 04:51:57 -07:00
Henrik Rydgård 30536fa7cf Merge pull request #2143 from unknownbrackets/mpeg-fix
Improvements to sceMpeg: fix end cutoff, early audio end, and minor
2013-06-08 04:07:48 -07:00
Unknown W. Brackets 4de27773d2 Detect audio end separately from video end.
Fixes Crisis Core, broken by Wipeout Pure fix.
2013-06-08 03:00:50 -07:00
Unknown W. Brackets 1a987dda26 Fix crash in sceKernelGetThreadmanIdType(). 2013-06-08 03:00:50 -07:00
Unknown W. Brackets be7fd47fc2 Calculate packets left based on decode, not read.
This seems to be more correct.  Fixes #2039.
2013-06-08 03:00:49 -07:00
Unknown W. Brackets 0852d8734a Try to handle video end more correctly. 2013-06-08 03:00:49 -07:00
Unknown W. Brackets 073282217c Cut down on void *'s for easier debugging.
Nice to be able to see inside structs with the debugger.
2013-06-08 03:00:49 -07:00
Unknown W. Brackets 36eb90293e Don't use m_pFrame->pkt_duration directly.
Docs say you're supposed to call this func instead.
2013-06-08 03:00:48 -07:00
Unknown W. Brackets 6f9a879aad Set video end only when we run out of frames. 2013-06-08 03:00:48 -07:00
Unknown W. Brackets b04b601958 Make sure to decode reordered mpeg frames. 2013-06-08 03:00:48 -07:00
Unknown W. Brackets 6844c7cab6 Don't read more than total packets per mpeg put.
And add notes on how it's supposed to really work.
2013-06-08 03:00:47 -07:00
Unknown W. Brackets 51d0f73008 Apparently, return 1 is not needed now. Hurray. 2013-06-08 03:00:47 -07:00
Unknown W. Brackets 8544cf2359 Delay sceMpegCreate() a bit to match PSP firmware. 2013-06-08 03:00:47 -07:00
Unknown W. Brackets 8b25545849 Don't allow sceMpegInit() twice. 2013-06-08 03:00:46 -07:00
Unknown W. Brackets 17907b204b Return a more accurate mpeg ringbuffer decode pos. 2013-06-08 03:00:46 -07:00
Henrik Rydgard 94cce219a8 project file fix: Set LTCG to default, as suggested in #2138. 2013-06-08 11:41:19 +02:00
Sacha f21218c3f9 Armjit: Combine mul.s + neg.s to VNMUL. Implement VNMUL, VNMLA, VNMLS.
I had implemented mul.s + add/sub.s + add/sub.s -> VADD/VSUB + V(N)ML(A/S). Turns out it doesn't happen enough though (once or twice per game).
2013-06-08 16:39:59 +10:00
Henrik Rydgård c2dcebf36d Merge pull request #2136 from oioitff/mpeg-fix
PsmfPlayer seems to step video and sync in scePsmfPlayerGetVideoData.
2013-06-07 12:41:09 -07:00
Henrik Rydgård 985ff311cb Merge pull request #2137 from oioitff/atrac-fix
A tiny mistake in low level atrac3 decode.
2013-06-07 12:39:57 -07:00
oioitff a51291e69c Add Info logs for low level decode. 2013-06-08 01:43:39 +08:00
oioitff 3e0e1f6f35 A tiny mistake in low level atrac3 decode. 2013-06-08 01:38:08 +08:00
oioitff 5be3a6e748 PsmfPlayer seems to step video and sync
in scePsmfPlayerGetVideoData.
2013-06-08 00:27:31 +08:00
Henrik Rydgård 622744dfe8 Merge pull request #2133 from oioitff/atrac-fix
Max sample number for atrac3plus should be 0x800.
2013-06-07 05:53:50 -07:00