diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-11-21 19:18:07 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-11-21 19:18:07 +0200 |
| commit | 44e4b69cdbf2925ae82fe6e6a7336b8ba90b67f0 (patch) | |
| tree | e9f679da3a024029733a6dfd1e5897c930aa4dc3 /include | |
| parent | bf9df148326971550dc58c65e5e9dd5c7f734228 (diff) | |
Matches from site(Henny022p,octorock,Léo Lam,ThothWhatsThis)
Diffstat (limited to 'include')
| -rw-r--r-- | include/global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h index 94d19c8f..9b3557ce 100644 --- a/include/global.h +++ b/include/global.h @@ -101,6 +101,12 @@ #define FORCE_REGISTER(var, reg) register var asm(#reg) #endif +#if NON_MATCHING +#define MEMORY_BARRIER +#else +#define MEMORY_BARRIER asm("" ::: "memory") +#endif + typedef union { s32 WORD; struct { |
