aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Events
diff options
context:
space:
mode:
authorRoderick Sieben <RyadaProductions@users.noreply.github.com>2018-12-12 02:48:54 +0100
committergdkchan <gab.dark.100@gmail.com>2018-12-11 23:48:54 -0200
commit2e143365eb9023b97ea51f6c47a12091ee3dc74c (patch)
treec83d2c6ee15d4f374bd548e331002b2ca06a5453 /ChocolArm64/Events
parent36e8e074c90f11480389560e3f019a161f82efbe (diff)
Optimized memory modified check (#538)
* Optimized memory modified check This was initially in some cases more expensive than plainly sending the data. Now it should have way better performance. * Small refactoring * renamed InvalidAccessEventArgs * Renamed PtPageBits * Removed ValueRange(set) They are currently unused and won't be likely to be used in the near future
Diffstat (limited to 'ChocolArm64/Events')
-rw-r--r--ChocolArm64/Events/InvalidAccessEventArgs.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ChocolArm64/Events/InvalidAccessEventArgs.cs b/ChocolArm64/Events/InvalidAccessEventArgs.cs
index a8046d73..9c349755 100644
--- a/ChocolArm64/Events/InvalidAccessEventArgs.cs
+++ b/ChocolArm64/Events/InvalidAccessEventArgs.cs
@@ -2,11 +2,11 @@ using System;
namespace ChocolArm64.Events
{
- public class InvalidAccessEventArgs : EventArgs
+ public class MemoryAccessEventArgs : EventArgs
{
public long Position { get; private set; }
- public InvalidAccessEventArgs(long position)
+ public MemoryAccessEventArgs(long position)
{
Position = position;
}