mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 22:59:47 -06:00
Remove unnecessary Src/ folders
This commit is contained in:
38
Source/Core/DiscIO/Filesystem.cpp
Normal file
38
Source/Core/DiscIO/Filesystem.cpp
Normal file
@ -0,0 +1,38 @@
|
||||
// Copyright 2013 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Filesystem.h"
|
||||
|
||||
#include "VolumeCreator.h"
|
||||
#include "FileSystemGCWii.h"
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
|
||||
IFileSystem::IFileSystem(const IVolume *_rVolume)
|
||||
: m_rVolume(_rVolume)
|
||||
{}
|
||||
|
||||
|
||||
IFileSystem::~IFileSystem()
|
||||
{}
|
||||
|
||||
|
||||
IFileSystem* CreateFileSystem(const IVolume* _rVolume)
|
||||
{
|
||||
IFileSystem* pFileSystem = new CFileSystemGCWii(_rVolume);
|
||||
|
||||
if (!pFileSystem)
|
||||
return 0;
|
||||
|
||||
if (!pFileSystem->IsValid())
|
||||
{
|
||||
delete pFileSystem;
|
||||
pFileSystem = NULL;
|
||||
}
|
||||
|
||||
return pFileSystem;
|
||||
}
|
||||
|
||||
} // namespace
|
Reference in New Issue
Block a user