mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
ELF.h: fix warning
This commit is contained in:
parent
df24305698
commit
bd7715b180
@ -456,7 +456,6 @@ public:
|
|||||||
// Rely on previous sh_offset value!
|
// Rely on previous sh_offset value!
|
||||||
if (hdr.p_offset <= shdr.sh_offset && shdr.sh_offset + shdr.sh_size - 1 <= hdr.p_offset + hdr.p_filesz - 1)
|
if (hdr.p_offset <= shdr.sh_offset && shdr.sh_offset + shdr.sh_size - 1 <= hdr.p_offset + hdr.p_filesz - 1)
|
||||||
{
|
{
|
||||||
const auto& prog = ::at32(progs, p_index);
|
|
||||||
out.sh_offset = data_base + shdr.sh_offset - hdr.p_offset;
|
out.sh_offset = data_base + shdr.sh_offset - hdr.p_offset;
|
||||||
result = true;
|
result = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user