Microsoft Visual C++ Runtime Library
Started by 1GTV




9 posts in this topic
syphurith
Unregistered


 
02-11-2015, 07:47 AM -
#7
(02-10-2015, 12:52 PM)Bigpet Wrote: lol what? No, we know why this happens, I just explained it to you. It's literally programmed to fail right here: https://github.com/DHrpcs3/rpcs3/blob/e5...ad.cpp#L87

If you want to hot-fix it locally just go to this file here: https://github.com/DHrpcs3/rpcs3/blob/e5...d.cpp#L189

and add
Code:
if(stacksize == 0) stacksize = 0x100;
there. Like I said, we just don't know what the right value is.
(A bit obfuscated saying. Somewhere in doc)
Quote://Stack memory: allocated in 4KB units.
if (stacksize%4096) stacksize = ((int)(stacksize/4096)+1)*4096; // Bytes for UserMemory
Surely 0x0100 is less than 4KB, why not try modify the amount to 0x1000 instead? And from "include", there is "PTHREAD_STACK_MIN" which is defined as 4096 (0x1000). Eh.. The implementation of sys_ppu_thread_create is not so accurate as it may be..


Messages In This Thread
RE: Microsoft Visual C++ Runtime Library - by 1GTV - 02-09-2015, 04:51 PM
RE: Microsoft Visual C++ Runtime Library - by Bigpet - 02-10-2015, 02:23 AM
RE: Microsoft Visual C++ Runtime Library - by fleur - 02-10-2015, 08:36 AM
RE: Microsoft Visual C++ Runtime Library - by Bigpet - 02-10-2015, 12:52 PM
RE: Microsoft Visual C++ Runtime Library - by syphurith - 02-11-2015, 07:47 AM
RE: Microsoft Visual C++ Runtime Library - by Bigpet - 02-11-2015, 01:54 PM
RE: Microsoft Visual C++ Runtime Library - by syphurith - 02-11-2015, 03:11 PM
RE: Microsoft Visual C++ Runtime Library - by syphurith - 02-18-2015, 06:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)