From 323d7f3571b8bdc4371c69c3276e66b0ec6accae Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 26 Nov 2023 00:11:30 +0200 Subject: [PATCH] drop some unused funcs removed in a plugin but not the core --- frontend/plugin.c | 2 -- libpcsxcore/plugins.c | 7 ------- libpcsxcore/plugins.h | 6 ------ 3 files changed, 15 deletions(-) diff --git a/frontend/plugin.c b/frontend/plugin.c index c3c104af..02354639 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -219,8 +219,6 @@ static const struct { DIRECT_GPU(GPUkeypressed), DIRECT_GPU(GPUmakeSnapshot), DIRECT_GPU(GPUconfigure), - DIRECT_GPU(GPUtest), - DIRECT_GPU(GPUabout), DIRECT_GPU(GPUgetScreenPic), DIRECT_GPU(GPUshowScreenPic), */ diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index bab152c6..9a399823 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -31,9 +31,6 @@ static s64 cdOpenCaseTime = 0; GPUupdateLace GPU_updateLace; GPUinit GPU_init; GPUshutdown GPU_shutdown; -GPUconfigure GPU_configure; -GPUtest GPU_test; -GPUabout GPU_about; GPUopen GPU_open; GPUclose GPU_close; GPUreadStatus GPU_readStatus; @@ -214,7 +211,6 @@ static int LoadGPUplugin(const char *GPUdll) { hGPUDriver = SysLoadLibrary(GPUdll); if (hGPUDriver == NULL) { - GPU_configure = NULL; SysMessage (_("Could not load GPU plugin %s!"), GPUdll); return -1; } drv = hGPUDriver; @@ -238,9 +234,6 @@ static int LoadGPUplugin(const char *GPUdll) { LoadGpuSym0(showScreenPic, "GPUshowScreenPic"); LoadGpuSym0(vBlank, "GPUvBlank"); LoadGpuSym0(getScreenInfo, "GPUgetScreenInfo"); - LoadGpuSym0(configure, "GPUconfigure"); - LoadGpuSym0(test, "GPUtest"); - LoadGpuSym0(about, "GPUabout"); return 0; } diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h index 5149d468..d080baed 100644 --- a/libpcsxcore/plugins.h +++ b/libpcsxcore/plugins.h @@ -60,9 +60,6 @@ typedef uint32_t (CALLBACK* GPUreadData)(void); typedef void (CALLBACK* GPUreadDataMem)(uint32_t *, int); typedef long (CALLBACK* GPUdmaChain)(uint32_t *,uint32_t, uint32_t *); typedef void (CALLBACK* GPUupdateLace)(void); -typedef long (CALLBACK* GPUconfigure)(void); -typedef long (CALLBACK* GPUtest)(void); -typedef void (CALLBACK* GPUabout)(void); typedef void (CALLBACK* GPUmakeSnapshot)(void); typedef void (CALLBACK* GPUkeypressed)(int); typedef void (CALLBACK* GPUdisplayText)(char *); @@ -82,9 +79,6 @@ typedef void (CALLBACK* GPUgetScreenInfo)(int *, int *); extern GPUupdateLace GPU_updateLace; extern GPUinit GPU_init; extern GPUshutdown GPU_shutdown; -extern GPUconfigure GPU_configure; -extern GPUtest GPU_test; -extern GPUabout GPU_about; extern GPUopen GPU_open; extern GPUclose GPU_close; extern GPUreadStatus GPU_readStatus; -- 2.39.5