diff --git a/src/engine/fox_std_lib.c b/src/engine/fox_std_lib.c index dac86d0d..8270dc08 100644 --- a/src/engine/fox_std_lib.c +++ b/src/engine/fox_std_lib.c @@ -26,6 +26,7 @@ s32 Graphics_Printf(const char* fmt, ...) { } void Lib_Texture_Scroll(u16* texture, s32 width, s32 height, u8 mode) { + // LTodo: [HD-Textures] This is broken u16* pixel = SEGMENTED_TO_VIRTUAL(texture); u16 tempPxl; s32 u; @@ -98,7 +99,7 @@ void Lib_Texture_Mottle(u16* dst, u16* src, u8 mode) { break; case 3: - for (v = 0; v < 22 * 64; v += 64) { // should be 32 * 64? + for (v = 0; v < 32 * 64; v += 64) { // should be 32 * 64? offset = __sinf((s32) (((v / 64) + (gGameFrameCount / 4)) % 32U) * (2 * M_PI / 8)); for (u = 0; u < 64; u++) { dst[v + (offset + u) % 64U] = src[v + u];