mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Decompile code_8008E6A0.c / Add CHECK_PAD macro (#156)
* Decompile code_8008E6A0.c * Delete "counter" file
This commit is contained in:
parent
9a478a96ec
commit
89b0977e39
16 changed files with 88 additions and 111 deletions
|
@ -3,7 +3,7 @@
|
|||
#include <PR/os_cont.h>
|
||||
|
||||
void Sample_HandleStateChange(SampleContext* this) {
|
||||
if (!~(this->state.input[0].press.in.button | ~START_BUTTON)) {
|
||||
if (CHECK_PAD(this->state.input[0].press, START_BUTTON)) {
|
||||
SET_NEXT_GAMESTATE(&this->state, Gameplay_Init, GlobalContext);
|
||||
this->state.running = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue