mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Use rt for dRect size, update crc level label.
Use rt for dRect size for OI_SonicUnleashed fix. Make CRC level label name and position match between windows and linux.
This commit is contained in:
parent
11187cff9e
commit
51ba799779
|
@ -314,7 +314,7 @@ BEGIN
|
|||
COMBOBOX IDC_AFCOMBO,104,190,127,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||
LTEXT "Mipmapping (Ins):",IDC_MIPMAP_HW_TEXT,22,208,79,8
|
||||
COMBOBOX IDC_MIPMAP_HW,104,206,127,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||
LTEXT "CRC Hack Level:",IDC_CRC_LEVEL_TEXT,22,224,79,8
|
||||
LTEXT "Automatic CRC Level:",IDC_CRC_LEVEL_TEXT,22,224,79,8
|
||||
COMBOBOX IDC_CRC_LEVEL,104,222,127,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||
LTEXT "Accurate Date:",IDC_ACCURATE_DATE_TEXT,22,240,79,8
|
||||
COMBOBOX IDC_ACCURATE_DATE,104,238,127,118,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||
|
|
|
@ -1919,12 +1919,16 @@ bool GSRendererHW::OI_SonicUnleashed(GSTexture* rt, GSTexture* ds, GSTextureCach
|
|||
if ((Texture.TBP0 == Frame.TBP0) || (Frame.TBW != 16 && Texture.TBW != 16))
|
||||
return true;
|
||||
|
||||
GL_INS("OI_SonicUnleashed replace draw by a copy");
|
||||
|
||||
GSTextureCache::Target* src = m_tc->LookupTarget(Texture, m_width, m_height, GSTextureCache::RenderTarget, true);
|
||||
|
||||
GSVector2i size = rt->GetSize();
|
||||
|
||||
GSVector4 sRect(0, 0, 1, 1);
|
||||
GSVector4 dRect(0, 0, m_width, m_height);
|
||||
GSVector4 dRect(0, 0, size.x, size.y);
|
||||
|
||||
m_dev->StretchRect(src->m_texture, sRect, rt, dRect, true, true, true, false);
|
||||
GL_INS("OI_SonicUnleashed replace draw by a copy");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -280,12 +280,12 @@ void populate_hw_table(GtkWidget* hw_table)
|
|||
GtkWidget* af_label = left_label("Anisotropic Filtering:");
|
||||
GtkWidget* af_combo_box = CreateComboBoxFromVector(theApp.m_gs_max_anisotropy, "MaxAnisotropy");
|
||||
|
||||
GtkWidget* crc_label = left_label("Automatic CRC level:");
|
||||
GtkWidget* crc_combo_box = CreateComboBoxFromVector(theApp.m_gs_crc_level, "crc_hack_level");
|
||||
|
||||
GtkWidget* mipmap_label = left_label("Mipmapping (Insert):");
|
||||
GtkWidget* mipmap_combo_box = CreateComboBoxFromVector(theApp.m_gs_hw_mipmapping, "mipmap_hw");
|
||||
|
||||
GtkWidget* crc_label = left_label("Automatic CRC Level:");
|
||||
GtkWidget* crc_combo_box = CreateComboBoxFromVector(theApp.m_gs_crc_level, "crc_hack_level");
|
||||
|
||||
GtkWidget* acc_date_label = left_label("Accurate Date:");
|
||||
GtkWidget* acc_date_combo_box = CreateComboBoxFromVector(theApp.m_gs_acc_date_level, "accurate_date");
|
||||
|
||||
|
@ -308,8 +308,8 @@ void populate_hw_table(GtkWidget* hw_table)
|
|||
InsertWidgetInTable(hw_table , paltex_check , large_fb_check);
|
||||
InsertWidgetInTable(hw_table , fsaa_label , fsaa_combo_box);
|
||||
InsertWidgetInTable(hw_table , af_label , af_combo_box);
|
||||
InsertWidgetInTable(hw_table , crc_label , crc_combo_box);
|
||||
InsertWidgetInTable(hw_table , mipmap_label , mipmap_combo_box);
|
||||
InsertWidgetInTable(hw_table , crc_label , crc_combo_box);
|
||||
InsertWidgetInTable(hw_table , acc_date_label , acc_date_combo_box);
|
||||
InsertWidgetInTable(hw_table , acc_bld_label , acc_bld_combo_box);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue