diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-12 21:21:49 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-12 21:21:49 -0400 |
commit | 72b03025ac4ef0d8633c2f3e55b513cd149c59e5 (patch) | |
tree | f1fbeb915a0b3df8e4e988a6a562a763e18ea666 /src/core/loader/3dsx.h | |
parent | 0906de9a14b735d1d409290ca050eb7d2c2d3d84 (diff) |
Remove lots more 3DS-specific code.
Diffstat (limited to 'src/core/loader/3dsx.h')
-rw-r--r-- | src/core/loader/3dsx.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/core/loader/3dsx.h b/src/core/loader/3dsx.h deleted file mode 100644 index 1e59bbb9d..000000000 --- a/src/core/loader/3dsx.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2014 Dolphin Emulator Project / Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include <string> -#include "common/common_types.h" -#include "core/loader/loader.h" - -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Loader namespace - -namespace Loader { - -/// Loads an 3DSX file -class AppLoader_THREEDSX final : public AppLoader { -public: - AppLoader_THREEDSX(FileUtil::IOFile&& file, const std::string& filename, - const std::string& filepath) - : AppLoader(std::move(file)), filename(std::move(filename)), filepath(filepath) {} - - /** - * Returns the type of the file - * @param file FileUtil::IOFile open file - * @return FileType found, or FileType::Error if this loader doesn't know it - */ - static FileType IdentifyType(FileUtil::IOFile& file); - - FileType GetFileType() override { - return IdentifyType(file); - } - - ResultStatus Load(Kernel::SharedPtr<Kernel::Process>& process) override; - - ResultStatus ReadIcon(std::vector<u8>& buffer) override; - - ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, - u64& size) override; - -private: - std::string filename; - std::string filepath; -}; - -} // namespace Loader |