mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-15 11:30:30 +00:00
git subrepo pull --force tools/ZAPD (#742)
subrepo: subdir: "tools/ZAPD" merged: "c4773301a" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "c4773301a" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
This commit is contained in:
parent
b338f12498
commit
71bbaab485
7 changed files with 66 additions and 21 deletions
|
@ -207,6 +207,10 @@ std::string ZSkeleton::GetSourceOutputCode(const std::string& prefix)
|
|||
{
|
||||
// Table
|
||||
string tblStr = "";
|
||||
string limbArrTypeStr = "static void*";
|
||||
if (limbType == ZLimbType::Curve) {
|
||||
limbArrTypeStr = StringHelper::Sprintf("static %s*", ZLimb::GetSourceTypeName(limbType));
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < limbs.size(); i++)
|
||||
{
|
||||
|
@ -222,7 +226,7 @@ std::string ZSkeleton::GetSourceOutputCode(const std::string& prefix)
|
|||
tblStr += decl;
|
||||
}
|
||||
|
||||
parent->AddDeclarationArray(ptr, DeclarationAlignment::None, 4 * limbCount, "static void*",
|
||||
parent->AddDeclarationArray(ptr, DeclarationAlignment::None, 4 * limbCount, limbArrTypeStr,
|
||||
StringHelper::Sprintf("%sLimbs", defaultPrefix.c_str()),
|
||||
limbCount, tblStr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue