picodrive/pico/carthw
Tomáš Kelemen (vudiq) 8d04801518 remove fflush() call before exit()
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
2024-05-25 10:26:16 +02:00
..
svp remove fflush() call before exit() 2024-05-25 10:26:16 +02:00
carthw.c carthw: more accurate x-in-1 pirate handling 2023-06-05 00:41:32 +03:00
carthw.h md, reworked cart protection handling, added some unlicensed 2022-04-30 14:07:58 +02:00
eeprom_spi.c split memories away from Pico 2017-10-14 00:53:08 +03:00
eeprom_spi.h integrate SPI EEPROM 2017-09-30 20:53:11 +03:00