Skip to content

Commit

Permalink
Fixed formatting to pass buildbot linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
emkooz committed Oct 26, 2017
1 parent 36ddb94 commit 5f371cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Core/Core/MemoryWatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ void MemoryWatcher::ParseLine(const std::string& line)
bool MemoryWatcher::OpenSocket(const std::string& path)
{
#ifdef _WIN32
m_pipe = CreateFile(L"\\\\.\\pipe\\Dolphin Emulator\\MemoryWatcher",
GENERIC_READ | GENERIC_WRITE, 0, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr);
m_pipe = CreateFile(L"\\\\.\\pipe\\Dolphin Emulator\\MemoryWatcher", GENERIC_READ | GENERIC_WRITE,
0, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr);

return m_pipe != INVALID_HANDLE_VALUE;
#else
Expand Down Expand Up @@ -141,10 +141,10 @@ void MemoryWatcher::Step()
#ifdef _WIN32
if (m_pipe != INVALID_HANDLE_VALUE)
WriteFile(m_pipe, message.c_str(), static_cast<DWORD>(message.size() + 1), &m_written,
nullptr);
nullptr);
#else
sendto(m_fd, message.c_str(), message.size() + 1, 0, reinterpret_cast<sockaddr*>(&m_addr),
sizeof(m_addr));
sizeof(m_addr));
#endif
}
}
Expand Down

0 comments on commit 5f371cc

Please sign in to comment.