public enum CPUClock extends Enum<CPUClock>
Enum Constant and Description |
---|
NTSC
NTSC region clock frequency and screen refresh
|
PAL
PAL region clock frequency and screen refresh
|
Modifier and Type | Method and Description |
---|---|
static CPUClock |
getCPUClock(IEmulationSection emulation,
SidTune tune)
Detect CPU clock of a specific tune in the following order:
CPU clock forced by user configuration
CPU clock provided by tune information (auto detected) and if
unknown, then
default CPU clock
|
double |
getCpuFrequency() |
double |
getScreenRefresh() |
static CPUClock |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPUClock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPUClock PAL
public static final CPUClock NTSC
public static CPUClock[] values()
for (CPUClock c : CPUClock.values()) System.out.println(c);
public static CPUClock valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic double getCpuFrequency()
public double getScreenRefresh()
public static CPUClock getCPUClock(IEmulationSection emulation, SidTune tune)
Copyright © 2018 Ken Händel. All rights reserved.