Remove unused stuff
Some unused variables are still kept in services, as they are parameters passed from the command buffer and might be used in the future
This commit is contained in:
parent
643a396383
commit
909d04ddea
5 changed files with 1 additions and 12 deletions
|
@ -240,8 +240,6 @@ NCCHFile::NCCHFile(std::vector<u8> buffer, std::unique_ptr<DelayGenerator> delay
|
|||
ResultVal<std::size_t> NCCHFile::Read(const u64 offset, const std::size_t length,
|
||||
u8* buffer) const {
|
||||
LOG_TRACE(Service_FS, "called offset={}, length={}", offset, length);
|
||||
std::size_t length_left = static_cast<std::size_t>(data_size - offset);
|
||||
std::size_t read_length = static_cast<std::size_t>(std::min(length, length_left));
|
||||
|
||||
std::size_t available_size = static_cast<std::size_t>(file_buffer.size() - offset);
|
||||
std::size_t copy_size = std::min(length, available_size);
|
||||
|
|
|
@ -82,8 +82,6 @@ public:
|
|||
|
||||
private:
|
||||
std::vector<u8> file_buffer;
|
||||
u64 data_offset;
|
||||
u64 data_size;
|
||||
};
|
||||
|
||||
/// File system interface to the NCCH archive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue