Revert "Better wrapper system, and fixed warnings"

This reverts commit a00b1855cb.

Conflicts:

	Core/HLE/FunctionWrappers.h
	Core/HLE/sceCtrl.cpp
	Core/HLE/sceKernelModule.cpp
This commit is contained in:
Henrik Rydgard committed 2012-11-05 10:05:09 +01:00
1 parent 6bed1afb72
commit b214a1a1da
34 files changed
+680 -699

No files matched your search

+3
View File
@@ -166,6 +166,7 @@ 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))
@@ -300,6 +301,7 @@ 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))
{
@@ -351,6 +353,7 @@ 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;