예제 #1
0
 /// <summary>
 /// Try and write a <see cref="HudColorsConfig"/> to the ROM.
 /// </summary>
 /// <param name="config">HUD colors config</param>
 /// <returns>True if successful, false if the <see cref="HudColorsConfig"/> symbol was not found.</returns>
 public bool TryWriteHudColorsConfig(HudColorsConfig config)
 {
     try
     {
         WriteHudColorsConfig(config);
         return(true);
     }
     catch (KeyNotFoundException)
     {
         return(false);
     }
 }
예제 #2
0
 /// <summary>
 /// Write a <see cref="HudColorsConfig"/> to the ROM.
 /// </summary>
 /// <param name="config">HUD colors config</param>
 public void WriteHudColorsConfig(HudColorsConfig config)
 {
     WriteAsmConfig("HUD_COLOR_CONFIG", config);
 }