diff options
author | David Corrales | 2007-05-12 20:00:52 +0000 |
---|---|---|
committer | David Corrales | 2007-05-12 20:00:52 +0000 |
commit | d1f56d93f934150f4b579c2e90564e2bf035f113 (patch) | |
tree | 09aae1d4077c8e1c933fdca88d34d890a46f8a6a /backends/fs/fs-factory-maker.cpp | |
parent | 86324f00bc561c03b281170125ef2fde14cae132 (diff) | |
download | scummvm-rg350-d1f56d93f934150f4b579c2e90564e2bf035f113.tar.gz scummvm-rg350-d1f56d93f934150f4b579c2e90564e2bf035f113.tar.bz2 scummvm-rg350-d1f56d93f934150f4b579c2e90564e2bf035f113.zip |
Use common/singleton.h in the concrete fs factories.
svn-id: r26814
Diffstat (limited to 'backends/fs/fs-factory-maker.cpp')
-rw-r--r-- | backends/fs/fs-factory-maker.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/backends/fs/fs-factory-maker.cpp b/backends/fs/fs-factory-maker.cpp index 636a39b5e3..bae3d1a30a 100644 --- a/backends/fs/fs-factory-maker.cpp +++ b/backends/fs/fs-factory-maker.cpp @@ -68,46 +68,46 @@ protected: AbstractFilesystemFactory *FilesystemFactoryMaker::makeFactory(){ #if defined(__amigaos4__) - return AmigaOSFilesystemFactory::instance(); + return &AmigaOSFilesystemFactory::instance(); #endif #if defined(__DC__) - return RoninCDFilesystemFactory::instance(); + return &RoninCDFilesystemFactory::instance(); #endif #if defined(__DS__) - return DSFilesystemFactory::instance(); + return &DSFilesystemFactory::instance(); #endif #if defined(__GP32__) - return GP32FilesystemFactory::instance(); + return &GP32FilesystemFactory::instance(); #endif #if defined(__MORPHOS__) - return ABoxFilesystemFactory::instance(); + return &ABoxFilesystemFactory::instance(); #endif #if defined(PALMOS_MODE) - return PalmOSFilesystemFactory::instance(); + return &PalmOSFilesystemFactory::instance(); #endif #if defined(__PLAYSTATION2__) - return Ps2FilesystemFactory::instance(); + return &Ps2FilesystemFactory::instance(); #endif #if defined(__PSP__) - return PSPFilesystemFactory::instance(); + return &PSPFilesystemFactory::instance(); #endif #if defined(__SYMBIAN32__) - return SymbianFilesystemFactory::instance(); + return &SymbianFilesystemFactory::instance(); #endif #if defined(UNIX) - return POSIXFilesystemFactory::instance(); + return &POSIXFilesystemFactory::instance(); #endif #if defined(WIN32) - return WindowsFilesystemFactory::instance(); + return &WindowsFilesystemFactory::instance(); #endif } |