Merge pull request #35 from lentillog/feature/vita
[picodrive.git] / pico / cart.c
index d237fad..3bab615 100644 (file)
@@ -332,7 +332,9 @@ int pm_seek(pm_file *stream, long offset, int whence)
   if (stream->type == PMT_UNCOMPRESSED)\r
   {\r
     fseek(stream->file, offset, whence);\r
-    return ftell(stream->file);\r
+    int ret = ftell(stream->file);\r
+    elprintf(EL_STATUS, "seeked ok."); //HACK for VITA\r
+    return ret;\r
   }\r
 #ifndef NO_ZLIB\r
   else if (stream->type == PMT_ZIP)\r