diff options
author | Bad Diode <bd@badd10de.dev> | 2023-04-19 10:05:03 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2023-04-19 15:28:08 +0200 |
commit | 5f47e14f6ab4e3b346de1d62c65452e674edbebe (patch) | |
tree | 7b4ff41a4667c61b3a2a40c764aaf222f267b909 /src/common.h | |
parent | 1b1765d3a27b97dc282b6295aa206d92c32f33d9 (diff) | |
download | uxngba-5f47e14f6ab4e3b346de1d62c65452e674edbebe.tar.gz uxngba-5f47e14f6ab4e3b346de1d62c65452e674edbebe.zip |
Add optimized 1bpp drawing function
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 0d6c89f..e62c78c 100644 --- a/src/common.h +++ b/src/common.h | |||
@@ -745,4 +745,10 @@ wait_vsync(void) { | |||
745 | #define EWRAM_CODE __attribute__((section(".ewram"), long_call)) | 745 | #define EWRAM_CODE __attribute__((section(".ewram"), long_call)) |
746 | #define EWRAM_BSS __attribute__((section(".sbss"))) | 746 | #define EWRAM_BSS __attribute__((section(".sbss"))) |
747 | 747 | ||
748 | // | ||
749 | // Compiler hints. | ||
750 | // | ||
751 | |||
752 | #define UNROLL_LOOPS __attribute__((optimize("unroll-loops"))) | ||
753 | |||
748 | #endif // GBAEXP_COMMON_H | 754 | #endif // GBAEXP_COMMON_H |