mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-09 00:25:10 +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:
@@ -185,7 +185,7 @@ namespace EightBit {
|
|||||||
UNREACHABLE;
|
UNREACHABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t R2(int r, const uint8_t& a) {
|
uint8_t R2(int r, uint8_t a) {
|
||||||
ASSUME(r >= 0);
|
ASSUME(r >= 0);
|
||||||
ASSUME(r <= 7);
|
ASSUME(r <= 7);
|
||||||
switch (r) {
|
switch (r) {
|
||||||
|
Reference in New Issue
Block a user