|
@@ -57,9 +57,10 @@ namespace Ryujinx.HLE
|
|
|
: MemoryAllocationFlags.Reserve | MemoryAllocationFlags.Mirrorable;
|
|
: MemoryAllocationFlags.Reserve | MemoryAllocationFlags.Mirrorable;
|
|
|
|
|
|
|
|
#pragma warning disable IDE0055 // Disable formatting
|
|
#pragma warning disable IDE0055 // Disable formatting
|
|
|
|
|
+ DirtyHacks = new DirtyHackCollection(Configuration.Hacks);
|
|
|
AudioDeviceDriver = new CompatLayerHardwareDeviceDriver(Configuration.AudioDeviceDriver);
|
|
AudioDeviceDriver = new CompatLayerHardwareDeviceDriver(Configuration.AudioDeviceDriver);
|
|
|
Memory = new MemoryBlock(Configuration.MemoryConfiguration.ToDramSize(), memoryAllocationFlags);
|
|
Memory = new MemoryBlock(Configuration.MemoryConfiguration.ToDramSize(), memoryAllocationFlags);
|
|
|
- Gpu = new GpuContext(Configuration.GpuRenderer);
|
|
|
|
|
|
|
+ Gpu = new GpuContext(Configuration.GpuRenderer, DirtyHacks);
|
|
|
System = new HOS.Horizon(this);
|
|
System = new HOS.Horizon(this);
|
|
|
Statistics = new PerformanceStatistics();
|
|
Statistics = new PerformanceStatistics();
|
|
|
Hid = new Hid(this, System.HidStorage);
|
|
Hid = new Hid(this, System.HidStorage);
|
|
@@ -77,7 +78,7 @@ namespace Ryujinx.HLE
|
|
|
System.EnablePtc = Configuration.EnablePtc;
|
|
System.EnablePtc = Configuration.EnablePtc;
|
|
|
System.FsIntegrityCheckLevel = Configuration.FsIntegrityCheckLevel;
|
|
System.FsIntegrityCheckLevel = Configuration.FsIntegrityCheckLevel;
|
|
|
System.GlobalAccessLogMode = Configuration.FsGlobalAccessLogMode;
|
|
System.GlobalAccessLogMode = Configuration.FsGlobalAccessLogMode;
|
|
|
- DirtyHacks = new DirtyHackCollection(Configuration.Hacks);
|
|
|
|
|
|
|
+
|
|
|
UpdateVSyncInterval();
|
|
UpdateVSyncInterval();
|
|
|
#pragma warning restore IDE0055
|
|
#pragma warning restore IDE0055
|
|
|
|
|
|