Skip to content

Commit

Permalink
Fix AxROM initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
koute committed Nov 24, 2018
1 parent 583bc9f commit 17c51a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nes/src/mapper_axrom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ impl MapperAxROM {
inner: try!( BankedGenericMapper::from_rom( rom ) )
};

let last_bank = mapper.inner.last_rom_16k_bank();
mapper.inner.set_cpu_lower_16k_bank_to_bank( 0 );
mapper.inner.set_cpu_upper_16k_bank_to_bank( last_bank );
mapper.inner.set_cpu_32k_bank_to_bank( 0 );
mapper.inner.set_only_lower_bank_mirroring();

Ok( mapper )
}
Expand Down

0 comments on commit 17c51a1

Please sign in to comment.