1
0
mirror of synced 2024-12-11 08:25:58 +01:00

- Crimson Clover: add workaround to crash

- Crimson Clover: add workaround to crash (still needs proper fix)
This commit is contained in:
Nezarn 2020-06-17 19:29:12 +02:00
parent 4932541c49
commit d8b308cf24

View File

@ -3,6 +3,7 @@
//#if _M_IX86
#include "Utility/Utils.h"
#include "NesysNewsFile.h"
#include <Utility\GameDetect.h>
#pragma optimize("", off)
NesysEmu::NesysEmu()
: m_initialized(false)
@ -147,7 +148,7 @@ NesysEmu::NesysEmu()
s->days = 100;
s->size = dataSize;
memcpy(s->data, data, s->size);
if(GameDetect::currentGame != GameID::CrimzonClover) // if someone fixes card code, remove this
SendResponse(SCOMMAND_CARD_SELECT_REPLY, s, sizeof(cardstatus) + dataSize);
};