From 5d2fbcd01d8b39c0e5bd5c4dd8b1680fceebf57c Mon Sep 17 00:00:00 2001 From: Jared Burce Date: Wed, 24 Mar 2021 20:37:55 -0700 Subject: [PATCH] emu: Remove LValue implementation for u16 I think this was from when registers were passed by mut ref and this could update them in place. Now they are wrapped and those wrappers are LValues instead. --- src/emu/operands.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/emu/operands.rs b/src/emu/operands.rs index 22e0e2e..10cb0a3 100644 --- a/src/emu/operands.rs +++ b/src/emu/operands.rs @@ -48,12 +48,6 @@ impl RValue for u8 { } } -impl LValue for u16 { - fn write(&mut self, val: u16) { - *self = val; - } -} - impl RValue for u16 { fn read(&self) -> u16 { *self