diff --git a/core/src/gpu/mod.rs b/core/src/gpu/mod.rs index bf7ca77..58153d4 100644 --- a/core/src/gpu/mod.rs +++ b/core/src/gpu/mod.rs @@ -198,6 +198,15 @@ impl Gpu { } } + pub fn skip_bios(&mut self) { + for i in 0..2 { + self.bg_aff[i].pa = 0x100; + self.bg_aff[i].pb = 0; + self.bg_aff[i].pc = 0; + self.bg_aff[i].pd = 0x100; + } + } + /// helper method that reads the palette index from a base address and x + y pub fn read_pixel_index(&mut self, addr: u32, x: u32, y: u32, format: PixelFormat) -> usize { match format {