summaryrefslogtreecommitdiff
path: root/src/battle_util.c
diff options
context:
space:
mode:
authorMichael Panzlaff <michael.panzlaff@fau.de>2020-10-02 12:12:31 +0200
committerMichael Panzlaff <michael.panzlaff@fau.de>2020-10-02 12:27:16 +0200
commit187c96d6e5558208266fa0ca81e41e38854ab568 (patch)
tree964c7de61a310fd9b2eb7a002f72980246d90f40 /src/battle_util.c
parent52598983250fd8ad7b66ff2b9d77046859f169c8 (diff)
rewrite MultiBootWaitCycles as naked function
Before, when compiling MultiBootWaitCycles with O3 and MODERN=1, you might have run into problems during optimizations when the compiler tried to optimize the function, even if declared NOINLINE. When rewriting this function as NAKED function, this no longer happens as the optimizer will treat it as black box and compilation will resume.
Diffstat (limited to 'src/battle_util.c')
0 files changed, 0 insertions, 0 deletions