Unknown W. Brackets
b2dc92b942
Add a hook for Hexyz Force's "monoclome" thread.
...
This fixes missing graphics in some areas in GLES, due to direct framebuf
access.
2014-05-31 10:03:02 -07:00
Unknown W. Brackets
5dd8ebe2b4
Add a hook for Gods Eater Burst's swizzled copy.
2014-05-31 10:03:01 -07:00
Unknown W. Brackets
f489694515
Add the option to hook, rather than replace, funcs.
...
This can be useful for debugging or developing translations/game hacks,
and also gives us options when dealing with GLES incompatibilities.
2014-05-31 10:03:00 -07:00
Henrik Rydgård
770d0d7adb
Merge pull request #6178 from unknownbrackets/audiocodec-fix
...
Cleanup sceAudiocodec some
2014-05-29 20:04:25 +02:00
Henrik Rydgård
018468d9e0
Merge pull request #6180 from sum2012/log
...
Remove sceUtilityLoadAvModule report
2014-05-29 20:03:26 +02:00
sum2012
38844ac0e7
Remove sceUtilityLoadAvModule report
...
Now no need
2014-05-29 23:36:36 +08:00
sum2012
bf0f0b87d6
Small improve scemp4 part 1
2014-05-29 23:33:17 +08:00
Unknown W. Brackets
4bb6709eb2
More cleanup in sceAudiocodec.
2014-05-29 08:19:26 -07:00
Unknown W. Brackets
0b59cc4c35
Use a std::map in sceAudiocodec.
2014-05-29 08:16:47 -07:00
Unknown W. Brackets
a09f1fd80f
Clean up a leak in sceAudiocodec load state.
2014-05-29 08:11:00 -07:00
Unknown W. Brackets
77b5cb7629
Reset decodePos in lowlevel decode.
...
FFmpeg was smart enough to do this for us, but not when we loaded a
savestate. This is because without a savestate, we returned an initial
small header packet of this size, which gave FFmpeg the idea that seeking
there might help.
But, since we're forcing the decode at a certain position the better thing
is to seek ourselves.
2014-05-29 00:38:20 -07:00
Unknown W. Brackets
f29233386c
Initialize some variables.
2014-05-29 00:16:16 -07:00
Unknown W. Brackets
a229593105
Erp, forgot to amend, sorry.
2014-05-28 22:49:49 -07:00
Unknown W. Brackets
63bb52bc42
Use the correct size in sceAudioCodec savestates.
...
ARRAY_SIZE(ptr) ain't gonna work. Fixes #6173 , thanks Lioncash.
2014-05-28 22:45:51 -07:00
Henrik Rydgård
94810e2451
Merge pull request #6159 from sum2012/sceio
...
sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
2014-05-27 17:44:00 +02:00
Unknown W. Brackets
0de41cd028
Don't savestate replacement funcs.
...
This makes it so we can reorder them as we like, which is nicer, and also
makes sure there won't be weird compatibility problems or etc.
2014-05-27 08:02:41 -07:00
Unknown W. Brackets
8dcc09c9e1
Use a separate func for gpu memset().
2014-05-27 07:50:01 -07:00
sum2012
a24b1cf024
sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
...
Now no need the code.
link #4497
2014-05-27 22:47:28 +08:00
Unknown W. Brackets
b73c575418
Support swizzled framebuffer downloads.
...
Used in God Eater 2 when showing the load save screen.
2014-05-27 01:17:09 -07:00
Unknown W. Brackets
64f6012dba
Support memsets of framebuffers as uploads.
...
Technically should clear stencil too... maybe it'd be better to handle
separately.
2014-05-27 01:17:09 -07:00
Henrik Rydgård
2275c3a457
Merge pull request #6142 from unknownbrackets/psmfplayer
...
End the video when we run out of packets
2014-05-26 10:56:33 +02:00
Unknown W. Brackets
8275f613ce
UpdateMemory() now returns whether to skip the cpy.
...
This way it can do it itself as necessary in the right order.
2014-05-25 21:48:41 -07:00
Unknown W. Brackets
df22d0609f
End the video when we run out of packets.
...
If there are no audio or video packets left, even if we haven't hit the
pts, the video is over.
Fixes #6135 , hanging in Chinese translation of Clannad.
2014-05-25 18:45:31 -07:00
Henrik Rydgård
270fc2daf7
Merge pull request #6079 from sum2012/log
...
Report sceUtilityLoadAvModule
2014-05-25 09:24:57 +02:00
Henrik Rydgård
95c95d07a4
Merge pull request #6131 from sum2012/Net
...
Small improve of sceNetAdhocMatching*
2014-05-25 09:24:32 +02:00
Henrik Rydgård
cc8ae194da
Merge pull request #6132 from unknownbrackets/module-ver
...
Report devkit for blacklisted modules too
2014-05-25 09:23:53 +02:00
Unknown W. Brackets
27f8eb6d8a
Call gpu->UpdateMemory() from memcpy() funcs.
2014-05-24 21:59:25 -07:00
Unknown W. Brackets
0248b0ba09
Add memchecks to replaced functions.
2014-05-24 21:53:42 -07:00
sum2012
1d36836d2d
Add some constant
2014-05-25 10:51:00 +08:00
Unknown W. Brackets
c1fdb5fc5b
Might as well allow imports to blacklisted.
...
If someone's trying to read their code.
2014-05-24 17:15:25 -07:00
Unknown W. Brackets
8ef00232d3
Parse exports of blacklisted modules.
...
But ignore them. This allows us to get the devkit version and other
potentially useful information.
2014-05-24 17:13:26 -07:00
sum2012
b8e0fc8fa7
Small improve of sceNetAdhocMatching*
...
Now Metal Slug XX can display online screen.
2014-05-25 07:57:02 +08:00
Unknown W. Brackets
213646b218
Correct errors in minor psmfplayer funcs.
2014-05-24 15:35:51 -07:00
Unknown W. Brackets
68bccebdeb
Clear the psmfplayer handle on delete.
2014-05-24 14:13:18 -07:00
Unknown W. Brackets
c651a0d1e9
Correct status check in scePsmfPlayerStop().
2014-05-24 12:46:34 -07:00
Unknown W. Brackets
64df42d613
Don't change status in scePsmfPlayerBreak().
...
It was changed to INIT in d37100b30a
, but I
think that only fixed the game because STANDBY was wrong. Not changing
the status is the correct behavior.
2014-05-24 12:41:40 -07:00
Unknown W. Brackets
d4e548013e
Don't zero paused, but do zero end in psmfplayer.
...
To make sure the video/audio sync up.
If an audio frame was already decoded, it should technically be returned,
but after that it will return an error.
2014-05-24 01:31:50 -07:00
Unknown W. Brackets
222be04b38
Cleanup err codes in scePsmfPlayerGetAudioData().
...
Even if there's no *more* audio, if the current audio is valid return 0.
2014-05-24 01:10:26 -07:00
Unknown W. Brackets
bc661f4f10
Clean up a duplicate if branch.
2014-05-23 23:02:23 -07:00
Unknown W. Brackets
28a9f7155a
Handle a default video with of 0 in psmfplayer.
2014-05-23 23:01:26 -07:00
Unknown W. Brackets
c03aa31240
Write video frames even while paused.
...
This function just writes the video data to the buffer if at all possible.
2014-05-23 23:00:48 -07:00
Unknown W. Brackets
13b735fd02
Validate more params in scePsmfPlayerGetVideoData.
2014-05-23 23:00:01 -07:00
Unknown W. Brackets
6c52ec524d
Fix typo (warning.)
2014-05-23 08:47:12 -07:00
Unknown W. Brackets
ab57bcd4b3
Fix errors and scheduling in psmfplayer stop.
2014-05-22 23:41:38 -07:00
Unknown W. Brackets
75e4575ffe
Properly schedule psmfplayer video finish.
...
Fixes #2251 , hurray.
2014-05-22 23:40:44 -07:00
Unknown W. Brackets
b9ede6aade
Add a class to create helper threads from HLE.
...
This should be usable from sceIo as well.
2014-05-22 23:38:21 -07:00
Unknown W. Brackets
a2031cdc62
scePsmfPlayerGetVideoData() keeps going at end.
...
Even if the video has ended, this happily returns the last frame (with the
same pts value) over and over. Audio or no audio.
It only returns no data when it's called too early.
2014-05-22 22:19:10 -07:00
Unknown W. Brackets
e79d700bf0
Fix error codes in scePsmfPlayerGetVideoData().
2014-05-22 22:17:42 -07:00
Unknown W. Brackets
da03308bfa
Small correction to psmfplayer seeking.
...
Should be the specific position after the fileoffset, and should be offset
by the start pts thing...
2014-05-22 00:34:47 -07:00
Unknown W. Brackets
1c4053f3c6
Correct scePsmfPlayerUpdate() finished timing.
...
With or without audio, it always sets the end on the second call after the
last frame. Makes sense.
2014-05-22 00:08:18 -07:00