pineman / fpt

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

Trying to fix stack overflow in GitHub CI #45

Closed diogotito closed 3 months ago

diogotito commented 3 months ago

Maybe there's some parameter somewhere to increase the memory limit for the testing process, but I also felt like optimising a few things that I could optimise anyways, and maybe GitHub Actions will stop complaining.

Optimisations include:

[^?]: is copy elision a thing with VRamContents::load(&[u8]) -> VRamContents? Should we have a VRamContents::load(&self, &[u8]) instead? Maybe that's what's causing the stack overflow

diogotito commented 3 months ago

I guess it passed lol