mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Add faulty restart_operation_fetch.
This commit is contained in:
parent
26343148ae
commit
d9df568dab
@ -124,6 +124,12 @@ class ProcessorBase: public ProcessorStorage {
|
||||
@returns @c true if the 6502 is jammed; @c false otherwise.
|
||||
*/
|
||||
inline bool is_jammed() const;
|
||||
|
||||
/*!
|
||||
FOR TESTING PURPOSES ONLY: forces the processor into a state where
|
||||
the next thing it intends to do is fetch a new opcode.
|
||||
*/
|
||||
inline void restart_operation_fetch();
|
||||
};
|
||||
|
||||
/*!
|
||||
|
@ -728,3 +728,7 @@ void ProcessorBase::set_value_of(Register r, uint16_t value) {
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
||||
void ProcessorBase::restart_operation_fetch() {
|
||||
scheduled_program_counter_ = nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user