mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-01 18:40:57 -06:00
nullptr to 0
This commit is contained in:
parent
a08b298a5b
commit
4da1b3a4a9
@ -145,7 +145,7 @@ s32 PS4_SYSV_ABI sceRudpGetStatus(OrbisRudpStatus* status, size_t statusSize) {
|
||||
}
|
||||
|
||||
int result = ORBIS_RUDP_ERROR_INVALID_ARGUMENT;
|
||||
if ((status != (OrbisRudpStatus *)0x0) && (statusSize - 1 < 0xf8)) {
|
||||
if ((status != (OrbisRudpStatus *)0) && (statusSize - 1 < 0xf8)) {
|
||||
std::memcpy(status, &g_rudpStatusInternal, statusSize);
|
||||
|
||||
status->currentContexts = static_cast<s32>(RudpGetContextCount(reinterpret_cast<uintptr_t>(g_RudpContext)));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user