mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-20 06:16:43 +00:00
A few small consistency updates:
1) Drop Get/SetPagedByte in favour of normal BusRead/Write 2) Tidy some "using" statements 3) More "expression body" usage, if possible 4) Use field initialisation, rather than construction, if possible 5) Correct IntelProcessor register set/get methods (there were remnants of "copy pasta" code) Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
||||
public event EventHandler<EventArgs> LoweringPOWER;
|
||||
public event EventHandler<EventArgs> LoweredPOWER;
|
||||
|
||||
public ref PinLevel POWER() { return ref powerLine; }
|
||||
public ref PinLevel POWER() => ref powerLine;
|
||||
|
||||
public bool Powered => POWER().Raised();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user