mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-08 03:08:28 +02: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