fix performance issue for scrolling custom HD textures

This commit is contained in:
Sonic Dreamcaster
2025-05-19 03:20:23 -03:00
parent d35f0ee264
commit 1e65843326
+2
View File
@@ -42,6 +42,8 @@ void Lib_Texture_Scroll(u16* texture, s32 width, s32 height, u8 mode) {
width = newWidth;
height = newHeight;
scale = 1; // TODO: a higher scale causes performance issues for large textures ?
for(s32 i = 0; i < (s32) scale; i++){
switch (mode) {
case 0: