mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 14:00:05 +00:00
loader: Remove duplicate docstrings.
This commit is contained in:
parent
067e15d348
commit
81e22ae8c7
@ -27,34 +27,14 @@ public:
|
|||||||
*/
|
*/
|
||||||
static FileType IdentifyType(FileUtil::IOFile& file);
|
static FileType IdentifyType(FileUtil::IOFile& file);
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the type of this file
|
|
||||||
* @return FileType corresponding to the loaded file
|
|
||||||
*/
|
|
||||||
FileType GetFileType() override {
|
FileType GetFileType() override {
|
||||||
return IdentifyType(file);
|
return IdentifyType(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Load the bootable file
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus Load() override;
|
ResultStatus Load() override;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the icon (typically icon section) of the application
|
|
||||||
* @param buffer Reference to buffer to store data
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus ReadIcon(std::vector<u8>& buffer) override;
|
ResultStatus ReadIcon(std::vector<u8>& buffer) override;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the RomFS of the application
|
|
||||||
* @param romfs_file Reference to buffer to store data
|
|
||||||
* @param offset Offset in the file to the RomFS
|
|
||||||
* @param size Size of the RomFS in bytes
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset,
|
ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset,
|
||||||
u64& size) override;
|
u64& size) override;
|
||||||
|
|
||||||
|
@ -26,18 +26,10 @@ public:
|
|||||||
*/
|
*/
|
||||||
static FileType IdentifyType(FileUtil::IOFile& file);
|
static FileType IdentifyType(FileUtil::IOFile& file);
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the type of this file
|
|
||||||
* @return FileType corresponding to the loaded file
|
|
||||||
*/
|
|
||||||
FileType GetFileType() override {
|
FileType GetFileType() override {
|
||||||
return IdentifyType(file);
|
return IdentifyType(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Load the bootable file
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus Load() override;
|
ResultStatus Load() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -171,18 +171,10 @@ public:
|
|||||||
*/
|
*/
|
||||||
static FileType IdentifyType(FileUtil::IOFile& file);
|
static FileType IdentifyType(FileUtil::IOFile& file);
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the type of this file
|
|
||||||
* @return FileType corresponding to the loaded file
|
|
||||||
*/
|
|
||||||
FileType GetFileType() override {
|
FileType GetFileType() override {
|
||||||
return IdentifyType(file);
|
return IdentifyType(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Load the application
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus Load() override;
|
ResultStatus Load() override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -191,32 +183,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
boost::optional<u32> LoadKernelSystemMode();
|
boost::optional<u32> LoadKernelSystemMode();
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the code (typically .code section) of the application
|
|
||||||
* @param buffer Reference to buffer to store data
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus ReadCode(std::vector<u8>& buffer) override;
|
ResultStatus ReadCode(std::vector<u8>& buffer) override;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the icon (typically icon section) of the application
|
|
||||||
* @param buffer Reference to buffer to store data
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus ReadIcon(std::vector<u8>& buffer) override;
|
ResultStatus ReadIcon(std::vector<u8>& buffer) override;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the banner (typically banner section) of the application
|
|
||||||
* @param buffer Reference to buffer to store data
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus ReadBanner(std::vector<u8>& buffer) override;
|
ResultStatus ReadBanner(std::vector<u8>& buffer) override;
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the logo (typically logo section) of the application
|
|
||||||
* @param buffer Reference to buffer to store data
|
|
||||||
* @return ResultStatus result of function
|
|
||||||
*/
|
|
||||||
ResultStatus ReadLogo(std::vector<u8>& buffer) override;
|
ResultStatus ReadLogo(std::vector<u8>& buffer) override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user