mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-29 04:49:32 -04:00
fix(video_core): Replace assertions with warnings in Fermi2D and BSD sockets
- Fermi2D: Log warnings for unsupported operations, layers, depth, and clip - BSD sockets: Return INVAL for unimplemented getsockopt optnames instead of SUCCESS Co-authored-by: JPikachu <jpikachu.eden@gmail.com> Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -808,8 +808,9 @@ Errno BSD::GetSockOptImpl(s32 fd, u32 level, OptName optname, std::vector<u8>& o
|
||||
return Translate(getsockopt_err);
|
||||
}
|
||||
default:
|
||||
UNIMPLEMENTED_MSG("Unimplemented optname={}", optname);
|
||||
return Errno::SUCCESS;
|
||||
LOG_WARNING(Service, "(STUBBED) Unimplemented optname={} (0x{:x}), returning INVAL",
|
||||
static_cast<u32>(optname), static_cast<u32>(optname));
|
||||
return Errno::INVAL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user