JUTDirectPrint match

found by SwareJonge
This commit is contained in:
Jasper St. Pierre
2023-12-21 13:07:11 -08:00
parent 0c153c9b57
commit a9a6c57fa5
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -822,7 +822,7 @@ config.libs = [
Object(Matching, "JSystem/JUtility/JUTDbPrint.cpp"),
Object(Matching, "JSystem/JUtility/JUTGamePad.cpp"),
Object(NonMatching, "JSystem/JUtility/JUTException.cpp"),
Object(NonMatching, "JSystem/JUtility/JUTDirectPrint.cpp"),
Object(Matching, "JSystem/JUtility/JUTDirectPrint.cpp"),
Object(Matching, "JSystem/JUtility/JUTAssert.cpp"),
Object(Matching, "JSystem/JUtility/JUTVideo.cpp"),
Object(Matching, "JSystem/JUtility/JUTXfb.cpp"),
+2 -1
View File
@@ -107,7 +107,8 @@ void JUTDirectPrint::drawChar(int position_x, int position_y, int ch) {
for (int y2 = 0; y2 < scale_y; y2++) {
int tmp = mStride * y2;
for (int x2 = 0; x2 < scale_x; x2++) {
pixel[x2 + tmp] = value;
u16* row = &pixel[tmp];
row[x2] = value;
}
}
+1
View File
@@ -10,6 +10,7 @@
#include "MSL_C/math.h"
#include "MSL_C/stdio.h"
#include "MSL_C/stdlib.h"
#include "MSL_C/new.h"
#include "dolphin/base/PPCArch.h"
#include "dolphin/gx/GX.h"
#include "dolphin/os/OS.h"