Skip to content

Commit 85f364f

Browse files
committed
chore: lint fix [gen]
1 parent 05426e2 commit 85f364f

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/cpu.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use std::env;
21

32
use crate::{
43
bus::Bus,

src/rom.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ impl Rom {
5454
let hi = control_byte_2 & 0b1111_0000;
5555
let rom_mapper_type = hi + lo;
5656

57-
let mapper = match rom_mapper_type {
58-
// 0 => Mapper::Zero,
59-
// _ => todo!(),
60-
_ => Mapper::Zero, // TODO: Hack to get tiles viewing.. but should revert to TODO. Why is mapper saying `0x40` (64) for some games even though it should be 0?
61-
};
57+
let mapper = Mapper::Zero;
6258

6359
let mirroring = match (is_four_screen, is_vertical_screen) {
6460
(true, _) => Mirroring::FourScreen,

0 commit comments

Comments
 (0)