blob: ddf815a4b70f1800cc161b1b9a8738ba4e40e160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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)
{
|