DSPCodeUtil: remove GenRandomCode

It was only used in a specific DSPTool test, which was removed because
non-deterministic tests aren't really useful.
This commit is contained in:
Michael Maltese committed 2017-06-05 19:28:40 -07:00
1 parent 80710984dc
commit 1765e54ab3
2 files changed
-10

No files matched your search

-9
View File
@@ -100,15 +100,6 @@ bool Compare(const std::vector<u16>& code1, const std::vector<u16>& code2)
return code1.size() == code2.size() && code1.size() == count_equal;
}
void GenRandomCode(u32 size, std::vector<u16>& code)
{
code.resize(size);
for (u32 i = 0; i < size; i++)
{
code[i] = rand() ^ (rand() << 8);
}
}
void CodeToHeader(const std::vector<u16>& code, std::string _filename, const char* name,
std::string& header)
{