diff options
Diffstat (limited to 'src/input_common/drivers/tas_input.cpp')
| -rw-r--r-- | src/input_common/drivers/tas_input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/tas_input.cpp b/src/input_common/drivers/tas_input.cpp index 3fdd3649b..a7d3d0b47 100644 --- a/src/input_common/drivers/tas_input.cpp +++ b/src/input_common/drivers/tas_input.cpp | |||
| @@ -85,7 +85,7 @@ void Tas::LoadTasFile(size_t player_index, size_t file_index) { | |||
| 85 | Common::FS::GetYuzuPath(Common::FS::YuzuPath::TASDir) / | 85 | Common::FS::GetYuzuPath(Common::FS::YuzuPath::TASDir) / |
| 86 | fmt::format("script{}-{}.txt", file_index, player_index + 1), | 86 | fmt::format("script{}-{}.txt", file_index, player_index + 1), |
| 87 | Common::FS::FileType::BinaryFile); | 87 | Common::FS::FileType::BinaryFile); |
| 88 | std::stringstream command_line(file); | 88 | std::istringstream command_line(file); |
| 89 | std::string line; | 89 | std::string line; |
| 90 | int frame_no = 0; | 90 | int frame_no = 0; |
| 91 | while (std::getline(command_line, line, '\n')) { | 91 | while (std::getline(command_line, line, '\n')) { |
| @@ -93,7 +93,7 @@ void Tas::LoadTasFile(size_t player_index, size_t file_index) { | |||
| 93 | continue; | 93 | continue; |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | std::stringstream linestream(line); | 96 | std::istringstream linestream(line); |
| 97 | std::string segment; | 97 | std::string segment; |
| 98 | std::vector<std::string> seglist; | 98 | std::vector<std::string> seglist; |
| 99 | 99 | ||