pineman / fpt

Gameboy emulator (yes, written in rust)
https://pineman.github.io/fpt
MIT License
5 stars 1 forks source link

Smartifying Memory #48

Open diogotito opened 3 months ago

diogotito commented 3 months ago

I'm playing with the Deref traits and stuff. Mostly trying to get some of Rust's borrowing semantics.

This has that stack overflow problem until I rebase on @joajfreitas's recent changes, but I want to try something different... like writing a separate constructor for Bus that uses MaybeUninit just to avoid stack overflow in debug builds (and tests).