diff --git a/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp b/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp index c817d370e6..9148cbb252 100644 --- a/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp +++ b/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp @@ -321,8 +321,7 @@ bool CEXIETHERNET::SendFrame(const u8* frame, u32 size) } // Copy to write buffer. - mWriteBuffer.resize(size); - memcpy(mWriteBuffer.data(), frame, size); + mWriteBuffer.assign(frame, frame + size); mWritePending = true; // Queue async write.