Simplify Z80 port handling

This commit is contained in:
Adrian Conlon
2025-08-07 09:56:25 +01:00
parent 3a8e379efd
commit d332c57e47
3 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
namespace EightBit
{
public sealed class PortEventArgs(ushort value) : EventArgs
public sealed class PortEventArgs(Register16 value) : EventArgs
{
public ushort Port { get; } = value;
public Register16 Port { get; } = value;
}
}