Support Overlays #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "Overlay-The-Beginning_CDDrive"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR will fully support Overlays and all the dependencies.
I noticed that many changes are naming changes which improve readability. I commmented on a few lines about possible issues but in general I don't see anything that stands out to me as a problem. Good Job!
@ -0,0 +9,4 @@
namespace internal {
struct Screen {
static void configurate() {
static constexpr uint16_t FirstVisiblePixelH = 0x260;
Are these magic numbers? Generally I would prefer te see magic numbers using a define with a meaninful name.
Yes this is a MagicNumber but I prefere a static constexpr over a define for the following reasons:
For those safety reasons I prefere the constexpr over defines and would like to leave it like that c:
OH I did not understand that constexpr is doing a similar task.
@ -0,0 +1,42 @@
pub struct BitRange {
is this same bits structure structure repeated between multiple projects in the same repo? if so is it important that they stay exactly in sync? It may be a candidate to lift to a support library.
You were right, there was actually already a similiar Rusts struct in a helper lib. I'm pushing the changes in a bit