mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-20 01:09:55 +00:00
DiscIO: Pass parameters by constant reference
This commit is contained in:
parent
1ae0b23265
commit
07ad189b4f
9 changed files with 17 additions and 15 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
// If the associated OTP/SEEPROM dump (keys.bin) is not included in the image,
|
||||
// get_otp_dump_path will be called to get a path to it.
|
||||
void ImportNANDBin(const std::string& path_to_bin, std::function<void()> update_callback,
|
||||
std::function<std::string()> get_otp_dump_path);
|
||||
const std::function<std::string()>& get_otp_dump_path);
|
||||
bool ExtractCertificates();
|
||||
|
||||
enum class Type
|
||||
|
@ -64,7 +64,8 @@ public:
|
|||
#pragma pack(pop)
|
||||
|
||||
private:
|
||||
bool ReadNANDBin(const std::string& path_to_bin, std::function<std::string()> get_otp_dump_path);
|
||||
bool ReadNANDBin(const std::string& path_to_bin,
|
||||
const std::function<std::string()>& get_otp_dump_path);
|
||||
bool FindSuperblock();
|
||||
std::string GetPath(const NANDFSTEntry& entry, const std::string& parent_path);
|
||||
std::string FormatDebugString(const NANDFSTEntry& entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue