mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
riscv: Fix compile error on clang.
This also works on gcc.
This commit is contained in:
parent
1fa2f7a971
commit
5916b3f3a8
@ -628,7 +628,7 @@ void RiscVEmitter::FlushIcache() {
|
||||
|
||||
void RiscVEmitter::FlushIcacheSection(const u8 *start, const u8 *end) {
|
||||
#if PPSSPP_ARCH(RISCV64)
|
||||
__builtin___clear_cache((void *)start, (void *)end);
|
||||
__builtin___clear_cache((char *)start, (char *)end);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user