summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/emu/deprecat.h15
-rw-r--r--src/emu/drawgfx.c4
-rw-r--r--src/mame/drivers/srmp5.c3
3 files changed, 3 insertions, 19 deletions
diff --git a/src/emu/deprecat.h b/src/emu/deprecat.h
index aae7624b722..0fdf979d971 100644
--- a/src/emu/deprecat.h
+++ b/src/emu/deprecat.h
@@ -50,19 +50,4 @@
-/*************************************
- *
- * Graphics decoding. Drivers should
- * use the new gfx_element_mark_dirty()
- * to explicitly mark tiles dirty, and
- * gfx_element_get_data() to fetch a
- * pointer to the data (and undirty
- * the tile)
- *
- *************************************/
-
-void decodechar(const gfx_element *gfx, UINT32 code, const UINT8 *src);
-
-
-
#endif /* __DEPRECAT_H__ */
diff --git a/src/emu/drawgfx.c b/src/emu/drawgfx.c
index 9ab2b01c4d5..3b9503cc2ff 100644
--- a/src/emu/drawgfx.c
+++ b/src/emu/drawgfx.c
@@ -26,7 +26,7 @@ UINT8 no_priority_size_is_wrong[2 * (sizeof(NO_PRIORITY) == 3) - 1];
FUNCTION PROTOTYPES
***************************************************************************/
-void decodechar(const gfx_element *gfx, UINT32 code, const UINT8 *src);
+static void decodechar(const gfx_element *gfx, UINT32 code, const UINT8 *src);
@@ -429,7 +429,7 @@ static void calc_penusage(const gfx_element *gfx, UINT32 code)
on a specified layout
-------------------------------------------------*/
-void decodechar(const gfx_element *gfx, UINT32 code, const UINT8 *src)
+static void decodechar(const gfx_element *gfx, UINT32 code, const UINT8 *src)
{
const gfx_layout *gl = &gfx->layout;
int israw = (gl->planeoffset[0] == GFX_RAW);
diff --git a/src/mame/drivers/srmp5.c b/src/mame/drivers/srmp5.c
index 1bec9f19546..4122d0588d6 100644
--- a/src/mame/drivers/srmp5.c
+++ b/src/mame/drivers/srmp5.c
@@ -35,7 +35,6 @@ This is not a bug (real machine behaves the same).
#include "emu.h"
-#include "deprecat.h"
#include "cpu/z80/z80.h"
#include "cpu/mips/r3000.h"
#include "sound/st0016.h"
@@ -194,7 +193,7 @@ static VIDEO_UPDATE( srmp5 )
{
if (state->tileduty[i] == 1)
{
- decodechar(screen->machine->gfx[0], i, (UINT8 *)state->tileram);
+ gfx_element_decode(screen->machine->gfx[0], i);
state->tileduty[i] = 0;
}
}