diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:47:56 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:47:56 +0000 |
| commit | 3edae70ea0bbede6d9ed57a91af9532101bd7ef8 (patch) | |
| tree | 9a084452f23d7e1e63aa972bac23f3e637a168ae /Source/Plugins | |
| parent | 3bf3c27d3e347057080173164600a1d34c180800 (diff) | |
Hack this dodgy compile-time assert so it works with gcc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5486 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins')
| -rw-r--r-- | Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h index 1d6d060c44..d69c7267f6 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h @@ -130,7 +130,7 @@ union ZeldaUnkPB namespace { // If this miscompiles, adjust the size of ZeldaVoicePB to 0x180 bytes (0xc0 shorts). - CompileTimeAssert<sizeof(ZeldaVoicePB) == 0x180> ensure_zpb_size_correct; + CompileTimeAssert<sizeof(ZeldaVoicePB) == 0x180> volatile ensure_zpb_size_correct; } // namespace class CUCode_Zelda : public IUCode |
