mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-07 11:12:33 -07:00
Support different framebuffer offsets (fixes #59)
This commit is contained in:
@@ -12,11 +12,18 @@ namespace Ryujinx.Core.OsHle
|
||||
DictByProcess = new ConcurrentDictionary<Process, IdDictionary>();
|
||||
}
|
||||
|
||||
public int Add(Process Process, object Obj)
|
||||
public bool Add(Process Process, int Id, object Data)
|
||||
{
|
||||
IdDictionary Dict = DictByProcess.GetOrAdd(Process, (Key) => new IdDictionary());
|
||||
|
||||
return Dict.Add(Obj);
|
||||
return Dict.Add(Id, Data);
|
||||
}
|
||||
|
||||
public int Add(Process Process, object Data)
|
||||
{
|
||||
IdDictionary Dict = DictByProcess.GetOrAdd(Process, (Key) => new IdDictionary());
|
||||
|
||||
return Dict.Add(Data);
|
||||
}
|
||||
|
||||
public object GetData(Process Process, int Id)
|
||||
|
Reference in New Issue
Block a user