summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/splash.cpp2
-rw-r--r--src/os/macosx/splash.h12
2 files changed, 3 insertions, 11 deletions
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 4c283495b..a711bfd80 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -51,7 +51,7 @@ static void PNGAPI png_my_warning(png_structp png_ptr, png_const_charp message)
*/
void DisplaySplashImage()
{
- FILE *f = FioFOpenFile(SPLASH_IMAGE_FILE, "r", BASE_DIR);
+ FILE *f = FioFOpenFile(SPLASH_IMAGE_FILE, "r", BASESET_DIR);
if (f == NULL) return;
png_byte header[8];
diff --git a/src/os/macosx/splash.h b/src/os/macosx/splash.h
index e5399a2cf..90e663814 100644
--- a/src/os/macosx/splash.h
+++ b/src/os/macosx/splash.h
@@ -12,16 +12,8 @@
#ifndef SPLASH_H
#define SPLASH_H
-#define SPLASH_IMAGE_FILE "splash.png"
+#define SPLASH_IMAGE_FILE "splash.png"
-#ifdef __cplusplus
-extern "C" {
-#endif //__cplusplus
-
- void DisplaySplashImage();
-
-#ifdef __cplusplus
-}
-#endif //__cplusplus
+void DisplaySplashImage();
#endif /* SPLASH_H */