mirror of https://github.com/PCSX2/pcsx2.git
gsdx: fix onimusha crash in custom resolution
I don't understand why but it seems it needs more than 8MB
This commit is contained in:
parent
7f32ba2e88
commit
cddc805dde
|
@ -38,9 +38,10 @@ GSTextureCache::GSTextureCache(GSRenderer* r)
|
|||
m_can_convert_depth = s_IS_OPENGL && theApp.GetConfig("texture_cache_depth", 1);
|
||||
m_crc_hack_level = theApp.GetConfig("crc_hack_level", 3);
|
||||
|
||||
// In theory 4MB is enough but 8MB is safer for overflow
|
||||
// In theory 4MB is enough but 9MB is safer for overflow (8MB
|
||||
// isn't enough in custom resolution)
|
||||
// Test: onimusha 3 PAL 60Hz
|
||||
m_temp = (uint8*)_aligned_malloc(2 * 1024 * 1024 * sizeof(uint32), 32);
|
||||
m_temp = (uint8*)_aligned_malloc(9 * 1024 * 1024, 32);
|
||||
}
|
||||
|
||||
GSTextureCache::~GSTextureCache()
|
||||
|
|
Loading…
Reference in New Issue