mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
b170bddad9
commit
97d99632a6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue