Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
81e22ae8
There was an error fetching the commit references. Please try again later.
Commit
81e22ae8
authored
8 years ago
by
bunnei
Browse files
Options
Downloads
Patches
Plain Diff
loader: Remove duplicate docstrings.
parent
067e15d3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/core/loader/3dsx.h
+0
-20
0 additions, 20 deletions
src/core/loader/3dsx.h
src/core/loader/elf.h
+0
-8
0 additions, 8 deletions
src/core/loader/elf.h
src/core/loader/ncch.h
+0
-28
0 additions, 28 deletions
src/core/loader/ncch.h
with
0 additions
and
56 deletions
src/core/loader/3dsx.h
+
0
−
20
View file @
81e22ae8
...
...
@@ -27,34 +27,14 @@ public:
*/
static
FileType
IdentifyType
(
FileUtil
::
IOFile
&
file
);
/**
* Returns the type of this file
* @return FileType corresponding to the loaded file
*/
FileType
GetFileType
()
override
{
return
IdentifyType
(
file
);
}
/**
* Load the bootable file
* @return ResultStatus result of function
*/
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
;
/**
* 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
,
u64
&
size
)
override
;
...
...
This diff is collapsed.
Click to expand it.
src/core/loader/elf.h
+
0
−
8
View file @
81e22ae8
...
...
@@ -26,18 +26,10 @@ public:
*/
static
FileType
IdentifyType
(
FileUtil
::
IOFile
&
file
);
/**
* Returns the type of this file
* @return FileType corresponding to the loaded file
*/
FileType
GetFileType
()
override
{
return
IdentifyType
(
file
);
}
/**
* Load the bootable file
* @return ResultStatus result of function
*/
ResultStatus
Load
()
override
;
private
:
...
...
This diff is collapsed.
Click to expand it.
src/core/loader/ncch.h
+
0
−
28
View file @
81e22ae8
...
...
@@ -171,18 +171,10 @@ public:
*/
static
FileType
IdentifyType
(
FileUtil
::
IOFile
&
file
);
/**
* Returns the type of this file
* @return FileType corresponding to the loaded file
*/
FileType
GetFileType
()
override
{
return
IdentifyType
(
file
);
}
/**
* Load the application
* @return ResultStatus result of function
*/
ResultStatus
Load
()
override
;
/**
...
...
@@ -191,32 +183,12 @@ public:
*/
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
;
/**
* 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
;
/**
* 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
;
/**
* 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
;
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment