mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Remove unnecessary Src/ folders
This commit is contained in:
29
Source/Core/DiscIO/BannerLoader.cpp
Normal file
29
Source/Core/DiscIO/BannerLoader.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
// Copyright 2013 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "BannerLoader.h"
|
||||
#include "BannerLoaderWii.h"
|
||||
#include "BannerLoaderGC.h"
|
||||
|
||||
#include "VolumeCreator.h"
|
||||
#include "FileUtil.h"
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
|
||||
IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume *pVolume)
|
||||
{
|
||||
if (IsVolumeWiiDisc(pVolume) || IsVolumeWadFile(pVolume))
|
||||
{
|
||||
return new CBannerLoaderWii(pVolume);
|
||||
}
|
||||
if (_rFileSystem.IsValid())
|
||||
{
|
||||
return new CBannerLoaderGC(_rFileSystem, pVolume);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
} // namespace
|
Reference in New Issue
Block a user