Fix handling of several instructions
We are now handling all instructions we have implmeented, and their respective flags, correctly and we now pass test 3 and 4 from Timendus' CHIP-8 test suite!
This commit is contained in:
@@ -113,7 +113,7 @@ class Bytecode {
|
||||
};
|
||||
|
||||
inline Bytecode parse(uint16_t opcode) {
|
||||
struct Bytecode bytecode;
|
||||
Bytecode bytecode;
|
||||
|
||||
switch (opcode & 0xF000) {
|
||||
case 0x0000: {
|
||||
|
||||
Reference in New Issue
Block a user