stdafx_gui.h created, wx removed from stdafx.h

This commit is contained in:
Nekotekina 2014-08-29 02:49:26 +04:00
parent 693e7a38fa
commit 028ce2dd9f
45 changed files with 421 additions and 183 deletions

View file

@ -422,7 +422,7 @@ void Emulator::Pause()
//ConLog.Write("pause...");
SendDbgCommand(DID_PAUSE_EMU);
if (InterlockedCompareExchange((volatile unsigned long*)&m_status, Paused, Running) == Running)
if (InterlockedCompareExchange((volatile u32*)&m_status, Paused, Running) == Running)
{
SendDbgCommand(DID_PAUSED_EMU);
}
@ -512,9 +512,10 @@ void Emulator::SavePoints(const std::string& path)
void Emulator::LoadPoints(const std::string& path)
{
struct stat buf;
if (!stat(path.c_str(), &buf))
return;
if (!rExists(path)) return;
//struct stat buf;
//if (!stat(path.c_str(), &buf))
//return;
std::ifstream f(path, std::ios::binary);
if (!f.is_open())
return;