Skip to content

Conversation

@corwinkuiper
Copy link
Member

  • Changelog updated / no changelog update needed

@corwinkuiper corwinkuiper force-pushed the dynamic-sprite-changes branch from 413e124 to a063dd2 Compare January 4, 2026 19:04

unsafe {
let dest = data.cast().as_ptr();
crate::agbabi::memcpy_16(self.data.as_ptr().cast(), dest, self.data.len() * 2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can still do 32-bit writes to vram, it's only 8-bit writes that go wrong. And I also believe it's always best to do the 32-bit writes where possible for performance

@corwinkuiper corwinkuiper force-pushed the dynamic-sprite-changes branch from 5142b12 to aa14847 Compare January 4, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants