mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 15:40:02 +00:00
Linux build fix. Why would you swap with an empty temporary vector instead of clearing a vector? What were you thinking?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7368 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
88c8b891f7
commit
e26efc8561
@ -392,8 +392,8 @@ void Shutdown()
|
|||||||
{
|
{
|
||||||
Flush();
|
Flush();
|
||||||
|
|
||||||
g_current_buffer.swap(std::vector<u8>());
|
g_current_buffer.clear();
|
||||||
g_undo_load_buffer.swap(std::vector<u8>());
|
g_undo_load_buffer.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::string MakeStateFilename(int number)
|
static std::string MakeStateFilename(int number)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user