mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
LV2/Timer: Fix ENOTCONN check of start timer
This commit is contained in:
parent
81e4d9c2ee
commit
1c89f8a855
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ error_code _sys_timer_start(ppu_thread& ppu, u32 timer_id, u64 base_time, u64 pe
|
|||
{
|
||||
std::lock_guard lock(timer.mutex);
|
||||
|
||||
if (!lv2_obj::check(timer.port))
|
||||
// LV2 Disassembly: Simple nullptr check (assignment test, do not use lv2_obj::check here)
|
||||
if (!timer.port)
|
||||
{
|
||||
return CELL_ENOTCONN;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue