/** * Set SID emulation. * * @param s the emulation * @param address the address where to put the chip */ public void addSID(c64sid s, int address) { sids.Add(s); mapper[mapperIndex(address)] = s; }
/** * Set SID emulation. * * @param s the emulation, nullptr to remove current sid */ public void setSID(c64sid s) { sid = (s != null) ? s : NullSid.getInstance(); }
private static void resetSID(c64sid e) { e.reset(0xf); }
public SidBank() { sid = NullSid.getInstance(); }