Correct sneaky reference passing in heavily used method. (~205Mhz emulated speed)

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-03-10 10:53:11 +00:00
parent 45dc274167
commit bebc68539b

View File

@ -185,7 +185,7 @@ namespace EightBit {
UNREACHABLE;
}
uint8_t R2(int r, const uint8_t& a) {
uint8_t R2(int r, uint8_t a) {
ASSUME(r >= 0);
ASSUME(r <= 7);
switch (r) {