Bessere Fehlermeldung bei MAK-Verifizierungsfehler
This commit is contained in:
parent
f7a86d19f0
commit
205050f812
1 changed files with 2 additions and 2 deletions
|
@ -377,7 +377,7 @@ int process_ps_frame(unsigned char code, turing_state * turing, OFF_T_TYPE packe
|
||||||
}
|
}
|
||||||
// choose 8 as a good test that if 8 slices
|
// choose 8 as a good test that if 8 slices
|
||||||
// are seen, it's probably not random noise
|
// are seen, it's probably not random noise
|
||||||
if (slice_count>8)
|
if (slice_count>5)
|
||||||
{
|
{
|
||||||
// disable future verification
|
// disable future verification
|
||||||
o_no_verify = 1;
|
o_no_verify = 1;
|
||||||
|
@ -385,7 +385,7 @@ int process_ps_frame(unsigned char code, turing_state * turing, OFF_T_TYPE packe
|
||||||
}
|
}
|
||||||
if (!o_no_verify)
|
if (!o_no_verify)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Invalid MAK -- aborting\n");
|
fprintf(stderr, "Only %d slices detected. Probably the MAK is incorrect.\n", slice_count);
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue