mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Fix some warnings
This commit is contained in:
parent
0e73b58abf
commit
e05239f3d9
2 changed files with 1 additions and 6 deletions
|
@ -3006,7 +3006,7 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
|
|||
thread_ctrl::wait_for(5'000);
|
||||
}
|
||||
|
||||
for (int i = 0; thread_ctrl::state() != thread_state::aborting;)
|
||||
while (thread_ctrl::state() != thread_state::aborting)
|
||||
{
|
||||
if (auto ar_ptr = to_ar.load())
|
||||
{
|
||||
|
@ -3245,8 +3245,6 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
|
|||
|
||||
if (savestate)
|
||||
{
|
||||
auto& ar = *to_ar.load();
|
||||
|
||||
fs::stat_t file_stat{};
|
||||
|
||||
if (!file.commit() || !fs::get_stat(path, file_stat))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue