Video: Added Sony CXA2025AS palette preset + updated unsaturated palette to v6
This commit is contained in:
parent
fac04049d0
commit
1c5a44c20e
2 changed files with 39 additions and 8 deletions
16
GUI.NET/Forms/Config/frmVideoConfig.Designer.cs
generated
16
GUI.NET/Forms/Config/frmVideoConfig.Designer.cs
generated
|
@ -114,6 +114,7 @@
|
|||
this.mnuPaletteUnsaturated = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuPaletteYuv = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuPaletteNestopiaRgb = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuPaletteSonyCxa2025As = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tlpMain.SuspendLayout();
|
||||
this.flowLayoutPanel7.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picHdNesTooltip)).BeginInit();
|
||||
|
@ -1163,9 +1164,10 @@
|
|||
this.mnuPaletteNesClassic,
|
||||
this.mnuPaletteUnsaturated,
|
||||
this.mnuPaletteYuv,
|
||||
this.mnuPaletteNestopiaRgb});
|
||||
this.mnuPaletteNestopiaRgb,
|
||||
this.mnuPaletteSonyCxa2025As});
|
||||
this.contextPaletteList.Name = "contextPicturePresets";
|
||||
this.contextPaletteList.Size = new System.Drawing.Size(236, 142);
|
||||
this.contextPaletteList.Size = new System.Drawing.Size(236, 186);
|
||||
this.contextPaletteList.Opening += new System.ComponentModel.CancelEventHandler(this.contextPaletteList_Opening);
|
||||
//
|
||||
// mnuDefaultPalette
|
||||
|
@ -1198,7 +1200,7 @@
|
|||
//
|
||||
this.mnuPaletteUnsaturated.Name = "mnuPaletteUnsaturated";
|
||||
this.mnuPaletteUnsaturated.Size = new System.Drawing.Size(235, 22);
|
||||
this.mnuPaletteUnsaturated.Text = "Unsaturated v5 (by Firebrandx)";
|
||||
this.mnuPaletteUnsaturated.Text = "Unsaturated v6 (by Firebrandx)";
|
||||
this.mnuPaletteUnsaturated.Click += new System.EventHandler(this.mnuPaletteUnsaturated_Click);
|
||||
//
|
||||
// mnuPaletteYuv
|
||||
|
@ -1215,6 +1217,13 @@
|
|||
this.mnuPaletteNestopiaRgb.Text = "Nestopia (RGB)";
|
||||
this.mnuPaletteNestopiaRgb.Click += new System.EventHandler(this.mnuPaletteNestopiaRgb_Click);
|
||||
//
|
||||
// mnuPaletteSonyCxa2025As
|
||||
//
|
||||
this.mnuPaletteSonyCxa2025As.Name = "mnuPaletteSonyCxa2025As";
|
||||
this.mnuPaletteSonyCxa2025As.Size = new System.Drawing.Size(235, 22);
|
||||
this.mnuPaletteSonyCxa2025As.Text = "Sony CXA2025AS";
|
||||
this.mnuPaletteSonyCxa2025As.Click += new System.EventHandler(this.mnuPaletteSonyCxa2025As_Click);
|
||||
//
|
||||
// frmVideoConfig
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
@ -1369,5 +1378,6 @@
|
|||
private Controls.ctrlHorizontalTrackbar trkYFilterLength;
|
||||
private Controls.ctrlHorizontalTrackbar trkIFilterLength;
|
||||
private Controls.ctrlHorizontalTrackbar trkQFilterLength;
|
||||
private System.Windows.Forms.ToolStripMenuItem mnuPaletteSonyCxa2025As;
|
||||
}
|
||||
}
|
|
@ -316,17 +316,17 @@ namespace Mesen.GUI.Forms.Config
|
|||
_paletteData = (Int32[])((object)(new UInt32[] {
|
||||
0xFF6B6B6B, 0xFF001E87, 0xFF1F0B96, 0xFF3B0C87, 0xFF590D61,
|
||||
0xFF5E0528, 0xFF551100, 0xFF461B00, 0xFF303200, 0xFF0A4800,
|
||||
0xFF004E00, 0xFF004619, 0xFF00395A, 0xFF000000, 0xFF000000,
|
||||
0xFF004E00, 0xFF004619, 0xFF003A58, 0xFF000000, 0xFF000000,
|
||||
0xFF000000, 0xFFB2B2B2, 0xFF1A53D1, 0xFF4835EE, 0xFF7123EC,
|
||||
0xFF9A1EB7, 0xFFA51E62, 0xFFA52D19, 0xFF874B00, 0xFF676900,
|
||||
0xFF298400, 0xFF038B00, 0xFF008240, 0xFF007096, 0xFF000000,
|
||||
0xFF298400, 0xFF038B00, 0xFF008240, 0xFF007891, 0xFF000000,
|
||||
0xFF000000, 0xFF000000, 0xFFFFFFFF, 0xFF63ADFD, 0xFF908AFE,
|
||||
0xFFB977FC, 0xFFE771FE, 0xFFF76FC9, 0xFFF5836A, 0xFFDD9C29,
|
||||
0xFFBDB807, 0xFF84D107, 0xFF5BDC3B, 0xFF48D77D, 0xFF48C6D8,
|
||||
0xFFBDB807, 0xFF84D107, 0xFF5BDC3B, 0xFF48D77D, 0xFF48CCCE,
|
||||
0xFF555555, 0xFF000000, 0xFF000000, 0xFFFFFFFF, 0xFFC4E3FE,
|
||||
0xFFD7D5FE, 0xFFE6CDFE, 0xFFF9CAFE, 0xFFFEC9F0, 0xFFFED1C7,
|
||||
0xFFF7DCAC, 0xFFE8E89C, 0xFFD1F29D, 0xFFBFF4B1, 0xFFB7F5CD,
|
||||
0xFFB7EBF2, 0xFFBEBEBE, 0xFF000000, 0xFF000000
|
||||
0xFFB7F0EE, 0xFFBEBEBE, 0xFF000000, 0xFF000000
|
||||
}));
|
||||
|
||||
RefreshPalette();
|
||||
|
@ -419,9 +419,30 @@ namespace Mesen.GUI.Forms.Config
|
|||
RefreshPalette();
|
||||
}
|
||||
|
||||
private void mnuPaletteSonyCxa2025As_Click(object sender, EventArgs e)
|
||||
{
|
||||
_paletteData = (Int32[])((object)(new UInt32[] {
|
||||
0xFF585858, 0xFF00238C, 0xFF00139B, 0xFF2D0585, 0xFF5D0052,
|
||||
0xFF7A0017, 0xFF7A0800, 0xFF5F1800, 0xFF352A00, 0xFF093900,
|
||||
0xFF003F00, 0xFF003C22, 0xFF00325D, 0xFF000000, 0xFF000000,
|
||||
0xFF000000, 0xFFA1A1A1, 0xFF0053EE, 0xFF153CFE, 0xFF6028E4,
|
||||
0xFFA91D98, 0xFFD41E41, 0xFFD22C00, 0xFFAA4400, 0xFF6C5E00,
|
||||
0xFF2D7300, 0xFF007D06, 0xFF007852, 0xFF0069A9, 0xFF000000,
|
||||
0xFF000000, 0xFF000000, 0xFFFFFFFF, 0xFF1FA5FE, 0xFF5E89FE,
|
||||
0xFFB572FE, 0xFFFE65F6, 0xFFFE6790, 0xFFFE773C, 0xFFFE9308,
|
||||
0xFFC4B200, 0xFF79CA10, 0xFF3AD54A, 0xFF11D1A4, 0xFF06BFFE,
|
||||
0xFF424242, 0xFF000000, 0xFF000000, 0xFFFFFFFF, 0xFFA0D9FE,
|
||||
0xFFBDCCFE, 0xFFE1C2FE, 0xFFFEBCFB, 0xFFFEBDD0, 0xFFFEC5A9,
|
||||
0xFFFED18E, 0xFFE9DE86, 0xFFC7E992, 0xFFA8EEB0, 0xFF95ECD9,
|
||||
0xFF91E4FE, 0xFFACACAC, 0xFF000000, 0xFF000000
|
||||
}));
|
||||
|
||||
RefreshPalette();
|
||||
}
|
||||
|
||||
private void contextPaletteList_Opening(object sender, CancelEventArgs e)
|
||||
{
|
||||
for(int i = contextPaletteList.Items.Count - 1; i >= 7; i--) {
|
||||
for(int i = contextPaletteList.Items.Count - 1; i >= 8; i--) {
|
||||
contextPaletteList.Items.RemoveAt(i);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue