This repository was archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f057da
commit d688251
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "common/types.h" | ||
|
||
int isSplatoon __attribute__((section(".data"))) = 0; | ||
int drcMode __attribute__((section(".data"))) = 0; | ||
int screenPressTimeout __attribute__((section(".data"))) = 0; | ||
uint32_t* gamemode __attribute__((section(".data"))) = (uint32_t*)0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef _RETAIN_VARS_H_ | ||
#define _RETAIN_VARS_H_ | ||
|
||
#include "common/types.h" | ||
|
||
extern int isSplatoon; | ||
extern int drcMode; | ||
extern int screenPressTimeout; | ||
extern uint32_t* gamemode; | ||
|
||
#endif // _RETAIN_VARS_H_ |