mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Apply some Clang-Tidy fixes
This commit is contained in:
parent
c0fbf3091e
commit
93552a5958
34 changed files with 59 additions and 59 deletions
|
|
@ -72,7 +72,7 @@ fs::file tar_object::get_file(std::string path)
|
|||
m_map[header.name] = largest_offset;
|
||||
|
||||
int size = octalToDecimal(atoi(header.size));
|
||||
if (path.compare(header.name) == 0) { //path is equal, read file and advance offset to start of next block
|
||||
if (path == header.name) { //path is equal, read file and advance offset to start of next block
|
||||
std::vector<u8> buf(size);
|
||||
m_file.read(buf, size);
|
||||
int offset = ((m_file.pos() - initial_offset + 512 - 1) & ~(512 - 1)) + initial_offset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue