Yeah, I actually used drmingw to track down the crashing. I should of been more specific, it was actually an access violation in ntdll.dll. For some reason everything works when I commented out line 153 from Mutex.cpp.
Code:
LockMutex::LockMutex(Mutex* in_mut, bool iLock) {
150 mut = in_mut;
151 locked = iLock;
152 if (locked) {
153 //--> mut->lock();
154 }
}
The released R3 binaries work alright, so it's a bit strange. I'll look into it further when I've got the time. Oh, and even with debugging turned off, everything is still at least twice the size of the released binaries (this isn't a complaint, I'm just curious).