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);
}
}