]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/include/gui.h
Small change to file load function
[virtualjaguar] / src / include / gui.h
index 57fb8905c73213c5b0a5ab87b062ac813a49da6b..b531132bd10cc08af2e80e4161975e1d976a3739 100644 (file)
@@ -7,6 +7,22 @@
 #ifndef __GUI_H__
 #define __GUI_H__
 
-void DrawText(int16 * screen, uint32 x, uint32 y, const char * text, ...);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void InitGUI(void);
+void GUIDone(void);
+void DrawString(int16 * screen, uint32 x, uint32 y, bool invert, const char * text, ...);
+//bool UserSelectFile(char * path, char * filename);
+bool GUIMain(void);
+
+uint32 JaguarLoadROM(uint8 * rom, char * path);
+//void JaguarLoadCart(uint8 * mem, char * path);
+bool JaguarLoadFile(char * path);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif // __GUI_H__