pull in more code from PicoDrive
[pcsx_rearmed.git] / frontend / common / readpng.h
diff --git a/frontend/common/readpng.h b/frontend/common/readpng.h
new file mode 100644 (file)
index 0000000..ce5d635
--- /dev/null
@@ -0,0 +1,18 @@
+typedef enum
+{
+       READPNG_BG = 1,
+       READPNG_FONT,
+       READPNG_SELECTOR,
+       READPNG_24,
+}
+readpng_what;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
+
+#ifdef __cplusplus
+}
+#endif