Loader: Add 3DSX support
This commit is contained in:
parent
2aa2d341d0
commit
1aa969741d
6 changed files with 279 additions and 1 deletions
32
src/core/loader/3dsx.h
Normal file
32
src/core/loader/3dsx.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
// Copyright 2014 Dolphin Emulator Project / Citra Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#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(const std::string& filename);
|
||||
~AppLoader_THREEDSX() override;
|
||||
|
||||
/**
|
||||
* Load the bootable file
|
||||
* @return ResultStatus result of function
|
||||
*/
|
||||
ResultStatus Load() override;
|
||||
|
||||
private:
|
||||
std::string filename;
|
||||
bool is_loaded;
|
||||
};
|
||||
|
||||
} // namespace Loader
|
Loading…
Add table
Add a link
Reference in a new issue