Fix a crash when creating memory cards in Linux. Change the warnings when compiling GSdx in Linux to be a little less annoying.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4456 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2011-03-19 06:44:22 +00:00
parent 4f8bbb2c52
commit 13e2213f95
2 changed files with 9 additions and 8 deletions

View File

@ -183,13 +183,13 @@ void Dialogs::CreateMemoryCardDialog::CreateControls()
) )
); );
m_text_filenameInput = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER);
// Initial value of the checkbox is saved between calls to the dialog box. If the user checks // Initial value of the checkbox is saved between calls to the dialog box. If the user checks
// the option, it remains checked for future dialog. If the user unchecks it, ditto. // the option, it remains checked for future dialog. If the user unchecks it, ditto.
m_check_CompressNTFS->SetValue( g_Conf->McdCompressNTFS ); m_check_CompressNTFS->SetValue( g_Conf->McdCompressNTFS );
#endif #endif
m_text_filenameInput = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER);
const RadioPanelItem tbl_CardSizes[] = const RadioPanelItem tbl_CardSizes[] =
{ {
RadioPanelItem(_("8 MB [most compatible]"), _("This is the standard Sony-provisioned size, and is supported by all games and BIOS versions.")) RadioPanelItem(_("8 MB [most compatible]"), _("This is the standard Sony-provisioned size, and is supported by all games and BIOS versions."))

View File

@ -46,6 +46,7 @@
<Add option="-m32" /> <Add option="-m32" />
<Add option="-mpreferred-stack-boundary=2" /> <Add option="-mpreferred-stack-boundary=2" />
<Add option="-mfpmath=sse" /> <Add option="-mfpmath=sse" />
<Add option="-Wno-invalid-offsetof" />
<Add option="-D_LINUX" /> <Add option="-D_LINUX" />
</Compiler> </Compiler>
<Linker> <Linker>