Fix building on Linux clang

This commit is contained in:
CasualPokePlayer 2025-04-09 12:23:19 -07:00
parent 098ad274bc
commit 258203c776
1 changed files with 2 additions and 3 deletions

View File

@ -477,7 +477,7 @@ uint8_t clock_table[256] = {
// This optimization is only possible with the GNU compiler -- MSVC does not allow function alignment
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__clang__)
__attribute__((optimize("align-functions=1024")))
#endif
Cpu::result_t
@ -1480,8 +1480,7 @@ end:
CALC_STATUS(temp);
r.status = temp;
}
this->clock_count = clock_count;
r.pc = pc;
r.sp = GET_SP();
r.a = a;