mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-22 01:21:00 +02:00
fucking shit
This commit is contained in:
parent
39fd76edd7
commit
aaa0597eea
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ void BSD_USA::SocketExempt(HLERequestContext& ctx) {
|
|||
LOG_DEBUG(Service, "called. domain={} type={} protocol={}", domain, type, protocol);
|
||||
|
||||
auto [fd, bsd_errno] = SocketImpl(Network::Domain(domain), Network::Type(type), Network::Protocol(protocol));
|
||||
if (bsd_errno == Network::Errno::SUCCESS) {
|
||||
if (bsd_errno == Network::Errno::E_SUCCESS) {
|
||||
bsd_errno = ShutdownImpl(fd, 0);
|
||||
}
|
||||
|
||||
|
|
@ -486,7 +486,7 @@ void BSD_USA::DuplicateSocket(HLERequestContext& ctx) {
|
|||
if (is_user) {
|
||||
rb.PushRaw(OutputParameters{
|
||||
.ret = 0,
|
||||
.bsd_errno = Network::Errno::INVAL,
|
||||
.bsd_errno = Network::Errno::E_INVAL,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue