MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

ShimaPong
MAME Fan
Reged: 03/12/05
Posts: 783
Send PM
Again
12/05/10 03:33 PM Attachment: locate_memory().png 40 KB (1 downloads)


Again

I re-trace memory.c and find different behavior between 0.139 and 0.140.
See screenshot. locate_memory() doesn't assign the bank for $4FFF0 - $4FFFF in 0.140 though 0.139 re-assign it to expected memory from ROM region.
"bank->base() == NULL" is FALSE because the base pointer in this bank is already filled at that point though it points to ROM region.

So rough fix is...

if (bank->base() == NULL && bank->references_space(*this, ROW_READWRITE))

to

if (bank->references_space(*this, ROW_READWRITE))


[ATTACHED IMAGE]

Attachment


"Any company has no power to stop people emulating"
MAME is the emulator of no giving in the pressure from any company even if they don't allow







Entire thread
Subject Posted by Posted on
* Testers ID:4027 (20pacgal hangs at boot) ShimaPong 12/03/10 06:56 PM
. * Again ShimaPong  12/05/10 03:33 PM
. * > ALL ShimaPong  12/05/10 07:41 AM
. * Re: Testers ID:4027 (20pacgal hangs at boot) redk9258  12/04/10 04:03 AM
. * Re: Testers ID:4027 (20pacgal hangs at boot) R. Belmont  12/04/10 05:15 PM
. * Re: Testers ID:4027 (20pacgal hangs at boot) ShimaPong  12/04/10 04:24 PM
. * Re: Testers ID:4027 (20pacgal hangs at boot) redk9258  12/04/10 09:02 PM
. * Re: Testers ID:4027 (20pacgal hangs at boot) ShimaPong  12/04/10 03:34 AM
. * Re: Testers ID:4027 (20pacgal hangs at boot) redk9258  12/04/10 03:52 AM
. * Re: Testers ID:4027 (20pacgal hangs at boot) Mamesick  12/04/10 09:02 AM
. * Re: Testers ID:4027 (20pacgal hangs at boot) ShimaPong  12/04/10 04:28 PM
. * Re: Testers ID:4027 (20pacgal hangs at boot) Mamesick  12/04/10 05:26 PM
. * Re: Testers ID:4027 (20pacgal hangs at boot) ShimaPong  12/05/10 07:38 AM
. * Re: Testers ID:4027 (20pacgal hangs at boot) CrapBoardSoftware  12/04/10 03:50 PM
. * Re: Testers ID:4027 (20pacgal hangs at boot) swm3rd  12/04/10 06:21 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 363 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2897