From c83a476ebe609a1df7154a3b44e29da2adc36862 Mon Sep 17 00:00:00 2001 From: xawotihs Date: Sat, 10 Oct 2015 18:23:59 +0200 Subject: [PATCH] Put SwizzlePlot in the WFont header. --- projects/mtg/include/WFont.h | 3 +++ projects/mtg/src/WFont.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/mtg/include/WFont.h b/projects/mtg/include/WFont.h index 84485b1ea..97ebe7deb 100644 --- a/projects/mtg/include/WFont.h +++ b/projects/mtg/include/WFont.h @@ -201,4 +201,7 @@ public: void FormatText(string &s, vector& output); }; +#if defined (PSP) +void SwizzlePlot(u8* out, PIXEL_TYPE color, int i, int j, unsigned int width); +#endif #endif diff --git a/projects/mtg/src/WFont.cpp b/projects/mtg/src/WFont.cpp index 12ea2cd24..419f0d5c5 100644 --- a/projects/mtg/src/WFont.cpp +++ b/projects/mtg/src/WFont.cpp @@ -247,7 +247,7 @@ WFBFont::~WFBFont() } #if defined (PSP) -static void SwizzlePlot(u8* out, PIXEL_TYPE color, int i, int j, unsigned int width) +void SwizzlePlot(u8* out, PIXEL_TYPE color, int i, int j, unsigned int width) { unsigned int rowblocks = (width >> 4);