diff --git a/desmume/src/memorystream.h b/desmume/src/memorystream.h index 82b6fbdda..219817ac5 100644 --- a/desmume/src/memorystream.h +++ b/desmume/src/memorystream.h @@ -264,9 +264,9 @@ public: : std::basic_iostream >(&streambuf) {} - memorystream(int size) + memorystream(int sz) : std::basic_iostream >(&streambuf) - , streambuf(size) + , streambuf(sz) {} memorystream(char* usebuf, int buflength)