blob: 94d0ab8ee6b8ebbcf57fffc49d3784973c0504bf (
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
25
26
27
28
29
|
$NetBSD: patch-ag,v 1.1 2004/04/17 00:58:42 kristerw Exp $
--- source/games/pengo.c.orig Sat Apr 17 02:33:38 2004
+++ source/games/pengo.c Sat Apr 17 02:35:06 2004
@@ -451,11 +451,11 @@
}
static void load_pengo() {
- RAMSize = 0x1031+0x8000;
UINT8 *color_prom = load_region[REGION_PROMS];
UINT8 *decode1,*decode2,palette[32*2];
UINT32 dest_size;
int i;
+ RAMSize = 0x1031+0x8000;
if(!(RAM=AllocateMem(RAMSize))) return;
@@ -1182,10 +1182,10 @@
{
// quite different from pengo for the init : no encoding, different memory map,
// different palette...
- RAMSize = 0x1031;
UINT8 *color_prom = load_region[REGION_PROMS];
UINT8 palette[32*2];
int i;
+ RAMSize = 0x1031;
if (!strcmp(current_game->main_name,"pacplus")) {
for (i = 0; i < 0x4000; i++)
|