mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-02 11:35:58 -04:00
Subrepos update (#613)
* a
* git subrepo pull tools/asm-differ --force
subrepo:
subdir: "tools/asm-differ"
merged: "6f8f80b71"
upstream:
origin: "https://github.com/simonlindholm/asm-differ"
branch: "main"
commit: "6f8f80b71"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "2f68596"
* git subrepo pull tools/z64compress --force
subrepo:
subdir: "tools/z64compress"
merged: "9e7a6dbfa"
upstream:
origin: "https://github.com/z64me/z64compress.git"
branch: "main"
commit: "9e7a6dbfa"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "2f68596"
* git subrepo pull tools/ZAPD --force
subrepo:
subdir: "tools/ZAPD"
merged: "bf16ff7c4"
upstream:
origin: "https://github.com/zeldaret/ZAPD.git"
branch: "master"
commit: "bf16ff7c4"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "2f68596"
* Revert "git subrepo pull tools/z64compress --force"
This reverts commit a7cc87394e.
This commit is contained in:
@@ -101,11 +101,18 @@ std::string ZArray::GetBodySourceCode() const
|
||||
const auto& res = resList[i];
|
||||
output += "\t";
|
||||
|
||||
if (res->GetResourceType() == ZResourceType::Scalar ||
|
||||
res->GetResourceType() == ZResourceType::Vertex)
|
||||
switch (res->GetResourceType())
|
||||
{
|
||||
case ZResourceType::Pointer:
|
||||
case ZResourceType::Scalar:
|
||||
case ZResourceType::Vertex:
|
||||
output += resList.at(i)->GetBodySourceCode();
|
||||
else
|
||||
break;
|
||||
|
||||
default:
|
||||
output += StringHelper::Sprintf("{ %s }", resList.at(i)->GetBodySourceCode().c_str());
|
||||
break;
|
||||
}
|
||||
|
||||
if (i < arrayCnt - 1 || res->IsExternalResource())
|
||||
output += ",\n";
|
||||
|
||||
Reference in New Issue
Block a user