PLUGINS: Move platform specific code out of the generic ELF loader.
Instead overwrite pure virtual functions in a backend specific class. svn-id: r52556
This commit is contained in:
parent
86f4dbd956
commit
c4a88559a5
16 changed files with 363 additions and 106 deletions
|
@ -321,10 +321,6 @@ bool MIPSDLObject::loadSegment(Common::SeekableReadStream* DLFile, Elf32_Phdr *p
|
|||
|
||||
// Unload all objects from memory
|
||||
void MIPSDLObject::unload() {
|
||||
discard_symtab();
|
||||
free(_segment);
|
||||
_segment = 0;
|
||||
|
||||
if (_shortsSegment) {
|
||||
ShortsMan.deleteSegment(_shortsSegment);
|
||||
_shortsSegment = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue