mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
small thread fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3416 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2f0c872cd2
commit
f8a221dea2
@ -174,6 +174,13 @@ bool CEXIMemoryCard::IsPresent()
|
|||||||
|
|
||||||
void CEXIMemoryCard::SetCS(int cs)
|
void CEXIMemoryCard::SetCS(int cs)
|
||||||
{
|
{
|
||||||
|
// So that memory card won't be invalidated during flushing
|
||||||
|
if(flushThread)
|
||||||
|
{
|
||||||
|
delete flushThread;
|
||||||
|
flushThread = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (cs) // not-selected to selected
|
if (cs) // not-selected to selected
|
||||||
m_uPosition = 0;
|
m_uPosition = 0;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user