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

fix: offset issue with CGB BIOS loading

This was causing Boot to fail for CGB.
parent a85f2a53
No related branches found
No related tags found
1 merge request!16Support for Game Boy Color (CGB) 😎🖍️
Pipeline #2580 failed
......@@ -180,7 +180,7 @@ impl Mmu {
&& addr >= 0x0200
&& addr <= 0x08ff
{
return self.boot[(addr - 0x0100) as usize];
return self.boot[addr as usize];
}
self.rom.read(addr)
}
......
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