mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 18:15:25 +00:00
30ee70a9bc
* time: Make TimeZoneRule blittable and avoid copies This drastically reduce overhead of using TimeZoneRule around the codebase. Effect on games is unknown * Add missing Box type * Ensure we clean the structure still This doesn't perform any copies * Address gdkchan's comments * Simplify Box
13 lines
188 B
C#
13 lines
188 B
C#
namespace Ryujinx.Common.Memory
|
|
{
|
|
public class Box<T> where T : unmanaged
|
|
{
|
|
public T Data;
|
|
|
|
public Box()
|
|
{
|
|
Data = new T();
|
|
}
|
|
}
|
|
}
|