[GX] fix menu pitch

This commit is contained in:
Toad King 2015-02-28 22:18:23 -06:00
parent 7ca67d3873
commit 14fe8623bb
2 changed files with 4 additions and 4 deletions

View File

@ -106,9 +106,9 @@ ifeq ($(USBGECKO), 1)
endif
APP_BOOTER_DIR = wii/app_booter
PLATOBJS := $(APP_BOOTER_DIR)/app_booter.binobj
PLATCFLAGS := -DGEKKO
CFLAGS += -DGEKKO
ifeq ($(USBGECKO), 1)
PLATCFLAGS += -DUSBGECKO
CFLAGS += -DUSBGECKO
endif
HAVE_FILTERS_BUILTIN := 1

View File

@ -1082,10 +1082,10 @@ static bool gx_frame(void *data, const void *frame,
convert_texture16(gx->menu_data, menu_tex.data,
menu->frame_buf.width,
menu->frame_buf.height,
menu->frame_buf.width * 2);
menu->frame_buf.pitch);
DCFlushRange(menu_tex.data,
menu->frame_buf.width *
menu->frame_buf.height * 2);
menu->frame_buf.pitch);
}
}