-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* poc * A bit * 19 files to go * ique fixed this took me hours omg * 4 more * dead vines * fixules * drop .bin from needed macro
- Loading branch information
Showing
229 changed files
with
2,198 additions
and
1,730 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 |
---|---|---|
|
@@ -69,4 +69,5 @@ | |
"black-formatter.args": [ | ||
"-l 120" | ||
], | ||
"search.useIgnoreFiles": false, | ||
} |
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,32 @@ | ||
#ifndef _H_INCLUDE_ASSET | ||
|
||
#define ASTRINGIFY_(x) #x | ||
#define ASTRINGIFY(x) ASTRINGIFY_(x) | ||
|
||
#define _INCLUDE_IMG(FILENAME, SYMBOLNAME) \ | ||
extern unsigned char SYMBOLNAME[]; \ | ||
__asm__( \ | ||
".globl " #SYMBOLNAME"\n" \ | ||
".data\n" \ | ||
".align 2\n" \ | ||
".type " #SYMBOLNAME", @object\n" \ | ||
#SYMBOLNAME":\n" \ | ||
".incbin \"ver/"ASTRINGIFY(VERSION)"/build/" FILENAME ".bin\"\n" \ | ||
) | ||
|
||
// two macros are needed for N() usage | ||
#define INCLUDE_IMG(FILENAME, SYMBOLNAME) \ | ||
_INCLUDE_IMG(FILENAME, SYMBOLNAME) | ||
|
||
#define INCLUDE_PAL(FILENAME, SYMBOLNAME) \ | ||
extern unsigned short SYMBOLNAME[]; \ | ||
__asm__( \ | ||
".globl " #SYMBOLNAME"\n" \ | ||
".data\n" \ | ||
".align 2\n" \ | ||
".type " #SYMBOLNAME", @object\n" \ | ||
#SYMBOLNAME":\n" \ | ||
".incbin \"ver/"ASTRINGIFY(VERSION)"/build/" FILENAME ".bin\"\n" \ | ||
) | ||
|
||
#endif // _H_INCLUDE_ASSET |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.