Ooops;3, remove leftover

This commit is contained in:
LunaMoo 2016-06-21 06:29:26 +02:00
parent 27a616c765
commit 101df1da2b
3 changed files with 3 additions and 6 deletions

View File

@ -269,10 +269,7 @@ inline void trim2(std::string& str) {
else str.erase(str.begin(), str.end());
}
std::vector<std::string> CWCheatEngine::GetCodesList(std::string file) { //Reads the entire cheat list from the appropriate .ini.
if (file.empty()) {
file = activeCheatFile;
}
std::vector<std::string> CWCheatEngine::GetCodesList() { //Reads the entire cheat list from the appropriate .ini.
std::string line;
std::vector<std::string> codesList; // Read from INI here
#ifdef _WIN32

View File

@ -21,7 +21,7 @@ bool CheatsInEffect();
class CWCheatEngine {
public:
CWCheatEngine();
std::vector<std::string> GetCodesList(std::string file = "");
std::vector<std::string> GetCodesList();
void CreateCodeList();
void CreateCheatFile();
void Exit();

View File

@ -68,7 +68,7 @@ void CwCheatScreen::CreateCodeList() {
}
cheatEngine2 = new CWCheatEngine();
cheatEngine2->CreateCheatFile();
cheatList = cheatEngine2->GetCodesList(activeCheatFile);
cheatList = cheatEngine2->GetCodesList();
bEnableCheat.clear();
formattedList_.clear();