mirror of
https://github.com/holub/mame
synced 2025-05-10 16:21:42 +03:00
let's try this instead (nw)
This commit is contained in:
parent
e3429af71d
commit
f4246740b4
@ -106,11 +106,13 @@ static int apply_window(tms34010_state *tms, const char *inst_name,int srcbpp, U
|
||||
SET_V_LOG(tms, 1);
|
||||
}
|
||||
|
||||
|
||||
/* clip Y */
|
||||
diff = WSTART_Y(tms) - sy;
|
||||
if (diff > 0)
|
||||
{
|
||||
#if 1 // littlerb and megaphx do not work correctly with this enabled, see items dropping into playfield from top, battletoads however needs this logic, see screen after player select
|
||||
#if 1
|
||||
if (sy>=0) // littlerb and megaphx need this check for many items leaving / entering the top of the playfield with negative sy coordinates eg. jam jars, keys in littlerb, player shots, stage 2/3 birds in megaphx. battletoads requires the code to execute for positive sy co-ordinates eg. screen after player select
|
||||
if (srcaddr)
|
||||
*srcaddr += diff * SPTCH(tms);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user