diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt
index 964e8e6b85..f14cfac5fb 100644
--- a/pcsx2/CMakeLists.txt
+++ b/pcsx2/CMakeLists.txt
@@ -262,7 +262,6 @@ set(pcsx2GuiSources
gui/Dialogs/ConvertMemoryCardDialog.cpp
gui/Dialogs/CreateMemoryCardDialog.cpp
gui/Dialogs/FirstTimeWizard.cpp
- gui/Dialogs/GameDatabaseDialog.cpp
gui/Dialogs/ImportSettingsDialog.cpp
gui/Dialogs/LogOptionsDialog.cpp
gui/Dialogs/McdConfigDialog.cpp
@@ -290,7 +289,6 @@ set(pcsx2GuiSources
gui/Panels/BiosSelectorPanel.cpp
gui/Panels/CpuPanel.cpp
gui/Panels/DirPickerPanel.cpp
- gui/Panels/GameDatabasePanel.cpp
gui/Panels/GameFixesPanel.cpp
gui/Panels/GSWindowPanel.cpp
gui/Panels/LogOptionsPanels.cpp
diff --git a/pcsx2/gui/App.h b/pcsx2/gui/App.h
index 0104d2e6a1..482ff7a569 100644
--- a/pcsx2/gui/App.h
+++ b/pcsx2/gui/App.h
@@ -118,7 +118,6 @@ enum MenuIdentifiers
MenuId_Config_SysSettings,
MenuId_Config_McdSettings,
MenuId_Config_AppSettings,
- MenuId_Config_GameDatabase,
MenuId_Config_BIOS,
MenuId_Config_Language,
diff --git a/pcsx2/gui/Dialogs/ConfigurationDialog.h b/pcsx2/gui/Dialogs/ConfigurationDialog.h
index 80f0ba4d2b..f2c6a1fc59 100644
--- a/pcsx2/gui/Dialogs/ConfigurationDialog.h
+++ b/pcsx2/gui/Dialogs/ConfigurationDialog.h
@@ -150,21 +150,6 @@ namespace Dialogs
//void OnMultitapClicked( wxCommandEvent& evt );
};
- // --------------------------------------------------------------------------------------
- // GameDatabaseDialog
- // --------------------------------------------------------------------------------------
- class GameDatabaseDialog : public BaseConfigurationDialog
- {
- public:
- virtual ~GameDatabaseDialog() = default;
- GameDatabaseDialog(wxWindow* parent=NULL);
- static wxString GetNameStatic() { return L"GameDatabase"; }
- wxString GetDialogName() const { return GetNameStatic(); }
-
- protected:
- virtual wxString& GetConfSettingsTabName() const { return g_Conf->GameDatabaseTabName; }
- };
-
// --------------------------------------------------------------------------------------
// ComponentsConfigDialog
// --------------------------------------------------------------------------------------
diff --git a/pcsx2/gui/Dialogs/GameDatabaseDialog.cpp b/pcsx2/gui/Dialogs/GameDatabaseDialog.cpp
deleted file mode 100644
index ef4ee36fc4..0000000000
--- a/pcsx2/gui/Dialogs/GameDatabaseDialog.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-/* PCSX2 - PS2 Emulator for PCs
- * Copyright (C) 2002-2010 PCSX2 Dev Team
- *
- * PCSX2 is free software: you can redistribute it and/or modify it under the terms
- * of the GNU Lesser General Public License as published by the Free Software Found-
- * ation, either version 3 of the License, or (at your option) any later version.
- *
- * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with PCSX2.
- * If not, see .
- */
-
-#include "PrecompiledHeader.h"
-#include "ConfigurationDialog.h"
-#include "Panels/ConfigurationPanels.h"
-
-using namespace Panels;
-using namespace pxSizerFlags;
-
-Dialogs::GameDatabaseDialog::GameDatabaseDialog(wxWindow* parent)
- : BaseConfigurationDialog( parent, AddAppName(_("Game database - %s")), 580 )
-{
- ScopedBusyCursor busy( Cursor_ReallyBusy );
- *this += new GameDatabasePanel(this) | StdExpand();
- AddOkCancel();
-
- SetSizerAndFit(GetSizer());
-}
diff --git a/pcsx2/gui/MainFrame.cpp b/pcsx2/gui/MainFrame.cpp
index d819f20939..66fb797bff 100644
--- a/pcsx2/gui/MainFrame.cpp
+++ b/pcsx2/gui/MainFrame.cpp
@@ -217,7 +217,6 @@ void MainEmuFrame::ConnectMenus()
Bind(wxEVT_MENU, &MainEmuFrame::Menu_SysSettings_Click, this, MenuId_Config_SysSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_McdSettings_Click, this, MenuId_Config_McdSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_SelectPluginsBios_Click, this, MenuId_Config_BIOS);
- Bind(wxEVT_MENU, &MainEmuFrame::Menu_GameDatabase_Click, this, MenuId_Config_GameDatabase);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_GSSettings_Click, this, MenuId_Video_CoreSettings);
Bind(wxEVT_MENU, &MainEmuFrame::Menu_WindowSettings_Click, this, MenuId_Video_WindowSettings);
@@ -472,7 +471,6 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
m_menuConfig.Append(MenuId_Config_SysSettings, _("Emulation &Settings") );
m_menuConfig.Append(MenuId_Config_McdSettings, _("&Memory cards") );
m_menuConfig.Append(MenuId_Config_BIOS, _("&Plugin/BIOS Selector") );
- if (IsDebugBuild) m_menuConfig.Append(MenuId_Config_GameDatabase, _("&Game Database Editor") );
m_menuConfig.AppendSeparator();
diff --git a/pcsx2/gui/MainFrame.h b/pcsx2/gui/MainFrame.h
index 8aaaab1cf6..07abbb17ac 100644
--- a/pcsx2/gui/MainFrame.h
+++ b/pcsx2/gui/MainFrame.h
@@ -161,7 +161,6 @@ protected:
void Menu_SysSettings_Click(wxCommandEvent &event);
void Menu_McdSettings_Click(wxCommandEvent &event);
- void Menu_GameDatabase_Click(wxCommandEvent &event);
void Menu_WindowSettings_Click(wxCommandEvent &event);
void Menu_GSSettings_Click(wxCommandEvent &event);
void Menu_SelectPluginsBios_Click(wxCommandEvent &event);
diff --git a/pcsx2/gui/MainMenuClicks.cpp b/pcsx2/gui/MainMenuClicks.cpp
index 031af99170..9ccfb9a9e0 100644
--- a/pcsx2/gui/MainMenuClicks.cpp
+++ b/pcsx2/gui/MainMenuClicks.cpp
@@ -43,11 +43,6 @@ void MainEmuFrame::Menu_McdSettings_Click(wxCommandEvent &event)
AppOpenModalDialog(wxEmptyString, this);
}
-void MainEmuFrame::Menu_GameDatabase_Click(wxCommandEvent &event)
-{
- AppOpenDialog( this );
-}
-
void MainEmuFrame::Menu_WindowSettings_Click(wxCommandEvent &event)
{
wxCommandEvent evt( pxEvt_SetSettingsPage );
diff --git a/pcsx2/gui/Panels/ConfigurationPanels.h b/pcsx2/gui/Panels/ConfigurationPanels.h
index 96668c6296..dc3278f8dd 100644
--- a/pcsx2/gui/Panels/ConfigurationPanels.h
+++ b/pcsx2/gui/Panels/ConfigurationPanels.h
@@ -384,40 +384,6 @@ namespace Panels
void ApplyConfigToGui( AppConfig& configToApply, int flags=0 );
};
- // --------------------------------------------------------------------------------------
- // GameDatabasePanel
- // --------------------------------------------------------------------------------------
- class GameDatabasePanel : public BaseApplicableConfigPanel
- {
- protected:
- //wxTextCtrl* searchBox;
- //wxComboBox* searchType;
- //wxListBox* searchList;
- wxButton* searchBtn;
- wxTextCtrl* serialBox;
- wxTextCtrl* nameBox;
- wxTextCtrl* regionBox;
- wxTextCtrl* compatBox;
- wxTextCtrl* commentBox;
- wxTextCtrl* patchesBox;
- pxCheckBox* gameFixes[GamefixId_COUNT];
-
- public:
- GameDatabasePanel( wxWindow* parent );
- virtual ~GameDatabasePanel() = default;
- void Apply();
- void AppStatusEvent_OnSettingsApplied();
-
- protected:
- void PopulateFields( const wxString& serial=wxEmptyString );
- bool WriteFieldsToDB();
- void Search_Click( wxCommandEvent& evt );
-
- private:
- void placeTextBox(wxFlexGridSizer& sizer1, wxTextCtrl* wxBox, const wxString& txt);
- void blankLine(wxFlexGridSizer& sizer1);
- };
-
class SettingsDirPickerPanel : public DirPickerPanel
{
public:
diff --git a/pcsx2/gui/Panels/GameDatabasePanel.cpp b/pcsx2/gui/Panels/GameDatabasePanel.cpp
deleted file mode 100644
index 2ddb0f6dae..0000000000
--- a/pcsx2/gui/Panels/GameDatabasePanel.cpp
+++ /dev/null
@@ -1,472 +0,0 @@
-/* PCSX2 - PS2 Emulator for PCs
- * Copyright (C) 2002-2010 PCSX2 Dev Team
- *
- * PCSX2 is free software: you can redistribute it and/or modify it under the terms
- * of the GNU Lesser General Public License as published by the Free Software Found-
- * ation, either version 3 of the License, or (at your option) any later version.
- *
- * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with PCSX2.
- * If not, see .
- */
-
-#include "PrecompiledHeader.h"
-#include "App.h"
-#include "AppGameDatabase.h"
-#include "ConfigurationPanels.h"
-
-#include
-#include
-
-extern wxString DiscSerial;
-
-using namespace pxSizerFlags;
-
-
-enum GameDataColumnId
-{
- GdbCol_Serial = 0,
- GdbCol_Title,
- GdbCol_Region,
- GdbCol_Compat,
- GdbCol_Patches,
-
- GdbCol_Count
-};
-
-struct ListViewColumnInfo
-{
- const wxChar* name;
- int width;
- wxListColumnFormat align;
-};
-
-// --------------------------------------------------------------------------------------
-// GameDatabaseListView
-// --------------------------------------------------------------------------------------
-class GameDatabaseListView : public wxListView
-{
- typedef wxListView _parent;
-
-protected:
- wxArrayString m_GamesInView;
-
-public:
- virtual ~GameDatabaseListView() = default;
- GameDatabaseListView( wxWindow* parent );
-
- void CreateColumns();
- GameDatabaseListView& AddGame( const wxString& serial );
- GameDatabaseListView& RemoveGame( const wxString& serial );
- GameDatabaseListView& ClearAllGames();
- GameDatabaseListView& SortBy( GameDataColumnId column );
-
-protected:
- // Overrides for wxLC_VIRTUAL
- virtual wxString OnGetItemText(long item, long column) const;
- virtual int OnGetItemImage(long item) const;
- virtual int OnGetItemColumnImage(long item, long column) const;
- virtual wxListItemAttr* OnGetItemAttr(long item) const;
-
- const ListViewColumnInfo& GetDefaultColumnInfo( uint idx ) const;
-};
-
-// --------------------------------------------------------------------------------------
-// GameDatabaseListView (implementations)
-// --------------------------------------------------------------------------------------
-GameDatabaseListView::GameDatabaseListView( wxWindow* parent )
- : _parent( parent )
-{
- CreateColumns();
-}
-
-const ListViewColumnInfo& GameDatabaseListView::GetDefaultColumnInfo( uint idx ) const
-{
- static const ListViewColumnInfo columns[] =
- {
- { L"Serial", 96, wxLIST_FORMAT_LEFT },
- { L"Title", 132, wxLIST_FORMAT_LEFT },
- { L"Region", 72, wxLIST_FORMAT_CENTER },
- { L"Compat", 48, wxLIST_FORMAT_CENTER },
- { L"Patches", 48, wxLIST_FORMAT_CENTER },
- };
-
- pxAssertDev( idx < ArraySize(columns), "ListView column index is out of bounds." );
- return columns[idx];
-}
-
-void GameDatabaseListView::CreateColumns()
-{
- for( int i=0; ifindGame(first, i1)) return false;
- if (!m_GameDB->findGame(second, i2)) return true;
-
- if (int retval = _doCompare(first, second))
- return m_descending ? (retval>0) : (retval<0);
-
- return 0;
- }
-
- virtual int _doCompare( const Game_Data& first, const Game_Data& second )=0;
-};
-
-class GLSort_bySerial : public BaseGameListSort
-{
-public:
- GLSort_bySerial( bool descend ) : BaseGameListSort( descend ) { }
-
-protected:
- int _doCompare( const Game_Data& g1, const Game_Data& g2 )
- {
- return g1.getString("Serial").CmpNoCase( g2.getString("Serial") );
- }
-};
-
-class GLSort_byTitle : public BaseGameListSort
-{
-public:
- GLSort_byTitle( bool descend ) : BaseGameListSort( descend ) { }
-
-protected:
- int _doCompare( const Game_Data& g1, const Game_Data& g2 )
- {
- return g1.getString("Name").Cmp( g2.getString("Name") );
- }
-};
-
-class GLSort_byRegion : public BaseGameListSort
-{
-public:
- GLSort_byRegion( bool descend ) : BaseGameListSort( descend ) { }
-
-protected:
- int _doCompare( const Game_Data& g1, const Game_Data& g2 )
- {
- return g1.getString("Region").CmpNoCase( g2.getString("Region") );
- }
-};
-
-class GLSort_byCompat : public BaseGameListSort
-{
-public:
- GLSort_byCompat( bool descend ) : BaseGameListSort( descend ) { }
-
-protected:
- int _doCompare( const Game_Data& g1, const Game_Data& g2 )
- {
- return g1.getInt("Compat") - g2.getInt("Compat");
- }
-};
-
-class GLSort_byPatches : public BaseGameListSort
-{
-public:
- GLSort_byPatches( bool descend ) : BaseGameListSort( descend ) { }
-
-protected:
- int _doCompare( const Game_Data& g1, const Game_Data& g2 )
- {
- bool hasPatches1 = !g1.getString("[patches]").IsEmpty();
- bool hasPatches2 = !g2.getString("[patches]").IsEmpty();
-
- if (hasPatches1 == hasPatches2) return 0;
-
- return hasPatches1 ? -1 : 1;
- }
-};
-
-GameDatabaseListView& GameDatabaseListView::SortBy( GameDataColumnId column )
-{
- const bool isDescending = false;
-
- wxArrayString::iterator begin = m_GamesInView.begin();
- wxArrayString::iterator end = m_GamesInView.end();
-
- // Note: std::sort does not pass predicate instances by reference, which means we can't use
- // object polymorphism to simplify the code below. --air
-
- switch( column )
- {
- case GdbCol_Serial: std::sort(begin, end, GLSort_bySerial(isDescending)); break;
- case GdbCol_Title: std::sort(begin, end, GLSort_byTitle(isDescending)); break;
- case GdbCol_Region: std::sort(begin, end, GLSort_byRegion(isDescending)); break;
- case GdbCol_Compat: std::sort(begin, end, GLSort_byCompat(isDescending)); break;
- case GdbCol_Patches: std::sort(begin, end, GLSort_byPatches(isDescending)); break;
-
- default: break; // for GdbCol_Count
- }
- //m_GamesInView.( );
-
- return *this;
-}
-
-// return the text for the given column of the given item
-wxString GameDatabaseListView::OnGetItemText(long item, long column) const
-{
- IGameDatabase* GameDB = AppHost_GetGameDatabase();
-
- if (!GameDB || (item < 0) || ((uint)item >= m_GamesInView.GetCount()))
- return _parent::OnGetItemText(item, column);
-
- Game_Data game;
- if (!GameDB->findGame(game, m_GamesInView[item]))
- {
- pxFail( "Unknown row index in GameDatabaseListView -- returning default value." );
- return _parent::OnGetItemText(item, column);
- }
-
- switch( column )
- {
- case GdbCol_Serial: return m_GamesInView[item];
- case GdbCol_Title: return game.getString("Name");
- case GdbCol_Region: return game.getString("Region");
- case GdbCol_Compat: return game.getString("Compat");
- case GdbCol_Patches: return game.getString("[patches]").IsEmpty() ? L"No" : L"Yes";
- }
-
- pxFail( "Unknown column index in GameDatabaseListView -- returning an empty string." );
- return wxEmptyString;
-}
-
-// return the icon for the given item. In report view, OnGetItemImage will
-// only be called for the first column. See OnGetItemColumnImage for
-// details.
-int GameDatabaseListView::OnGetItemImage(long item) const
-{
- return _parent::OnGetItemImage( item );
-}
-
-// return the icon for the given item and column.
-int GameDatabaseListView::OnGetItemColumnImage(long item, long column) const
-{
- return _parent::OnGetItemColumnImage( item, column );
-}
-
-static wxListItemAttr m_ItemAttr;
-
-// return the attribute for the item (may return NULL if none)
-wxListItemAttr* GameDatabaseListView::OnGetItemAttr(long item) const
-{
- m_ItemAttr = wxListItemAttr(); // Wipe it clean!
-
- // For eventual drag&drop ?
- //if( m_TargetedItem == item )
- // m_ItemAttr.SetBackgroundColour( wxColour(L"Wheat") );
-
- return &m_ItemAttr;
-}
-
-
-wxTextCtrl* CreateMultiLineTextCtrl( wxWindow* parent, int digits, long flags = 0 )
-{
- wxTextCtrl* ctrl = new wxTextCtrl(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE);
- pxFitToDigits(ctrl, digits);
- return ctrl;
-}
-
-Panels::GameDatabasePanel::GameDatabasePanel( wxWindow* parent )
- : BaseApplicableConfigPanel( parent )
-{
- searchBtn = new wxButton (this, wxID_ANY, _("Search"));
-
- serialBox = CreateNumericalTextCtrl(this, 40, wxTE_LEFT);
- nameBox = CreateNumericalTextCtrl(this, 40, wxTE_LEFT);
- regionBox = CreateNumericalTextCtrl(this, 40, wxTE_LEFT);
- compatBox = CreateNumericalTextCtrl(this, 40, wxTE_LEFT);
- commentBox = CreateMultiLineTextCtrl(this, 40, wxTE_LEFT);
- patchesBox = CreateMultiLineTextCtrl(this, 40, wxTE_LEFT);
-
- for (GamefixId i=GamefixId_FIRST; i < pxEnumEnd; ++i)
- gameFixes[i] = new pxCheckBox(this, EnumToString(i), wxCHK_3STATE | wxCHK_ALLOW_3RD_STATE_FOR_USER );
-
- *this += Heading(_("Game Database Editor")).Bold() | StdExpand();
-
- *this += new GameDatabaseListView( this ) | StdExpand();
-
- wxFlexGridSizer& sizer1(*new wxFlexGridSizer(5, StdPadding, 0));
- sizer1.AddGrowableCol(0);
-
- blankLine(sizer1);
- sizer1 += Label(L"Serial: ");
- sizer1 += 5;
- sizer1 += serialBox | pxCenter;
- sizer1 += 5;
- sizer1 += searchBtn;
-
- placeTextBox(sizer1, nameBox, _("Name: "));
- placeTextBox(sizer1, regionBox, _("Region: "));
- placeTextBox(sizer1, compatBox, _("Compatibility: "));
- placeTextBox(sizer1, commentBox, _("Comments: "));
- placeTextBox(sizer1, patchesBox, _("Patches: "));
-
- blankLine(sizer1);
-
- wxStaticBoxSizer& sizer2 = *new wxStaticBoxSizer(wxVERTICAL, this, _("Gamefixes"));
- wxFlexGridSizer& sizer3(*new wxFlexGridSizer(3, 0, StdPadding*4));
- sizer3.AddGrowableCol(0);
-
- for (GamefixId i=GamefixId_FIRST; i < pxEnumEnd; ++i)
- sizer3 += gameFixes[i];
-
- sizer2 += sizer3 | StdCenter();
-
- *this += sizer1 | pxCenter;
- *this += sizer2 | pxCenter;
-
- Bind(wxEVT_BUTTON, &GameDatabasePanel::Search_Click, this, searchBtn->GetId());
- PopulateFields();
-}
-
-void Panels::GameDatabasePanel::blankLine(wxFlexGridSizer& sizer1)
-{
- sizer1+=5; sizer1+=5; sizer1+=Text(wxEmptyString); sizer1+=5; sizer1+=5;
-}
-
-void Panels::GameDatabasePanel::placeTextBox(wxFlexGridSizer& sizer1, wxTextCtrl* wxBox, const wxString& txt)
-{
- sizer1 += Label(txt);
- sizer1 += 5;
- sizer1 += wxBox | pxCenter;
- sizer1 += 5;
- sizer1 += 5;
-}
-
-void Panels::GameDatabasePanel::PopulateFields( const wxString& id ) {
- IGameDatabase* GameDB = AppHost_GetGameDatabase();
- if (!pxAssert(GameDB)) return;
-
- Game_Data game;
- if (GameDB->findGame(game, id.IsEmpty() ? SysGetDiscID() : id))
- {
- serialBox ->SetLabel(game.getString("Serial"));
- nameBox ->SetLabel(game.getString("Name"));
- regionBox ->SetLabel(game.getString("Region"));
- compatBox ->SetLabel(game.getString("Compat"));
- commentBox->SetLabel(game.getString("[comments]"));
- patchesBox->SetLabel(game.getString("[patches]"));
-
- for (GamefixId i=GamefixId_FIRST; i < pxEnumEnd; ++i)
- {
- wxString keyName (EnumToString(i)); keyName += L"Hack";
- if( game.keyExists(keyName) )
- gameFixes[i]->SetValue(game.getBool(keyName));
- else
- gameFixes[i]->SetIndeterminate();
- }
- }
- else {
- serialBox ->SetLabel(wxEmptyString);
- nameBox ->SetLabel(wxEmptyString);
- regionBox ->SetLabel(wxEmptyString);
- compatBox ->SetLabel(wxEmptyString);
- commentBox->SetLabel(wxEmptyString);
- patchesBox->SetLabel(wxEmptyString);
- for (int i = 0; i < GamefixId_COUNT; i++) {
- gameFixes[i]->SetValue(0);
- }
- }
-}
-
-// returns True if the database is modified, or FALSE if no changes to save.
-bool Panels::GameDatabasePanel::WriteFieldsToDB() {
- IGameDatabase* GameDB = AppHost_GetGameDatabase();
- if (!GameDB) return false;
-
- if (serialBox->GetValue().IsEmpty()) return false;
-
- Game_Data game;
- GameDB->findGame(game, serialBox->GetValue());
-
- game.id = serialBox->GetValue();
-
- game.writeString(L"Serial", serialBox->GetValue());
- game.writeString(L"Name", nameBox->GetValue());
- game.writeString(L"Region", regionBox->GetValue());
- game.writeString(L"Compat", compatBox->GetValue());
- game.writeString(L"[comments]", commentBox->GetValue());
- game.writeString(L"[patches]", patchesBox->GetValue());
-
- for (GamefixId i=GamefixId_FIRST; i < pxEnumEnd; ++i) {
- wxString keyName (EnumToString(i)); keyName += L"Hack";
-
- if (gameFixes[i]->IsIndeterminate())
- game.deleteKey(keyName.wc_str());
- else
- game.writeBool(keyName.wc_str(), gameFixes[i]->GetValue());
- }
- GameDB->updateGame(game);
- return true;
-}
-
-void Panels::GameDatabasePanel::Search_Click(wxCommandEvent& evt) {
- IGameDatabase* GameDB = AppHost_GetGameDatabase();
- if( !GameDB ) return;
-
- PopulateFields( serialBox->GetValue() );
- evt.Skip();
-}
-
-void Panels::GameDatabasePanel::Apply() {
- AppGameDatabase* GameDB = wxGetApp().GetGameDatabase();
- if( WriteFieldsToDB() )
- {
- Console.WriteLn("Saving changes to Game Database...");
- GameDB->SaveToFile();
- }
-}
-
-void Panels::GameDatabasePanel::AppStatusEvent_OnSettingsApplied()
-{
-}
diff --git a/pcsx2/windows/VCprojects/pcsx2.vcxproj b/pcsx2/windows/VCprojects/pcsx2.vcxproj
index 08e17116a6..6318f431eb 100644
--- a/pcsx2/windows/VCprojects/pcsx2.vcxproj
+++ b/pcsx2/windows/VCprojects/pcsx2.vcxproj
@@ -175,9 +175,7 @@
-
-
diff --git a/pcsx2/windows/VCprojects/pcsx2.vcxproj.filters b/pcsx2/windows/VCprojects/pcsx2.vcxproj.filters
index 175f34fb66..0243efc87a 100644
--- a/pcsx2/windows/VCprojects/pcsx2.vcxproj.filters
+++ b/pcsx2/windows/VCprojects/pcsx2.vcxproj.filters
@@ -754,12 +754,6 @@
AppHost\Dialogs
-
- AppHost\Dialogs
-
-
- AppHost\Panels
-
AppHost\Panels