Open socram8888 opened 1 year ago
Duplicate of https://github.com/brad-lin/FreePSXBoot/pull/97
Actually I don't know what's better. I initially did the same thing for my pull request but then realized I could just add #include cstring to fix it and settled on that.
Not sure. There's only one std::memcpy and plenty of regular memcpy in that file, so I guessed this one was a mistake.
Current code is causing compilation errors in Debian bookworm. Replacing
std::memcpy
with justmemcpy
(as the rest of the memcpy calls are) fixed the issue.