another osx fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1206 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
759441082a
commit
fc97253e0c
|
@ -319,7 +319,7 @@ bool CGameListCtrl::MSWDrawSubItem(wxPaintDC& rPaintDC, int item, int subitem)
|
|||
|
||||
wxColour blend50(const wxColour& c1, const wxColour& c2)
|
||||
{
|
||||
return(((c1.GetPixel() & 0xFEFEFE) >> 1) + ((c2.GetPixel() & 0xFEFEFE) >> 1) + 0x010101);
|
||||
return((((int)c1.GetPixel() & 0xFEFEFE) >> 1) + (((int)c2.GetPixel() & 0xFEFEFE) >> 1) + 0x010101);
|
||||
}
|
||||
|
||||
void CGameListCtrl::SetBackgroundColor()
|
||||
|
@ -649,7 +649,7 @@ void CGameListCtrl::CompressSelection(bool _compress)
|
|||
|
||||
m_currentItem = 0;
|
||||
m_numberItem = GetSelectedItemCount();
|
||||
for (int i=0; i<m_numberItem; i++)
|
||||
for (u32 i=0; i<m_numberItem; i++)
|
||||
{
|
||||
const GameListItem *iso = GetSelectedISO();
|
||||
|
||||
|
|
Loading…
Reference in New Issue