From 4b215498d7088df50b631f8644aeae829f07771d Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Thu, 12 May 2022 15:38:48 +0100 Subject: [PATCH] gint/image: rename from gint/bopti --- CMakeLists.txt | 2 +- include/gintctl/gint.h | 4 ++-- src/gint/{bopti.c => image.c} | 6 +++--- src/gintctl.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename src/gint/{bopti.c => image.c} (97%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4706fb8..0e54913 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/include/gintctl/gint.h b/include/gintctl/gint.h index fc6c56f..c87f3a5 100644 --- a/include/gintctl/gint.h +++ b/include/gintctl/gint.h @@ -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); diff --git a/src/gint/bopti.c b/src/gint/image.c similarity index 97% rename from src/gint/bopti.c rename to src/gint/image.c index 7f0c459..a9722da 100644 --- a/src/gint/bopti.c +++ b/src/gint/image.c @@ -6,8 +6,8 @@ #include #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; diff --git a/src/gintctl.c b/src/gintctl.c index 22dee6c..adfcf4e 100644 --- a/src/gintctl.c +++ b/src/gintctl.c @@ -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 },