diff options
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPCodeUtil.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DSPCodeUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DSPCore/Src/DSPCodeUtil.cpp b/Source/Core/DSPCore/Src/DSPCodeUtil.cpp index d2578493b2..9160dae921 100644 --- a/Source/Core/DSPCore/Src/DSPCodeUtil.cpp +++ b/Source/Core/DSPCore/Src/DSPCodeUtil.cpp @@ -118,10 +118,10 @@ void CodeToHeader(const std::vector<u16> &code, const char *name, std::string *h header->clear();
header->reserve(code.size() * 4);
header->append("#ifndef _MSCVER\n");
- sprintf(buffer, "const unsigned short %s = {\n", name);
+ sprintf(buffer, "const unsigned short %s[0x1000] = {\n", name);
header->append(buffer);
header->append("#else\n");
- sprintf(buffer, "const unsigned short %s __attribute__ ((aligned (64))) = {\n", name);
+ sprintf(buffer, "const unsigned short %s[0x1000] __attribute__ ((aligned (64))) = {\n", name);
header->append(buffer);
header->append("#endif\n\n ");
for (int i = 0; i < code.size(); i++)
|
