mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-04-15 10:37:27 +00:00
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:
parent
45dc274167
commit
bebc68539b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user