X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Farm_utils.h;h=644143bf5b42b74abfd4ef0df8cb619c3092d7a1;hp=f7d637e97037adb7a3bedf2cc654bae31a37800b;hb=a185be7095b1575c32911d18341f3f99ed686ae5;hpb=f3a63e25fac571e222b969f0d16c542061190797 diff --git a/frontend/arm_utils.h b/frontend/arm_utils.h index f7d637e9..644143bf 100644 --- a/frontend/arm_utils.h +++ b/frontend/arm_utils.h @@ -1,3 +1,12 @@ -void bgr555_to_rgb565(void *dst, void *src, int bytes); -void bgr888_to_rgb888(void *dst, void *src, int bytes); -void bgr888_to_rgb565(void *dst, void *src, int bytes); +#ifdef __cplusplus +extern "C" +{ +#endif + +void bgr555_to_rgb565(void *dst, const void *src, int bytes); +void bgr888_to_rgb888(void *dst, const void *src, int bytes); +void bgr888_to_rgb565(void *dst, const void *src, int bytes); + +#ifdef __cplusplus +} +#endif