CMake: Add yaml-cpp to cmake

This commit is contained in:
kenshen112 authored and refractionpcsx2 committed 2020-12-16 09:31:58 +00:00
1 parent 18ea20e7b0
commit 3f6193580c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ GameDatabaseSchema::GameEntry YamlGameDatabaseImpl::entryFromYaml(const std::str
bool fixValidated = false;
for (GamefixId id = GamefixId_FIRST; id < pxEnumEnd; ++id)
{
std::string validFix = wxString(EnumToString(id)) + L"Hack";
std::string validFix = wxString(EnumToString(id)).ToStdString() + L"Hack";
if (validFix == fix)
{
fixValidated = true;
+1 -1
View File
@@ -332,7 +332,7 @@ bool InputRecording::Play(wxString fileName)
if (!wxFileExists(inputRecordingData.GetFilename() + "_SaveState.p2s"))
{
inputRec::consoleLog(fmt::format("Could not locate savestate file at location - {}_SaveState.p2s",
inputRecordingData.GetFilename()));
inputRecordingData.GetFilename().ToStdString()));
inputRecordingData.Close();
return false;
}
+1 -1
View File
@@ -956,7 +956,7 @@ void MainEmuFrame::Menu_Capture_Screenshot_Screenshot_As_Click(wxCommandEvent &e
wxFileDialog fileDialog(this, _("Select a file"), g_Conf->Folders.Snapshots.ToAscii(), wxEmptyString, "PNG files (*.png)|*.png", wxFD_SAVE | wxFD_OVERWRITE_PROMPT);
if (fileDialog.ShowModal() == wxID_OK)
GSmakeSnapshot(fileDialog.GetPath());
GSmakeSnapshot(fileDialog.GetPath().c_str());
// Resume emulation
if (!wasPaused)