mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-02 06:57:10 +02:00
Support different framebuffer offsets (fixes #59)
This commit is contained in:
parent
e60852509c
commit
7bdeff4bb8
7 changed files with 82 additions and 14 deletions
|
@ -15,6 +15,11 @@ namespace Ryujinx.Core.OsHle
|
|||
Objs = new ConcurrentDictionary<int, object>();
|
||||
}
|
||||
|
||||
public bool Add(int Id, object Data)
|
||||
{
|
||||
return Objs.TryAdd(Id, Data);
|
||||
}
|
||||
|
||||
public int Add(object Data)
|
||||
{
|
||||
if (Objs.TryAdd(FreeIdHint, Data))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue