h6280 indent fix / taitob comment/unused func clean

This commit is contained in:
dinkc64 2022-01-13 21:05:31 -05:00
parent bf835a39f1
commit 9f9221d47a
2 changed files with 3 additions and 14 deletions

View File

@ -3,7 +3,6 @@
// to do:
// fix rambo alt sets inputs
// master of weapon title screen is incorrect (only w/ffwd)
#include "tiles_generic.h"
#include "m68000_intf.h"
@ -1640,21 +1639,11 @@ static UINT16 Rambo3LGScaleX(UINT16 x)
return scalerange(x, 0x0c, 0xf2, 0x7b80, 0x8480);
}
static UINT16 Rambo3LGScaleX2(UINT16 x)
{
return scalerange(x, 0, 0xff, 0x0010, 0x0130);
}
static UINT16 Rambo3LGScaleY(UINT16 y)
{
return scalerange(y, 0x3a, 0xef, 0x0100, 0x0640);
}
static UINT16 Rambo3LGScaleY2(UINT16 y)
{
return scalerange(y, 0, 0xff, 0x0038, 0x00d7);
}
static void DrvMakeInputs()
{
memset (TC0220IOCInput, 0xff, sizeof(TC0220IOCInput));

View File

@ -247,9 +247,9 @@ int h6280Run(int cycles)
/* Execute instructions */
do
{
if ((h6280.ppc.w.l ^ h6280.pc.w.l) & 0xe000)
CHANGE_PC;
{
if ((h6280.ppc.w.l ^ h6280.pc.w.l) & 0xe000)
CHANGE_PC;
h6280.ppc = h6280.pc;
// debugger_instruction_hook(Machine, PCW);