mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
DiscIO: Pass parameters by constant reference
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user