mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-10 01:18:55 +02:00
misc: chore: Merge duplicated 'if' branches
This commit is contained in:
@@ -117,11 +117,8 @@ namespace Ryujinx.HLE.HOS.Services.Ro
|
||||
{
|
||||
return ResultCode.TooManyNro;
|
||||
}
|
||||
else if (nroSize == 0 || nroAddress + nroSize <= nroAddress || (nroSize & 0xFFF) != 0)
|
||||
{
|
||||
return ResultCode.InvalidSize;
|
||||
}
|
||||
else if (bssSize != 0 && bssAddress + bssSize <= bssAddress)
|
||||
else if (nroSize == 0 || nroAddress + nroSize <= nroAddress || (nroSize & 0xFFF) != 0 ||
|
||||
bssSize != 0 && bssAddress + bssSize <= bssAddress)
|
||||
{
|
||||
return ResultCode.InvalidSize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user