mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-13 01:57:18 -07:00
doesn't need to be volatile
This commit is contained in:
parent
098cb8cd93
commit
211bf79b9a
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ std::string ZResource::GetSourceOutputHeader([[maybe_unused]] const std::string&
|
||||||
str += StringHelper::Sprintf("#define d%s \"__OTR__%s/%s\"", name.c_str(), outName.c_str(), nameStr.c_str());
|
str += StringHelper::Sprintf("#define d%s \"__OTR__%s/%s\"", name.c_str(), outName.c_str(), nameStr.c_str());
|
||||||
|
|
||||||
if (myset.find(name) == myset.end()) {
|
if (myset.find(name) == myset.end()) {
|
||||||
str += StringHelper::Sprintf("\nstatic volatile const char %s[] __attribute__((aligned (2))) = d%s;", name.c_str(), name.c_str());
|
str += StringHelper::Sprintf("\nstatic const char %s[] __attribute__((aligned (2))) = d%s;", name.c_str(), name.c_str());
|
||||||
myset.insert(name);
|
myset.insert(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue