This repository has been archived on 2024-12-14. You can view files and clone it, but cannot push or open issues or pull requests.
rustboyadvance-ng/core/src/cartridge
Michel Heily bf601404fa Optimize cartridge Bus reads
The `if let Some(gpio) = &self.gpio` causes a memory read of `self.gpio` for every Bus::read/write_16.
It is better to reverse the order since `is_gpio_access` does not generate and memory reads and thus less costly.


Former-commit-id: bcce7d9c3a2b159a7f6b291d7b08ccf9c4d0db14
Former-commit-id: 69c12db503c9e612faa7cd8a57f6d862694c8370
2020-10-10 11:08:26 -07:00
..
backup Refactor dir rustboyadvance-core -> core 2020-05-30 13:43:37 +03:00
builder.rs core: Add error handling to cartridge header parsing 2020-05-30 15:35:12 +03:00
gpio.rs Refactor dir rustboyadvance-core -> core 2020-05-30 13:43:37 +03:00
header.rs core: Add error handling to cartridge header parsing 2020-05-30 15:35:12 +03:00
loader.rs Refactor dir rustboyadvance-core -> core 2020-05-30 13:43:37 +03:00
mod.rs Optimize cartridge Bus reads 2020-10-10 11:08:26 -07:00
rtc.rs Refactor dir rustboyadvance-core -> core 2020-05-30 13:43:37 +03:00