mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-26 08:19:38 -04:00
the buffer is flushed anyways at exit() and fixes compile error with
gcc14:
pico/carthw/svp/compiler.c: In function 'ssp_translate_block':
pico/carthw/svp/compiler.c:1800:24: error: passing argument 1 of 'rfflush' from incompatible pointer type [-Wincompatible-pointer-types]
1800 | fflush(stdout);
| ^~~~~~
| |
| FILE *
In file included from ./pico/pico_port.h:12,
from ./pico/pico_int.h:15,
from pico/carthw/svp/compiler.c:9:
platform/libretro/libretro-common/include/streams/file_stream_transforms.h:89:25: note: expected 'RFILE *' but argument is of type 'FILE *'
89 | int64_t rfflush(RFILE * stream);
| ~~~~~~~~^~~~~~
this error presents itself when building the libretro core, so this
could be also solved by wrapping the call to fflush():
#ifndef __LIBRETRO__
fflush(stdout);
#else
fflush((RFILE *)stdout);
#endif
|
||
|---|---|---|
| .. | ||
| 32x | ||
| carthw | ||
| cd | ||
| pico | ||
| sound | ||
| arm_features.h | ||
| cart.c | ||
| carthw.cfg | ||
| carthw_cfg.c | ||
| debug.c | ||
| debug.h | ||
| debugCPU.c | ||
| draw.c | ||
| draw2.c | ||
| draw2_arm.S | ||
| draw_arm.S | ||
| eeprom.c | ||
| m68kif_cyclone.s | ||
| media.c | ||
| memory.c | ||
| memory.h | ||
| memory_amips.S | ||
| memory_arm.S | ||
| misc.c | ||
| misc_amips.s | ||
| misc_arm.s | ||
| mode4.c | ||
| patch.c | ||
| patch.h | ||
| pico.c | ||
| pico.h | ||
| pico_cmn.c | ||
| pico_int.h | ||
| pico_port.h | ||
| pico_types.h | ||
| sek.c | ||
| sms.c | ||
| state.c | ||
| state.h | ||
| videoport.c | ||
| z80if.c | ||