mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
hng64: Hacked 3d acknowledge in a slightly different manner. Sams64 games now show 3d. [Andrew Gardner]
NOTES NOT IN WHATSNEW: This makes all games in hng64.c display a good amount of 3d. The read handler I modified definitely seems to have something to do with the missing 3d in these games. It's only read if the frame being drawn is missing geometry. My new hack is a lucky guess, but hopefully we'll figure out what this function is really looking for sometime soon. Snaps here: http://www.mameworld.info/ajg/
This commit is contained in:
parent
7c1429be20
commit
ff1891ea23
@ -983,14 +983,12 @@ static READ32_HANDLER( tcram_r )
|
||||
return hng64_tcram[offset];
|
||||
}
|
||||
|
||||
/* Some games (namely sams64 after the title screen) tests bit 15 of this to be high, unknown purpose (vblank? related to the display list?). */
|
||||
/* Some games (namely sams64 after the title screen) tests bit 15 of this to be high,
|
||||
unknown purpose (vblank? related to the display list?). */
|
||||
static READ32_HANDLER( unk_vreg_r )
|
||||
{
|
||||
static UINT32 toggle;
|
||||
|
||||
toggle^=0x8000;
|
||||
|
||||
return toggle | (mame_rand(space->machine) & 2);
|
||||
return ++toggle;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user