mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Play dead init
This commit is contained in:
parent
457baa65f4
commit
00ee78f533
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,7 +29,6 @@
|
||||
|
||||
# Other compiler/linker outputs
|
||||
*.elf
|
||||
*.bin
|
||||
*.map
|
||||
*.lst
|
||||
.dep/
|
||||
|
@ -148,7 +148,8 @@ SystemView::SystemView(
|
||||
|
||||
// Initial view.
|
||||
// TODO: Restore from non-volatile memory?
|
||||
if (persistent_memory::playing_dead())
|
||||
|
||||
if (persistent_memory::playing_dead() == 0x59)
|
||||
navigation_view.push(new PlayDeadView { navigation_view, true });
|
||||
else
|
||||
navigation_view.push(new BMPView { navigation_view });
|
||||
@ -232,7 +233,7 @@ void PlayDeadView::focus() {
|
||||
|
||||
PlayDeadView::PlayDeadView(NavigationView& nav, bool booting) {
|
||||
_booting = booting;
|
||||
persistent_memory::set_playing_dead(1);
|
||||
persistent_memory::set_playing_dead(0x59);
|
||||
|
||||
add_children({ {
|
||||
&text_playdead1,
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user