Adding halt instructions
This commit is contained in:
parent
e1f4d956fe
commit
86ffc7fce7
File diff suppressed because it is too large
Load Diff
|
@ -65,7 +65,6 @@ public:
|
|||
// One of the many opcodes that are undefined and stop CPU emulation.
|
||||
enum { bad_opcode = 0xD2 };
|
||||
|
||||
private:
|
||||
uint8_t const* code_map [page_count + 1];
|
||||
nes_time_t clock_limit;
|
||||
nes_time_t clock_count;
|
||||
|
@ -77,8 +76,8 @@ private:
|
|||
void set_code_page( int, uint8_t const* );
|
||||
void update_clock_limit();
|
||||
|
||||
public:
|
||||
registers_t r;
|
||||
bool isCorrectExecution = true;
|
||||
|
||||
// low_mem is a full page size so it can be mapped with code_map
|
||||
uint8_t low_mem [page_size > 0x800 ? page_size : 0x800];
|
||||
|
|
Loading…
Reference in New Issue