1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-09-09 06:16:26 -05:00

Misc language usage simplifications (#26)

un-nest some logic
add some xmldoc
simplify ini parse
This commit is contained in:
Kurt
2018-02-20 02:54:00 -08:00
committed by gdkchan
parent dff28df84e
commit 068f9bff2e
9 changed files with 31 additions and 37 deletions

View File

@@ -23,10 +23,7 @@ namespace Ryujinx.OsHle.Handles
{
Positions.Add(Position);
if (MemoryMapped != null)
{
MemoryMapped(this, EventArgs.Empty);
}
MemoryMapped?.Invoke(this, EventArgs.Empty);
}
}
@@ -36,10 +33,7 @@ namespace Ryujinx.OsHle.Handles
{
Positions.Remove(Position);
if (MemoryUnmapped != null)
{
MemoryUnmapped(this, EventArgs.Empty);
}
MemoryUnmapped?.Invoke(this, EventArgs.Empty);
}
}