mirror of https://github.com/AxioDL/metaforce.git
memmove -> memcpy
This commit is contained in:
parent
921d6bf10a
commit
b871cc965a
|
@ -497,7 +497,7 @@ void CMoviePlayer::DecodeFromRead(const void* data) {
|
||||||
}
|
}
|
||||||
aurora::shaders::write_texture(tex.Y[0]->ref, {buffer.get(), planeSizeHalf});
|
aurora::shaders::write_texture(tex.Y[0]->ref, {buffer.get(), planeSizeHalf});
|
||||||
for (unsigned y = 0; y < x6c_videoInfo.height / 2; ++y) {
|
for (unsigned y = 0; y < x6c_videoInfo.height / 2; ++y) {
|
||||||
memmove(buffer.get() + x6c_videoInfo.width * y, m_yuvBuf.get() + x6c_videoInfo.width * (y * 2 + 1),
|
memcpy(buffer.get() + x6c_videoInfo.width * y, m_yuvBuf.get() + x6c_videoInfo.width * (y * 2 + 1),
|
||||||
x6c_videoInfo.width);
|
x6c_videoInfo.width);
|
||||||
}
|
}
|
||||||
aurora::shaders::write_texture(tex.Y[1]->ref, {buffer.get(), planeSizeHalf});
|
aurora::shaders::write_texture(tex.Y[1]->ref, {buffer.get(), planeSizeHalf});
|
||||||
|
|
Loading…
Reference in New Issue