Fixes setsockopt

This commit is contained in:
RipleyTom 2020-10-08 08:18:04 +02:00 committed by Ivan
parent 2babe4c236
commit 073772a801

View File

@ -2642,7 +2642,7 @@ error_code sys_net_bnet_setsockopt(ppu_thread& ppu, s32 s, s32 level, s32 optnam
if (optlen >= sizeof(s32))
{
std::memcpy(&native_int, optval_buf.data(), sizeof(s32));
native_int = *reinterpret_cast<be_t<s32> *>(optval_buf.data());
}
else
{