Пример #1
0
 public PutSettingsDirtyBits PutSettings(SameboySettings o)
 {
     LibSameboy.sameboy_setpalette(SameboyState, o.GBPalette, o.GetCustomPalette());
     LibSameboy.sameboy_setcolorcorrection(SameboyState, o.ColorCorrection);
     LibSameboy.sameboy_setlighttemperature(SameboyState, o.LightTemperature);
     LibSameboy.sameboy_sethighpassfilter(SameboyState, o.HighPassFilter);
     LibSameboy.sameboy_setinterferencevolume(SameboyState, o.InterferenceVolume);
     LibSameboy.sameboy_setbgwinenabled(SameboyState, o.EnableBGWIN);
     LibSameboy.sameboy_setobjenabled(SameboyState, o.EnableOBJ);
     _disassembler.UseRGBDSSyntax = o.UseRGBDSSyntax;
     _settings = o;
     return(PutSettingsDirtyBits.None);
 }