mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
CMake: Add yaml-cpp to cmake
This commit is contained in:
1 parent
18ea20e7b0
commit
3f6193580c
3 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user