aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/gfx')
-rw-r--r--engines/sword25/gfx/image/b25sloader.h2
-rw-r--r--engines/sword25/gfx/image/pngloader.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/engines/sword25/gfx/image/b25sloader.h b/engines/sword25/gfx/image/b25sloader.h
index 8ca8da0f97..fbfaf87194 100644
--- a/engines/sword25/gfx/image/b25sloader.h
+++ b/engines/sword25/gfx/image/b25sloader.h
@@ -51,9 +51,7 @@ namespace Sword25 {
class B25SLoader : public ImageLoader {
public:
static ImageLoader *CreateInstance() {
-#include "sword25/kernel/memlog_off.h"
return static_cast<ImageLoader *>(new B25SLoader());
-#include "sword25/kernel/memlog_on.h"
}
protected:
diff --git a/engines/sword25/gfx/image/pngloader.h b/engines/sword25/gfx/image/pngloader.h
index 0368c9cdb4..44c31b267c 100644
--- a/engines/sword25/gfx/image/pngloader.h
+++ b/engines/sword25/gfx/image/pngloader.h
@@ -53,9 +53,7 @@ namespace Sword25 {
class PNGLoader : public ImageLoader {
public:
static ImageLoader *CreateInstance() {
-#include "sword25/kernel/memlog_off.h"
return (ImageLoader *) new PNGLoader();
-#include "sword25/kernel/memlog_on.h"
}
// Alle virtuellen Methoden von BS_ImageLoader sind hier als static-Methode implementiert, damit sie von BS_B25SLoader aufgerufen werden können.