public WebSaveRAM(URL url, boolean save, Cartridge cart, Dmgcpu cpu, String username) {
		this.url = url;
		this.save = save;
		this.cart = cart;
		this.cpu = cpu;
		this.username = username;

		if (!cart.canSave()) {

			ModalDialog d = new ModalDialog(null, "Sorry", "This game does not", "have a save facility.");

		} else {

			if (save) {
				ModalDialog d = new ModalDialog(null, "Confirm", "Are you sure you want to save?", this);
			} else {
				ModalDialog d = new ModalDialog(null, "Confirm", "Are you sure you want to load?", this);
			}
		}
	}