aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/elf-loader.cpp8
-rw-r--r--backends/plugins/psp/psp-provider.h3
2 files changed, 1 insertions, 10 deletions
diff --git a/backends/plugins/elf-loader.cpp b/backends/plugins/elf-loader.cpp
index 9787c880ae..2cf61aa246 100644
--- a/backends/plugins/elf-loader.cpp
+++ b/backends/plugins/elf-loader.cpp
@@ -324,10 +324,6 @@ bool DLObject::open(const char *path) {
Common::SeekableReadStream* DLFile;
void *ctors_start, *ctors_end;
-#ifdef __PSP__
- PowerMan.beginCriticalSection();
-#endif
-
DBG("open(\"%s\")\n", path);
Common::FSNode file(path);
@@ -347,10 +343,6 @@ bool DLObject::open(const char *path) {
DBG("loaded!/n");
-#ifdef __PSP__
- PowerMan.endCriticalSection();
-#endif
-
flushDataCache();
ctors_start = symbol("___plugin_ctors");
diff --git a/backends/plugins/psp/psp-provider.h b/backends/plugins/psp/psp-provider.h
index efe62ecf2c..b7934179bf 100644
--- a/backends/plugins/psp/psp-provider.h
+++ b/backends/plugins/psp/psp-provider.h
@@ -40,10 +40,9 @@ class PSPPluginProvider : public ELFPluginProvider {
};
public:
- Plugin* PSPPluginProvider::createPlugin(const Common::FSNode &node) const {
+ Plugin* createPlugin(const Common::FSNode &node) const {
return new PSPPlugin(node.getPath());
}
-}
};
#endif /* BACKENDS_PLUGINS_PSP_PSP_PROVIDER_H */