mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
Use consistent variable names
This commit is contained in:
parent
1520d7865d
commit
198b0fa790
1 changed files with 4 additions and 4 deletions
|
@ -626,7 +626,7 @@ private:
|
||||||
header.segment_headers[TEXT_INDEX].memory_offset +
|
header.segment_headers[TEXT_INDEX].memory_offset +
|
||||||
header.segment_headers[TEXT_INDEX].memory_size;
|
header.segment_headers[TEXT_INDEX].memory_size;
|
||||||
|
|
||||||
const bool valid_rw_offset = header.segment_headers[DATA_INDEX].memory_offset ==
|
const bool valid_data_offset = header.segment_headers[DATA_INDEX].memory_offset ==
|
||||||
header.segment_headers[RO_INDEX].memory_offset +
|
header.segment_headers[RO_INDEX].memory_offset +
|
||||||
header.segment_headers[RO_INDEX].memory_size;
|
header.segment_headers[RO_INDEX].memory_size;
|
||||||
|
|
||||||
|
@ -639,12 +639,12 @@ private:
|
||||||
|
|
||||||
const bool ro_aligned = Common::Is4KBAligned(header.segment_headers[RO_INDEX].memory_size);
|
const bool ro_aligned = Common::Is4KBAligned(header.segment_headers[RO_INDEX].memory_size);
|
||||||
|
|
||||||
const bool rw_aligned =
|
const bool data_aligned =
|
||||||
Common::Is4KBAligned(header.segment_headers[DATA_INDEX].memory_size);
|
Common::Is4KBAligned(header.segment_headers[DATA_INDEX].memory_size);
|
||||||
|
|
||||||
return valid_magic && valid_nro_size && valid_bss_size && valid_ro_offset &&
|
return valid_magic && valid_nro_size && valid_bss_size && valid_ro_offset &&
|
||||||
valid_rw_offset && valid_nro_calculated_size && text_aligned && ro_aligned &&
|
valid_data_offset && valid_nro_calculated_size && text_aligned && ro_aligned &&
|
||||||
rw_aligned;
|
data_aligned;
|
||||||
}
|
}
|
||||||
Core::System& system;
|
Core::System& system;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue