mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Better wrapper system, and fixed warnings
This commit is contained in:
1 parent
a54dcbedc1
commit
a00b1855cb
34 files changed
+708
-683
No files matched your search
@@ -154,7 +154,6 @@ bool ElfReader::LoadInto(u32 vaddr)
|
||||
if (s->sh_type == SHT_PSPREL)
|
||||
{
|
||||
//We have a relocation table!
|
||||
int symbolSection = s->sh_link;
|
||||
int sectionToModify = s->sh_info;
|
||||
|
||||
if (!(sections[sectionToModify].sh_flags & SHF_ALLOC))
|
||||
@@ -289,7 +288,6 @@ bool ElfReader::LoadInto(u32 vaddr)
|
||||
else
|
||||
{
|
||||
//We have a relocation table!
|
||||
int symbolSection = s->sh_link;
|
||||
int sectionToModify = s->sh_info;
|
||||
if (!(sections[sectionToModify].sh_flags & SHF_ALLOC))
|
||||
{
|
||||
@@ -341,7 +339,6 @@ bool ElfReader::LoadSymbols()
|
||||
if (size == 0)
|
||||
continue;
|
||||
|
||||
int bind = symtab[sym].st_info >> 4;
|
||||
int type = symtab[sym].st_info & 0xF;
|
||||
int sectionIndex = symtab[sym].st_shndx;
|
||||
int value = symtab[sym].st_value;
|
||||
|
||||
Reference in new issue
Block a user