this fixes a clipping issue with littlerb and megaphx, although I need to check if anything else is adversely affected by the change (nw)

This commit is contained in:
David Haywood 2014-03-29 17:49:47 +00:00
parent 7343c77537
commit d8f91e8f7f
2 changed files with 4 additions and 5 deletions

View File

@ -10,7 +10,7 @@
#ifndef RECURSIVE_INCLUDE
#define LOG_GFX_OPS 0
#define LOG_GFX_OPS 1
#define LOGGFX(x) do { if (LOG_GFX_OPS && tms->device->machine().input().code_pressed(KEYCODE_L)) logerror x; } while (0)
@ -109,9 +109,11 @@ static int apply_window(tms34010_state *tms, const char *inst_name,int srcbpp, U
/* clip Y */
diff = WSTART_Y(tms) - sy;
if (diff > 0)
{
{
#if 0 // littlerb and megaphx do not work correctly with this enabled, see items dropping into playfield from top
if (srcaddr)
*srcaddr += diff * SPTCH(tms);
#endif
sy += diff;
SET_V_LOG(tms, 1);
}

View File

@ -22,9 +22,6 @@
I/O:
- port_c_r / port_c_w should go through the 8255 but I don't see how to hook them up that way? various bits of the writes are lost?
Misc:
- some of the large phoenix graphics during stages 3/4 are corrupt for a frame when they re-enter at the top of the screen, possible original game bug?
--