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

fix: small fix

parent 13398a5f
No related branches found
No related tags found
1 merge request!16Support for Game Boy Color (CGB) 😎🖍️
Pipeline #2614 failed
......@@ -934,7 +934,7 @@ impl Ppu {
if obj_index >= OBJ_COUNT {
return;
}
let mut obj = self.obj_data[obj_index].borrow_mut();
let obj = self.obj_data[obj_index].borrow_mut();
match addr & 0x03 {
0x00 => obj.y = value as i16 - 16,
0x01 => obj.x = value as i16 - 8,
......
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