Skip to content

Commit

Permalink
Remove some info log
Browse files Browse the repository at this point in the history
  • Loading branch information
YushiOMOTE committed Jul 25, 2024
1 parent 0b4ec34 commit bb92cfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl<T: Sys> Cpu<T> {
None => return,
};

info!("Interrupted: {:02x}", value);
debug!("Interrupted: {:02x}", value);

self.interrupted(value);
}
Expand Down Expand Up @@ -488,7 +488,7 @@ impl<T: Sys> Cpu<T> {
/// Add 1 to pc unless HALT bug is triggerred
fn inc_pc(&mut self) {
if self.halt_bug {
info!("Halt bug");
debug!("Halt bug");
self.halt_bug = false;
} else {
self.set_pc(self.get_pc().wrapping_add(1));
Expand Down
4 changes: 2 additions & 2 deletions core/src/mbc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ impl Mbc1 {
fn on_write(&mut self, addr: u16, value: u8) {
if addr <= 0x1fff {
if value & 0xf == 0x0a {
info!("External RAM enabled");
debug!("External RAM enabled");
self.ram_enable = true;
} else {
info!("External RAM disabled");
debug!("External RAM disabled");
self.ram_enable = false;
self.hw.get().borrow_mut().save_ram(&self.ram);
}
Expand Down

0 comments on commit bb92cfb

Please sign in to comment.