mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01: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…
Reference in a new issue