gint/image: rename from gint/bopti

This commit is contained in:
Lephenixnoir 2022-05-12 15:38:48 +01:00
parent fa62ebf6a0
commit 4b215498d7
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
4 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,6 @@ set(SOURCES
src/menu.c
src/plot.c
src/util.c
src/gint/bopti.c
src/gint/cpumem.c
src/gint/dma.c
src/gint/drivers.c
@ -29,6 +28,7 @@ set(SOURCES
src/gint/gray.c
src/gint/keyboard.c
src/gint/kmalloc.c
src/gint/image.c
src/gint/ram.c
src/gint/rtc.c
src/gint/spuram.c

View File

@ -41,8 +41,8 @@ void gintctl_gint_dma(void);
/* gintctl_gint_rtc(): Configure RTC and check timer speed */
void gintctl_gint_rtc(void);
/* gintctl_gint_bopti(): Test image rendering */
void gintctl_gint_bopti(void);
/* gintctl_gint_image(): Test image rendering */
void gintctl_gint_image(void);
/* gintctl_gint_topti(): Test text rendering */
void gintctl_gint_topti(void);

View File

@ -6,8 +6,8 @@
#include <gintctl/util.h>
#ifdef FXCG50
/* gintctl_gint_bopti(): Test image rendering */
void gintctl_gint_bopti(void)
/* gintctl_gint_image(): Test image rendering */
void gintctl_gint_image(void)
{
extern bopti_image_t img_swords;
extern bopti_image_t img_potion_17x22, img_potion_18x22;
@ -75,7 +75,7 @@ static void img(int x, int y, bopti_image_t *img, int sub, int flags)
}
#define img(x, y, i) img(x, y, & img_bopti_##i, sub, flags)
void gintctl_gint_bopti(void)
void gintctl_gint_image(void)
{
extern bopti_image_t img_opt_gint_bopti;
extern bopti_image_t img_bopti_1col;

View File

@ -50,7 +50,7 @@ struct menu menu_gint = {
{ "DMA control", gintctl_gint_dma, MENU_SH4_ONLY },
{ "Real-time clock", gintctl_gint_rtc, 0 },
{ "USB communication", gintctl_gint_usb, MENU_SH4_ONLY },
{ "Image rendering", gintctl_gint_bopti, 0 },
{ "Image rendering", gintctl_gint_image, 0 },
{ "Text rendering", gintctl_gint_topti, 0 },
#ifdef FX9860G
{ "Gray engine", gintctl_gint_gray, 0 },