mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Merge pull request #8543 from jordan-woyak/gcode-download-minor-fix
Core/GeckoCode: Fix DownloadCodes function assuming HTTP data is null terminated.
This commit is contained in:
commit
671defd8b9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded)
|
|||
std::vector<GeckoCode> gcodes;
|
||||
|
||||
// parse the codes
|
||||
std::istringstream ss(reinterpret_cast<const char*>(response->data()));
|
||||
std::istringstream ss(std::string(response->begin(), response->end()));
|
||||
|
||||
std::string line;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue