mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-21 02:25:16 -05:00
Added keyfob UI and debug functions
Fixed hex display truncated to 32 bits instead of 64 Updated binary
This commit is contained in:
parent
04c5b4d607
commit
40a71d32a2
12 changed files with 470 additions and 32 deletions
|
|
@ -97,9 +97,8 @@ void AboutView::update() {
|
|||
if (timer < 0) {
|
||||
timer = 240;
|
||||
loop = true;
|
||||
} else {
|
||||
} else
|
||||
timer += 16;
|
||||
}
|
||||
|
||||
render_line = 0;
|
||||
credits_index++;
|
||||
|
|
@ -111,7 +110,7 @@ void AboutView::update() {
|
|||
const auto glyph = style().font.glyph(c);
|
||||
|
||||
const size_t start = (glyph.size().width() / 8) * render_line;
|
||||
for(Dim c=0; c<glyph.size().width(); c++) {
|
||||
for (Dim c = 0; c < glyph.size().width(); c++) {
|
||||
const auto pixel = glyph.pixels()[start + (c >> 3)] & (1U << (c & 0x7));
|
||||
pixel_row[start_pos + i + c] = pixel ? Color::white() : Color::black();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue