mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params
This commit is contained in:
1 parent
5a0d54be83
commit
af41281761
43 files changed
+83
-83
No files matched your search
@@ -30,7 +30,7 @@
|
||||
|
||||
const int sectorSize = 2048;
|
||||
|
||||
bool parseLBN(std::string filename, u32 *sectorStart, u32 *readSize) {
|
||||
bool parseLBN(const std::string &filename, u32 *sectorStart, u32 *readSize) {
|
||||
// The format of this is: "/sce_lbn" "0x"? HEX* ANY* "_size" "0x"? HEX* ANY*
|
||||
// That means that "/sce_lbn/_size1/" is perfectly valid.
|
||||
// Most commonly, it looks like /sce_lbn0x10_size0x100 or /sce_lbn10_size100 (always hex.)
|
||||
|
||||
Reference in new issue
Block a user