summaryrefslogtreecommitdiff
path: root/emulators/raine/files/patch-source::games::pengo.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/raine/files/patch-source::games::pengo.c')
-rw-r--r--emulators/raine/files/patch-source::games::pengo.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/emulators/raine/files/patch-source::games::pengo.c b/emulators/raine/files/patch-source::games::pengo.c
new file mode 100644
index 000000000000..e3e254ac0aa6
--- /dev/null
+++ b/emulators/raine/files/patch-source::games::pengo.c
@@ -0,0 +1,27 @@
+--- source/games/pengo.c.orig Mon Jan 17 10:46:35 2005
++++ source/games/pengo.c Mon Jan 17 10:47:35 2005
+@@ -444,11 +444,11 @@
+ }
+
+ static void load_pengo() {
+- RAMSize = 0x1032+0x8000;
+ UINT8 *color_prom = load_region[REGION_PROMS];
+ UINT8 *decode1,*decode2,palette[32*2];
+ UINT32 dest_size;
+ int i;
++ RAMSize = 0x1032+0x8000;
+
+ if(!(RAM=AllocateMem(RAMSize))) return;
+
+@@ -1536,10 +1536,10 @@
+ {
+ // quite different from pengo for the init : no encoding, different memory map,
+ // different palette...
+- RAMSize = 0x103a;
+ UINT8 *color_prom = load_region[REGION_PROMS];
+ UINT8 palette[32*2];
+ int i;
++ RAMSize = 0x103a;
+
+ if (!strcmp(current_game->main_name,"pacplus")) {
+ for (i = 0; i < 0x4000; i++)