mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
fix a bug in the hng64 dma..
This commit is contained in:
parent
7fd66deda9
commit
4ef6f9103d
@ -641,7 +641,7 @@ static void hng64_do_dma (const address_space *space)
|
||||
{
|
||||
logerror("Performing DMA Start %08x Len %08x Dst %08x\n",hng_dma_start, hng_dma_len, hng_dma_dst);
|
||||
|
||||
while (hng_dma_len>0)
|
||||
while (hng_dma_len>=0)
|
||||
{
|
||||
UINT32 dat;
|
||||
|
||||
@ -677,23 +677,6 @@ static WRITE32_HANDLER( hng_dma_len_w )
|
||||
|
||||
}
|
||||
|
||||
#ifdef UNUSED_FUNCTION
|
||||
READ32_HANDLER( hng64_videoram_r )
|
||||
{
|
||||
return hng64_videoram[offset];
|
||||
}
|
||||
|
||||
WRITE32_HANDLER( hng64_mainram_w )
|
||||
{
|
||||
COMBINE_DATA (&hng_mainram[offset]);
|
||||
}
|
||||
|
||||
READ32_HANDLER( hng64_cart_r )
|
||||
{
|
||||
return hng_cart[offset];
|
||||
}
|
||||
#endif
|
||||
|
||||
static READ32_HANDLER( hng64_sram_r )
|
||||
{
|
||||
logerror("HNG64 reading from SRAM 0x%08x == 0x%08x. (PC=%08x)\n", offset*4, hng64_sram[offset], cpu_get_pc(space->cpu));
|
||||
@ -855,7 +838,7 @@ static WRITE32_HANDLER( tcram_w )
|
||||
if (offset == 0x0000000b)
|
||||
{
|
||||
sprintf(writeString, "%s %.8x ", writeString, hng64_tcram[offset]) ;
|
||||
// popmessage("%s", writeString) ;
|
||||
// _("%s", writeString) ;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user