aboutsummaryrefslogtreecommitdiff
path: root/common/winexe_pe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/winexe_pe.cpp')
-rw-r--r--common/winexe_pe.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/common/winexe_pe.cpp b/common/winexe_pe.cpp
index a79b0c4d50..5e962dd139 100644
--- a/common/winexe_pe.cpp
+++ b/common/winexe_pe.cpp
@@ -23,7 +23,6 @@
#include "common/array.h"
#include "common/debug.h"
#include "common/endian.h"
-#include "common/file.h"
#include "common/str.h"
#include "common/stream.h"
#include "common/winexe_pe.h"
@@ -44,20 +43,6 @@ void PEResources::clear() {
delete _exe; _exe = nullptr;
}
-bool PEResources::loadFromEXE(const String &fileName) {
- if (fileName.empty())
- return false;
-
- File *file = new File();
-
- if (!file->open(fileName)) {
- delete file;
- return false;
- }
-
- return loadFromEXE(file);
-}
-
bool PEResources::loadFromEXE(SeekableReadStream *stream) {
clear();