iR3000A: Cleanup variable scope.

Codacy.
This commit is contained in:
lightningterror 2022-06-25 01:18:12 +02:00
parent f19ba1b0db
commit ba07e46cf8
1 changed files with 3 additions and 2 deletions

View File

@ -1288,13 +1288,14 @@ static void PreBlockCheck(u32 blockpc)
extern void iDumpPsxRegisters(u32 startpc, u32 temp);
static u32 lastrec = 0;
static int curcount = 0;
const int skip = 0;
//*(int*)PSXM(0x27990) = 1; // enables cdvd bios output for scph10000
if ((psxdump & 2) && lastrec != blockpc)
{
static int curcount = 0;
constexpr int skip = 0;
curcount++;
if (curcount > skip)