diff options
| author | nakeee <nakeee@gmail.com> | 2010-03-24 05:05:25 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2010-03-24 05:05:25 +0000 |
| commit | 2e622c17dce5ad0a6b50095deb7ba8ab51fc0cb9 (patch) | |
| tree | 551f07922a3c9e8a3bf3da71b4686678151c65a9 /Source/Core/DSPCore/Src/DSPAnalyzer.cpp | |
| parent | ed403c270cfb1c11fcc4997405e7ca3b6b0a4a56 (diff) | |
Remove the UDSP union
functions are passed by value rather than by reference
This is part of a bigger change so please report if it broke compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5228 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPAnalyzer.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DSPAnalyzer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DSPCore/Src/DSPAnalyzer.cpp b/Source/Core/DSPCore/Src/DSPAnalyzer.cpp index 80b86d728c..740002ba75 100644 --- a/Source/Core/DSPCore/Src/DSPAnalyzer.cpp +++ b/Source/Core/DSPCore/Src/DSPAnalyzer.cpp @@ -91,12 +91,12 @@ void AnalyzeRange(int start_addr, int end_addr) } code_flags[addr] |= CODE_START_OF_INST; // Look for loops. (this is not used atm) - if ((inst.hex & 0xffe0) == 0x0060 || (inst.hex & 0xff00) == 0x1100) { + if ((inst & 0xffe0) == 0x0060 || (inst & 0xff00) == 0x1100) { // BLOOP, BLOOPI u16 loop_end = dsp_imem_read(addr + 1); code_flags[addr] |= CODE_LOOP_START; code_flags[loop_end] |= CODE_LOOP_END; - } else if ((inst.hex & 0xffe0) == 0x0040 || (inst.hex & 0xff00) == 0x1000) { + } else if ((inst & 0xffe0) == 0x0040 || (inst & 0xff00) == 0x1000) { // LOOP, LOOPI code_flags[addr] |= CODE_LOOP_START; code_flags[addr + 1] |= CODE_LOOP_END; |
