Support different framebuffer offsets (fixes #59)
This commit is contained in:
parent
4314a8f3e5
commit
1bd99e5597
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