From 45feea42c2fa1b95f2b40ddc6c3314c0fe8318f9 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 17 Aug 2009 00:20:04 +0000 Subject: dsp lle: coef is really 0x800 words dspspy: fill the whole iram! crazy thing, normally likes len%4=0, however to fill the whole iram you use 8191 instead of 8192... :s git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4011 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DSPCore/Src/DSPCore.cpp') diff --git a/Source/Core/DSPCore/Src/DSPCore.cpp b/Source/Core/DSPCore/Src/DSPCore.cpp index b42e17cac5..aff0a26721 100644 --- a/Source/Core/DSPCore/Src/DSPCore.cpp +++ b/Source/Core/DSPCore/Src/DSPCore.cpp @@ -54,7 +54,7 @@ static bool LoadRom(const char *fname, int size_in_words, u16 *rom) fclose(pFile); // Byteswap the rom. - for (int i = 0; i < DSP_IROM_SIZE; i++) + for (int i = 0; i < size_in_words; i++) rom[i] = Common::swap16(rom[i]); return true; -- cgit v1.2.3