Commit 961517bb authored by Chen Bill's avatar Chen Bill

Remove static deckBuffer

parent 00d46b2c
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
namespace ygo { namespace ygo {
char DeckManager::deckBuffer[0x10000]{};
DeckManager deckManager; DeckManager deckManager;
void DeckManager::LoadLFListSingle(const char* path) { void DeckManager::LoadLFListSingle(const char* path) {
......
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
Deck current_deck; Deck current_deck;
std::vector<LFList> _lfList; std::vector<LFList> _lfList;
static char deckBuffer[0x10000]; static constexpr int MAX_YDK_SIZE = 0x10000;
void LoadLFListSingle(const char* path); void LoadLFListSingle(const char* path);
void LoadLFList(); void LoadLFList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment