X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.h;fp=pico%2Fpico.h;h=6c6e7c5112eb30f274fb78f8bd69ee5d905f8591;hb=2446536be520914616403876d7e49621ac6f4b95;hp=1a8b712b22a1c12c79ba5f674ea87a5c7087b0b4;hpb=4c2e35547fd6f849648234989419a4a02d2546b4;p=picodrive.git diff --git a/pico/pico.h b/pico/pico.h index 1a8b712..6c6e7c5 100644 --- a/pico/pico.h +++ b/pico/pico.h @@ -19,6 +19,9 @@ extern "C" { #endif +// message log +extern void lprintf(const char *fmt, ...); + // external funcs for Sega/Mega CD extern int mp3_get_bitrate(void *f, int size); extern void mp3_start_play(void *f, int pos); @@ -27,7 +30,7 @@ extern void mp3_update(int *buffer, int length, int stereo); // this function should write-back d-cache and invalidate i-cache // on a mem region [start_addr, end_addr) // used by dynarecs -extern void cache_flush_d_inval_i(const void *start_addr, const void *end_addr); +extern void cache_flush_d_inval_i(void *start_addr, void *end_addr); // attempt to alloc mem at specified address. // alloc anywhere else if that fails (callers should handle that)