mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
fa3a8cc13f
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
24 lines
868 B
Diff
24 lines
868 B
Diff
diff --git a/src/drivers/cavepgm.c b/src/drivers/cavepgm.c
|
|
index 38d3dae8..df6e97ab 100644
|
|
--- a/src/drivers/cavepgm.c
|
|
+++ b/src/drivers/cavepgm.c
|
|
@@ -287,7 +287,7 @@ Notes:
|
|
#include "timer.h"
|
|
|
|
|
|
-UINT16 *pgm_mainram, *pgm_bg_videoram, *pgm_tx_videoram, *pgm_videoregs, *pgm_rowscrollram;
|
|
+extern UINT16 *pgm_mainram, *pgm_bg_videoram, *pgm_tx_videoram, *pgm_videoregs, *pgm_rowscrollram;
|
|
static UINT8 *z80_mainram;
|
|
static UINT32 *arm7_shareram;
|
|
static UINT32 arm7_latch;
|
|
@@ -852,8 +852,8 @@ static void expand_32x32x5bpp(void)
|
|
/* This function expands the sprite colour data (in the A Roms) from 3 pixels
|
|
in each word to a byte per pixel making it easier to use */
|
|
|
|
-UINT8 *pgm_sprite_a_region;
|
|
-size_t pgm_sprite_a_region_allocate;
|
|
+extern UINT8 *pgm_sprite_a_region;
|
|
+extern size_t pgm_sprite_a_region_allocate;
|
|
|
|
static void expand_colourdata(void)
|
|
{
|