Templated XUserModule::GetOptHeader

This commit is contained in:
Dr. Chat
2015-07-03 10:24:11 -05:00
parent 82ec1c345d
commit a25090f3ca
4 changed files with 10 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ X_STATUS XThread::Create() {
// Games will specify a certain number of 4b slots that each thread will get.
xex2_opt_tls_info* tls_header = nullptr;
if (module) {
module->GetOptHeader(XEX_HEADER_TLS_INFO, (void**)&tls_header);
module->GetOptHeader(XEX_HEADER_TLS_INFO, &tls_header);
}
const uint32_t kDefaultTlsSlotCount = 32;