mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-23 15:40:34 +00:00
LV2/Timer: Fix ENOTCONN check of start timer
This commit is contained in:
parent
81e4d9c2ee
commit
1c89f8a855
@ -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…
x
Reference in New Issue
Block a user