epicmaori / imame4all

Automatically exported from code.google.com/p/imame4all
0 stars 0 forks source link

Shadow Dancer crash at stage 2-4 (patch included) #220

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Index: segaic16.c
===================================================================
--- segaic16.c  (revision 139)
+++ segaic16.c  (working copy)
@@ -336,6 +336,11 @@
        else if (writebank != NULL)
            memory_install_write_bank(cpu_get_address_space(chip->cpu, ADDRESS_SPACE_PROGRAM), region_start, region_end, 0, region_mirror, writebank);

+       //Fix shdancer stage 2-4 crash, based on latest MAME code fix
+       if (rgn->romoffset != ~0) {
+           memory_unmap_write(cpu_get_address_space(chip->cpu, ADDRESS_SPACE_PROGRAM), 
region_start, region_end, 0, region_mirror);
+       }
+
        /* set the bank pointer */
        if (readbank != NULL)
        {

Original issue reported on code.google.com by mot...@gmail.com on 31 Jan 2013 at 6:26

GoogleCodeExporter commented 8 years ago
I'm so sorry about this multipost.
Yesterday googlecode was very slow and all posting attempts finish with error.

Original comment by mot...@gmail.com on 31 Jan 2013 at 6:31

GoogleCodeExporter commented 8 years ago
Don't worry.  ;)

I'm on the road. Is this 0.37 or 0.139 patch?

Original comment by seleuco....@gmail.com on 31 Jan 2013 at 7:36

GoogleCodeExporter commented 8 years ago
0.139, the full path is imame4all-read-only/Reloaded/trunk/src/mame/machine

Original comment by mot...@gmail.com on 31 Jan 2013 at 11:36

GoogleCodeExporter commented 8 years ago
Thanks for the tip. I will add the patch. 

Original comment by seleuco....@gmail.com on 1 Feb 2013 at 7:46

GoogleCodeExporter commented 8 years ago
i'm currenly fixing anonymous timers. it will be on next version. 

Original comment by seleuco....@gmail.com on 11 Mar 2013 at 6:15