diff options
Diffstat (limited to 'Ryujinx.HLE/Switch.cs')
| -rw-r--r-- | Ryujinx.HLE/Switch.cs | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index 5b3b36d0..d661b273 100644 --- a/Ryujinx.HLE/Switch.cs +++ b/Ryujinx.HLE/Switch.cs @@ -31,23 +31,23 @@ namespace Ryujinx.HLE public event EventHandler Finish; - public Switch(IGalRenderer Renderer, IAalOutput AudioOut) + public Switch(IGalRenderer renderer, IAalOutput audioOut) { - if (Renderer == null) + if (renderer == null) { - throw new ArgumentNullException(nameof(Renderer)); + throw new ArgumentNullException(nameof(renderer)); } - if (AudioOut == null) + if (audioOut == null) { - throw new ArgumentNullException(nameof(AudioOut)); + throw new ArgumentNullException(nameof(audioOut)); } - this.AudioOut = AudioOut; + AudioOut = audioOut; Memory = new DeviceMemory(); - Gpu = new NvGpu(Renderer); + Gpu = new NvGpu(renderer); FileSystem = new VirtualFileSystem(); @@ -60,29 +60,29 @@ namespace Ryujinx.HLE VsyncEvent = new AutoResetEvent(true); } - public void LoadCart(string ExeFsDir, string RomFsFile = null) + public void LoadCart(string exeFsDir, string romFsFile = null) { - System.LoadCart(ExeFsDir, RomFsFile); + System.LoadCart(exeFsDir, romFsFile); } - public void LoadXci(string XciFile) + public void LoadXci(string xciFile) { - System.LoadXci(XciFile); + System.LoadXci(xciFile); } - public void LoadNca(string NcaFile) + public void LoadNca(string ncaFile) { - System.LoadNca(NcaFile); + System.LoadNca(ncaFile); } - public void LoadNsp(string NspFile) + public void LoadNsp(string nspFile) { - System.LoadNsp(NspFile); + System.LoadNsp(nspFile); } - public void LoadProgram(string FileName) + public void LoadProgram(string fileName) { - System.LoadProgram(FileName); + System.LoadProgram(fileName); } public bool WaitFifo() @@ -107,9 +107,9 @@ namespace Ryujinx.HLE Dispose(true); } - protected virtual void Dispose(bool Disposing) + protected virtual void Dispose(bool disposing) { - if (Disposing) + if (disposing) { System.Dispose(); |
