Skip to content
Snippets Groups Projects
Verified Commit 3a4d6ed1 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: made PC counter optional

parent eec07026
No related branches found
No related tags found
No related merge requests found
Pipeline #1007 passed
......@@ -106,8 +106,7 @@ impl Cpu {
// is going to be used in the fetching phase
let pc = self.pc;
//@todo maybe remove this option as it may
// spend valuable resources
#[cfg(feature = "debug")]
if pc >= 0x8000 && pc < 0x9fff {
panic!("Invalid PC area at 0x{:04x}", pc);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment