warning fixes + compile on linx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1378 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
afbed76fe7
commit
dc3f3eb190
|
@ -244,7 +244,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
// Check if this address has been modified
|
// Check if this address has been modified
|
||||||
int find = -1;
|
int find = -1;
|
||||||
for(int i = 0; i < BlrList.size(); i++)
|
for(u32 i = 0; i < BlrList.size(); i++)
|
||||||
{
|
{
|
||||||
if(BlrList.at(i).Address == selection)
|
if(BlrList.at(i).Address == selection)
|
||||||
{ find = i; break; }
|
{ find = i; break; }
|
||||||
|
|
|
@ -35,10 +35,10 @@ CPatchAddEdit::~CPatchAddEdit()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPatchAddEdit::CreateGUIControls(int selection)
|
void CPatchAddEdit::CreateGUIControls(int _selection)
|
||||||
{
|
{
|
||||||
std::string currentName = onFrame.at(selection).name;
|
std::string currentName = onFrame.at(_selection).name;
|
||||||
std::vector<PatchEngine::PatchEntry> currentEntries = onFrame.at(selection).entries;
|
std::vector<PatchEngine::PatchEntry> currentEntries = onFrame.at(_selection).entries;
|
||||||
|
|
||||||
wxBoxSizer* sEditPatch = new wxBoxSizer(wxVERTICAL);
|
wxBoxSizer* sEditPatch = new wxBoxSizer(wxVERTICAL);
|
||||||
wxStaticText* EditPatchNameText = new wxStaticText(this, ID_EDITPATCH_NAME_TEXT, _("Name:"), wxDefaultPosition, wxDefaultSize);
|
wxStaticText* EditPatchNameText = new wxStaticText(this, ID_EDITPATCH_NAME_TEXT, _("Name:"), wxDefaultPosition, wxDefaultSize);
|
||||||
|
|
|
@ -21,6 +21,7 @@ if not env['osx64']:
|
||||||
'MemcardManager.cpp',
|
'MemcardManager.cpp',
|
||||||
'MemoryCards/GCMemcard.cpp',
|
'MemoryCards/GCMemcard.cpp',
|
||||||
'PluginManager.cpp',
|
'PluginManager.cpp',
|
||||||
|
'PatchAddEdit.cpp',
|
||||||
'CheatsWindow.cpp',
|
'CheatsWindow.cpp',
|
||||||
'stdafx.cpp',
|
'stdafx.cpp',
|
||||||
]
|
]
|
||||||
|
|
|
@ -374,7 +374,6 @@ void ConfigBox::SetControllerAll(int controller)
|
||||||
void ConfigBox::GetControllerAll(int controller)
|
void ConfigBox::GetControllerAll(int controller)
|
||||||
{
|
{
|
||||||
wxString tmp;
|
wxString tmp;
|
||||||
char value[64];
|
|
||||||
long lvalue;
|
long lvalue;
|
||||||
|
|
||||||
joysticks[controller].ID = m_Joyname[controller]->GetSelection();
|
joysticks[controller].ID = m_Joyname[controller]->GetSelection();
|
||||||
|
|
Loading…
Reference in New Issue