MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / update

Method update

switch/source/ErrorOverlay.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void ErrorOverlay::update(const InputState& input)
51{
52 const u64 kDown = input.kDown;
53 if (button->released() || (kDown & HidNpadButton_A) || (kDown & HidNpadButton_B)) {
54 screen.removeOverlay();
55 }
56}

Callers

nothing calls this directly

Calls 2

removeOverlayMethod · 0.80
releasedMethod · 0.45

Tested by

no test coverage detected