mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-01 03:07:09 +02:00
This reverts commit 0bbda57e43
.
This commit is contained in:
parent
0bbda57e43
commit
58b3358f18
299 changed files with 12276 additions and 12268 deletions
|
@ -13,26 +13,26 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvMap
|
|||
public bool Allocated;
|
||||
public long DmaMapAddress;
|
||||
|
||||
private long _dupes;
|
||||
private long Dupes;
|
||||
|
||||
public NvMapHandle()
|
||||
{
|
||||
_dupes = 1;
|
||||
Dupes = 1;
|
||||
}
|
||||
|
||||
public NvMapHandle(int size) : this()
|
||||
public NvMapHandle(int Size) : this()
|
||||
{
|
||||
Size = size;
|
||||
this.Size = Size;
|
||||
}
|
||||
|
||||
public void IncrementRefCount()
|
||||
{
|
||||
Interlocked.Increment(ref _dupes);
|
||||
Interlocked.Increment(ref Dupes);
|
||||
}
|
||||
|
||||
public long DecrementRefCount()
|
||||
{
|
||||
return Interlocked.Decrement(ref _dupes);
|
||||
return Interlocked.Decrement(ref Dupes);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue