gsdx: Use std::vector for xz dump output buffer

By default, Windows has a 1MB stack size limit per thread, so array
cannot be used...
This commit is contained in:
Jonathan Li 2017-05-24 18:18:52 +01:00 committed by Gregory Hainaut
parent b170bddad9
commit 97d99632a6
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ void GSDumpXz::Flush()
void GSDumpXz::Compress(lzma_action action, lzma_ret expected_status)
{
std::array<uint8, 1024*1024> out_buff;
std::vector<uint8> out_buff(1024*1024);
do {
m_strm.next_out = out_buff.data();
m_strm.avail_out = out_buff.size();