Henrik Rydgård
0a5ec48382
Merge pull request #12533 from unknownbrackets/io-async
...
Io: Allow adjusting default async thread priority
2019-12-26 22:19:51 +01:00
Henrik Rydgård
4a0d7d67dc
Merge pull request #12532 from unknownbrackets/io-minor
...
Io: Correct leak on save state
2019-12-26 22:19:00 +01:00
Unknown W. Brackets
7e345dad11
Io: Allow adjusting default async thread priority.
2019-12-26 11:26:31 -08:00
Unknown W. Brackets
499431c1ed
Io: Correct leak on save state.
...
This was breaking things a bit more every time you saved state.
2019-12-26 11:05:36 -08:00
shenweip
c3a489fa90
Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
...
Use a error 1 to mean the uccessful mapping but carry with SCE_KERNEL_ERROR_NOCWD error.
2019-12-13 17:59:55 +08:00
shenweip
a6d511d123
IO:Add an extra delay to simulate umd delay in file seek whence.
...
Pangya(KS) seems want to check something base on this delay and system time.Anyhow, the game work now.
2019-12-13 08:19:17 +08:00
Henrik Rydgård
9c40381db0
Remove the I/O on Thread option - treat it as always on.
2019-11-04 22:21:20 +01:00
Henrik Rydgård
86c781e434
Hack around most of the problems with the save/load dialog. Software stretch gets enabled in non-wide mode, so wallpapers work at a cost of speed.
2019-10-27 20:55:32 +01:00
Henrik Rydgård
e09296b9b1
Merge pull request #12433 from unknownbrackets/io-minor
...
Io: Return error code for write attempt to UMD
2019-10-20 22:38:36 +02:00
Unknown W. Brackets
913121cf2b
Io: Consistently use error codes with OpenFile().
...
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile(). Also fixed the sequence rollover, which could've
returned 0.
0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets
f63daf8185
Io: Change async thread priority if running.
...
Really thought I'd already done this, must've made a mistake...
Fixes #12400 .
2019-10-20 10:26:37 -07:00
Unknown W. Brackets
4065fae262
Io: Destroy async threads on reset.
...
Oops, this left us in a different state on exit.
2019-10-20 10:25:57 -07:00
Henrik Rydgård
29950c0ad5
Update last commit to use IsValidRange instead of IsValidAddress.
2019-10-13 16:21:52 +02:00
Henrik Rydgård
d64f9c44f3
Code analysis: Skip invalid code sections. May help #12414 .
2019-10-13 13:25:18 +02:00
Henrik Rydgård
eb2109a0f1
Merge pull request #12328 from unknownbrackets/io-async
...
Use PSP threads for async IO
2019-10-07 21:50:57 +02:00
Unknown W. Brackets
cc6115d875
Io: Join loading/manager threads more explicitly.
2019-09-28 11:18:42 -07:00
Henrik Rydgård
553ea23c34
Add memory range checks to a few little-used sysclib functions. Might help #12359 .
2019-09-27 22:58:18 +02:00
Unknown W. Brackets
c53acfcac9
Io: Correct result on async file not found.
2019-09-01 09:43:01 -07:00
Unknown W. Brackets
c26becb545
Io: Wait async thread on IO completion.
...
So it doesn't exit early.
2019-09-01 09:32:58 -07:00
Unknown W. Brackets
419ac33dcd
Io: Cleanup some logging.
2019-09-01 09:18:27 -07:00
Unknown W. Brackets
8e77db2b72
Io: Check callbacks in sceIoWaitAsyncCB().
2019-09-01 09:11:09 -07:00
Unknown W. Brackets
e817d79c39
Io: Handle open async in a thread.
2019-09-01 08:16:06 -07:00
Unknown W. Brackets
2bfcba0623
Io: Use async for read/write/seek/ioctl.
...
This should properly respect the thread priority setting and improve IO
timing. Improves IO thread timing tests.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
4578381f7a
Io: Prepare HLE thread handling for async.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
ad274d5b72
Psmf: Cleanup finishThread save state handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
5fec5c90d8
Io: Cleanup some error handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
f1037248f1
Io: Store sceIoChangeAsyncPriority value.
...
Also some prep for async threaded IO.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
dd804660c9
Psmf: Use kernel memory for helper thread stack.
...
Also, thread stacks must be 0x200 or larger.
2019-09-01 08:16:05 -07:00
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
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
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