summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r--src/fileio.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 465e71304..6b13e3089 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -40,6 +40,14 @@ extern std::string _config_file;
extern std::string _highscore_file;
/**
+ * Transition helper to get the RandomAccessFile associated with a given slot.
+ */
+RandomAccessFile *FioGetRandomAccessFile(int slot)
+{
+ return _fio_files[slot];
+}
+
+/**
* Get position in the current file.
* @return Position in the file.
*/