mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Ooops;3, remove leftover
This commit is contained in:
parent
27a616c765
commit
101df1da2b
@ -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
|
||||
|
@ -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();
|
||||
|
@ -68,7 +68,7 @@ void CwCheatScreen::CreateCodeList() {
|
||||
}
|
||||
cheatEngine2 = new CWCheatEngine();
|
||||
cheatEngine2->CreateCheatFile();
|
||||
cheatList = cheatEngine2->GetCodesList(activeCheatFile);
|
||||
cheatList = cheatEngine2->GetCodesList();
|
||||
|
||||
bEnableCheat.clear();
|
||||
formattedList_.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user