Bring this over from AdvanceMAME...
This commit is contained in:
parent
cfe981f7ff
commit
7028e9aa3b
1 changed files with 1 additions and 1 deletions
|
|
@ -878,7 +878,7 @@ static int CalcVClock
|
||||||
for (P = 0; P <= P_MAX; P ++)
|
for (P = 0; P <= P_MAX; P ++)
|
||||||
{
|
{
|
||||||
Freq = VClk << P;
|
Freq = VClk << P;
|
||||||
if ((Freq >= 128000) && (Freq <= MAXVCLOCK))
|
if ((Freq >= 128000 || P == P_MAX) && (Freq <= MAXVCLOCK))
|
||||||
{
|
{
|
||||||
for (M = M_MIN; M <= M_MAX; M++)
|
for (M = M_MIN; M <= M_MAX; M++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue