DSPSpy: First version submitted, resurrected from the ages of time. Build the dsp code by running dspbuild.bat (or an equivalent shell script), then build the elf using devkitpro/libogc and boot it on your Wii using Homebrew Channel or whatever. You'll get a lot of numbers on your screen.

DSPTool: build fix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2995 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-04-18 14:02:34 +00:00
parent ee933cb5d4
commit 6ec5d28eda
16 changed files with 7425 additions and 4 deletions

View file

@ -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++)