Henrik Rydgård
25dfc9ea9c
sceUsbCam: Fix some bugs my last commits introduced.
2019-08-26 23:25:33 +02:00
Henrik Rydgård
a17fe334a1
MJPEG in sceJpeg: Notify the framebuffer manager that there's been a picture written to memory. Fixes part of #8521
2019-08-26 18:26:52 +02:00
Henrik Rydgård
402b6b2457
Improve some logging (%08x for addresses)
2019-08-26 18:26:52 +02:00
Henrik Rydgård
5a68fc29c9
sceUsbCam: Heap-allocate the buffer.
2019-08-26 18:26:52 +02:00
Florin9doi
b114984c88
[Android] Fix code style
2019-08-25 13:04:33 +03:00
Florin9doi
e1164cfe4f
[Android] Updates for camera
...
-rotate camera frames to follow display orientation
-release camera resources when a game is closed
-release camera resources when the activity is paused
2019-08-24 22:54:45 +03:00
Antx64
1f6e5e463e
removed the sceUsbMic checks
2019-08-20 08:45:08 -04:00
Antx64
c398da48ac
Fixes delete button for downloaded games from homebrew store in UWP
2019-08-19 23:37:14 -04:00
Florin9doi
99c4a00dae
sceUsbMic
2019-08-03 21:09:33 +03:00
Henrik Rydgård and GitHub
179cafcf38
Merge pull request #12153 from unknownbrackets/replay
...
Replay: Add file header handling and ignore PSP/GAME reads
2019-07-08 13:29:25 +02:00
Unknown W. Brackets
556b960355
Kernel: Shutdown when module load fails.
...
This prevents us from trying to reinit next time, which can crash since we
never finished initing in the first place.
2019-07-07 18:06:06 -07:00
Unknown W. Brackets
4144e71b7a
Replay: Add file header handling.
2019-07-04 20:36:17 -07:00
Unknown W. Brackets
4546db5635
Audio: Quick SRC resampling experiment.
2019-06-30 23:44:18 -07:00
Unknown W. Brackets
20ad7f2914
Audio: Track SRC frequency.
...
sceAudioSetFrequency is kernel mode only, and it sounds like it changes
the audio controller clock (didn't test.) SRC only affects the SRC
channel.
Currently, this doesn't actually use the sample rate yet, but at least
it's tracked appropriately.
2019-06-30 23:09:46 -07:00
Unknown W. Brackets
9ef3973b49
Audio: Correct sceAudioChRelease return value.
2019-06-30 23:09:07 -07:00
Unknown W. Brackets
7d2b332b2d
Audio: Improve error messages for sample counts.
2019-06-30 16:39:14 -07:00
Henrik Rydgård and GitHub
2ecec84c84
Merge pull request #12127 from unknownbrackets/ge-record
...
Cleanup GE dump playback
2019-06-24 12:28:32 +02:00
Unknown W. Brackets
93069756e6
GE Debugger: Split playback into a separate file.
2019-06-23 18:49:27 -07:00
Unknown W. Brackets
2c20567624
Audio: Better errors on Output2/SRC reserve.
...
The frequency handling probably doesn't work, though.
2019-06-23 08:38:22 -07:00
Unknown W. Brackets
c67988d2ce
Audio: Correct errors on Output2/SRC release.
2019-06-23 08:17:00 -07:00
Henrik Rydgård
ff65b813d9
Assorted warning fixes
2019-05-10 23:26:34 +02:00
Unknown W. Brackets
848108c6ab
Mp3: Set as inited only after success.
2019-04-29 04:47:59 -07:00
Unknown W. Brackets
4ee5d2b611
Mp3: Correct seek to specific frame.
...
Before, it treated it as an (incomplete) seek to a byte position, which
didn't make much sense. This matches PSP behavior per tests.
2019-04-29 04:47:59 -07:00
Unknown W. Brackets
68d2571681
Mp3: Fix ID3 tag handling.
...
Just ignore them and handle via frame sync, which is what the PSP does..
2019-04-29 04:47:59 -07:00
Unknown W. Brackets
bfa9aa009d
Mp3: Properly flush the buffer on reset.
2019-04-29 04:47:59 -07:00
Unknown W. Brackets
925e4d1343
Mp3: Correct delay on decode.
2019-04-28 08:44:46 -07:00
Unknown W. Brackets
ac43e55194
Mp3: Loop correctly from an offset.
...
If the offset points to an ID3 tag or the middle of a frame, that's fine -
it should just search forward to the next sync. FFmpeg just returns a
decode error, so we do this first.
2019-04-28 08:35:35 -07:00
Unknown W. Brackets
a3640f303b
Mp3: Correct sum decoded sample count.
...
It shouldn't consider both channels of stereo. This could've been causing
some games to think they were playing audio at an incorrect speed.
2019-04-28 07:30:56 -07:00
Unknown W. Brackets
bc1e6e12f5
Mp3: Return total frame count in sceMp3GetFrameNum.
...
This might fix games failing to play mp3s correctly.
2019-04-28 07:10:26 -07:00
Unknown W. Brackets
95d3d99343
Mp3: Fix loop func errors, clamp to -1.
...
Might matter if some game is checking the result.
2019-04-28 06:36:48 -07:00
Unknown W. Brackets
0d6570e8ad
Mp3: Correct sceMp3GetMaxOutputSample.
...
Was based on output buffer size, rather than frame size, before.
Fixes choppy audio in Velocity.
2019-04-24 14:31:12 -07:00
Unknown W. Brackets
be6710ea4a
Mp3: Fix errors for a bunch of init getters.
2019-04-24 14:13:46 -07:00
Unknown W. Brackets
5f82258fa1
Mp3: Detect offset headers, reject invalid data.
...
ID3 handling not really tested. Left some error codes disabled in case
people are happily playing some custom BGM that the PSP didn't support.
2019-04-24 09:16:21 -07:00
Unknown W. Brackets
e4d2712897
Mp3: Apply offset to stream read buffer.
...
Handle errors for sceMp3CheckStreamDataNeeded as well.
2019-04-23 21:14:54 -07:00
Unknown W. Brackets
f1eaf9dc0e
Mp3: Don't change buffer accounting until add.
...
If we just ask what we should add, that is meant to stay static until we
do actually add it.
This also reduces the max we ask for at a time, which better matches
correct behavior and might impact game behavior.
2019-04-23 20:18:16 -07:00
Unknown W. Brackets
709c9dc93c
Mp3: Fix errors on sceMp3NotifyAddStreamData.
2019-04-23 19:48:01 -07:00
Unknown W. Brackets
5b9a3e6ca8
Mp3: Improve handle releasing behavior.
2019-04-22 23:01:40 -07:00
Unknown W. Brackets
4563d9487b
Mp3: Better errors in sceMp3GetInfoToAddStreamData.
2019-04-22 22:57:05 -07:00
Unknown W. Brackets
351a10bd69
Mp3: Allow allocating two mp3 handles.
...
The handles are always 0 or 1, not pointers, which might be relied upon by
some games. Two could be used with the same pointer.
This also makes NULL a valid pointer, which is used for low level mp3s.
2019-04-21 22:28:04 -07:00
Unknown W. Brackets
4ae2108629
Mp3: Fail to reserve if resource not inited.
...
Also, add a required parameter for sceMp3LowLevelInit, since it fails
unless proper values are passed for this on a PSP.
2019-04-21 19:54:34 -07:00
Unknown W. Brackets
92829d47fd
Mp3: Better match resched on resource init/term.
...
It always seems to return 0, though.
2019-04-21 18:22:56 -07:00
Unknown W. Brackets
ad299ca92d
Power: Match reschedule timing better.
2019-04-14 15:06:32 -07:00
Unknown W. Brackets
bc4a203fcf
Power: Correct hz on update and improve resched.
...
It only reschedules when the PLL changes, which changes in steps. This
also reads back much more accurate Mhz for each of PLL, CPU, and bus.
2019-04-14 14:51:35 -07:00
Henrik Rydgård
d3c0a010a0
Fix invalid argument string for kuKernelLoadModule. Fixes #11895 .
2019-03-24 11:56:35 +01:00
Unknown W. Brackets
f244b390ae
Kernel: Kernel threads can beget kernel threads.
...
Fixes #7687 .
2019-03-23 12:05:06 -07:00
Henrik Rydgård
60e32e914e
Fix apparent bug in #11094 , fixes #11878 and likely #11798
2019-03-12 09:33:39 +01:00
Henrik Rydgård
7865589f48
sceFontLib: Don't call the callback if double-free. Should fix one part of #6627
2019-03-11 12:55:09 +01:00
Henrik Rydgård
bd71af24db
Fix some minor things found looking at Valgrind output
2019-02-27 13:42:00 +01:00
Unknown W. Brackets
11be1e7a67
Core: Fix lag sync on game start / after pause.
...
Fixes #11189 . It was often stuck thinking it was constantly running over,
needed a reset on large delay.
2019-02-19 03:09:42 -08:00
Henrik Rydgård
906d2dff7b
Lie about success of loading flash0:/kd/audiocodec_260.prx, just like we already lie about audiocodec.prx.
...
Fixes #11733
2019-02-10 22:40:34 +01:00