(PS2) Buildfix

This commit is contained in:
twinaphex 2020-03-10 01:07:29 +01:00
parent 1a854021a4
commit 083a0453c6
2 changed files with 5 additions and 5 deletions

View File

@ -102,7 +102,7 @@ static void init_ps2_video(ps2_video_t *ps2)
ps2->iface.coreTexture = ps2->coreTexture;
}
static void deinit_texture(GSTEXTURE *texture)
static void ps2_gfx_deinit_texture(GSTEXTURE *texture)
{
texture->Mem = NULL;
texture->Clut = NULL;
@ -386,8 +386,8 @@ static void ps2_gfx_free(void *data)
font_driver_free_osd();
deinit_texture(ps2->menuTexture);
deinit_texture(ps2->coreTexture);
ps2_gfx_deinit_texture(ps2->menuTexture);
ps2_gfx_deinit_texture(ps2->coreTexture);
free(ps2->menuTexture);
free(ps2->coreTexture);

View File

@ -45,7 +45,7 @@ static u32 gsKit_fontm_clut[16] = {
0x80CCCCCC, 0x80DDDDDD, 0x80EEEEEE, 0x80FFFFFF
};
static void deinit_texture(GSTEXTURE *texture)
static void deinit_gsfont_texture(GSTEXTURE *texture)
{
if (texture->Mem)
free(texture->Mem);
@ -58,7 +58,7 @@ static void deinit_texture(GSTEXTURE *texture)
static void deinit_gsfont(GSFONTM *gsFontM)
{
deinit_texture(gsFontM->Texture);
deinit_gsfont_texture(gsFontM->Texture);
free(gsFontM->TexBase);
gsFontM->TexBase = NULL;
free(gsFontM);