Removing shift by 0 (#5249)

* Integral numbers should not be shifted by zero or more than their number of bits-1

* more
This commit is contained in:
Marco Carvalho 2023-06-09 06:23:44 -03:00 committed by GitHub
parent f35aa8e9d6
commit 86de288142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 405 additions and 405 deletions

View file

@ -137,7 +137,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
public void CancelHandleReservation(int handle)
{
int index = (handle >> 0) & 0x7fff;
int index = handle & 0x7fff;
lock (_table)
{