mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 22:11:35 -04:00
JUTDirectPrint match
found by SwareJonge
This commit is contained in:
+1
-1
@@ -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"),
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user