aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
authorYotam Barnoy2010-06-21 11:51:19 +0000
committerYotam Barnoy2010-06-21 11:51:19 +0000
commit3c857be0c5cf397d364f9a6e23a095cfef0cda04 (patch)
tree050ab30de555dea2062ffc79ca1fd2f81d911823 /backends/plugins
parentcfcf53bec0f566d8fc20c5ba75ccdc00ba62ee86 (diff)
downloadscummvm-rg350-3c857be0c5cf397d364f9a6e23a095cfef0cda04.tar.gz
scummvm-rg350-3c857be0c5cf397d364f9a6e23a095cfef0cda04.tar.bz2
scummvm-rg350-3c857be0c5cf397d364f9a6e23a095cfef0cda04.zip
PSP: switched loader to use PSP's debug mechanism
svn-id: r50111
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/psp/psp-provider.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/plugins/psp/psp-provider.cpp b/backends/plugins/psp/psp-provider.cpp
index f394916538..5760424cbf 100644
--- a/backends/plugins/psp/psp-provider.cpp
+++ b/backends/plugins/psp/psp-provider.cpp
@@ -31,6 +31,8 @@
#include "backends/platform/psp/psploader.h"
+#include "backends/platform/psp/trace.h"
+
class PSPPlugin : public DynamicPlugin {
protected:
@@ -95,13 +97,13 @@ Plugin* PSPPluginProvider::createPlugin(const Common::FSNode &node) const {
bool PSPPluginProvider::isPluginFilename(const Common::FSNode &node) const {
// Check the plugin suffix
Common::String filename = node.getName();
- fprintf(stderr, "Testing name %s", filename.c_str());
+ PSP_DEBUG_PRINT("Testing name %s", filename.c_str());
if (!filename.hasSuffix(".PLG") && !filename.hasSuffix(".plg")) {
- fprintf(stderr," fail.\n");
+ PSP_DEBUG_PRINT(" fail.\n");
return false;
}
- fprintf(stderr," success!\n");
+ PSP_DEBUG_PRINT(" success!\n");
return true;
}