From 556bab2b817cce7cc476e44ef778af6de44a98ba Mon Sep 17 00:00:00 2001 From: Neil Millstone Date: Sat, 24 May 2008 14:57:18 +0000 Subject: Adding getFileSystemFactory() method in response to mail on scummvm-devel. svn-id: r32247 --- backends/platform/ds/arm9/source/osystem_ds.cpp | 5 +++++ backends/platform/ds/arm9/source/osystem_ds.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'backends/platform/ds') diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp index 2381abab5e..1d8d39dcab 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.cpp +++ b/backends/platform/ds/arm9/source/osystem_ds.cpp @@ -37,6 +37,7 @@ #include "cdaudio.h" #include "graphics/surface.h" #include "touchkeyboard.h" +#include "ds-fs-factory.h" OSystem_DS* OSystem_DS::_instance = NULL; @@ -416,6 +417,10 @@ void OSystem_DS::getTimeAndDate(struct tm &t) const { t = *localtime(&curTime); } +FilesystemFactory *OSystem_DS::getFilesystemFactory() { + return &DSFilesystemFactory::instance(); +} + OSystem::MutexRef OSystem_DS::createMutex(void) { return NULL; } diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h index 5d0c5901e5..246797188f 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.h +++ b/backends/platform/ds/arm9/source/osystem_ds.h @@ -155,8 +155,7 @@ public: virtual void clearAutoComplete(); virtual void setCharactersEntered(int count); - - + FilesystemFactory *getFilesystemFactory(); }; static const OSystem::GraphicsMode s_supportedGraphicsModes[] = { -- cgit v1.2.3