This reverts commit 85dbb9559a
.
This commit is contained in:
parent
85dbb9559a
commit
3615a70cae
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