mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
kernel: thr_new: read thread name
This commit is contained in:
parent
f09d3151ff
commit
8b11ee22bb
1 changed files with 5 additions and 0 deletions
|
|
@ -564,6 +564,11 @@ SysResult thr_new(orbis::Thread *thread, orbis::ptr<thr_param> param,
|
|||
childThread->stackStart, _param.rtp, _param.name,
|
||||
_param.spare[0], _param.spare[1]);
|
||||
|
||||
if (_param.name != 0) {
|
||||
ORBIS_RET_ON_ERROR(
|
||||
ureadString(childThread->name, sizeof(childThread->name), _param.name));
|
||||
}
|
||||
|
||||
if (_param.rtp != 0) {
|
||||
rtprio _rtp;
|
||||
ORBIS_RET_ON_ERROR(uread(_rtp, _param.rtp));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue