mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
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
This commit is contained in:
parent
3bf3c27d3e
commit
3edae70ea0
@ -94,7 +94,7 @@
|
|||||||
#ifndef _SECURE_SCL
|
#ifndef _SECURE_SCL
|
||||||
#error Please define _SECURE_SCL=0 in the project settings
|
#error Please define _SECURE_SCL=0 in the project settings
|
||||||
#else
|
#else
|
||||||
CompileTimeAssert<_SECURE_SCL==0> EnsureNoSecureSCL;
|
CompileTimeAssert<_SECURE_SCL==0> volatile EnsureNoSecureSCL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ union ZeldaUnkPB
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
// If this miscompiles, adjust the size of ZeldaVoicePB to 0x180 bytes (0xc0 shorts).
|
// 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
|
} // namespace
|
||||||
|
|
||||||
class CUCode_Zelda : public IUCode
|
class CUCode_Zelda : public IUCode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user