Exemplo n.º 1
0
		public string GetSchedule()
		{
			string ret = "";
			if( outputRom != null )
			{
				SNES_ScheduleHelper sh2 = new SNES_ScheduleHelper(outputRom);
				ret = sh2.GetSchedule();
				ArrayList errors = sh2.GetErrorMessages();
				if( errors != null && errors.Count > 0 )
				{
					MainClass.ShowErrors( errors );
				}
			}
			return ret;
		}
Exemplo n.º 2
0
		/// <summary>
		/// Returns an ArrayList of errors that were encountered during the operation.
		/// </summary>
		/// <param name="scheduleList"></param>
		/// <returns></returns>
		public virtual ArrayList ApplySchedule( ArrayList scheduleList )
		{
			if( scheduleList != null && outputRom != null )
			{
				SNES_ScheduleHelper sch = new SNES_ScheduleHelper( outputRom );
				sch.ApplySchedule( scheduleList );
				ArrayList errors = sch.GetErrorMessages();
				return errors;
			}
			return null;
		}