mirror of
https://github.com/libretro/Mu.git
synced 2026-02-04 05:35:13 +00:00
Remove some usages of constexpr.
This commit is contained in:
@@ -9,7 +9,7 @@ struct LiteralRef {
|
||||
uintptr_t value;
|
||||
};
|
||||
|
||||
static constexpr size_t MAX_LITERALS = 1024;
|
||||
static size_t MAX_LITERALS = 1024;
|
||||
static LiteralRef literals[MAX_LITERALS];
|
||||
static size_t literals_count = 0;
|
||||
|
||||
|
||||
@@ -219,7 +219,7 @@ void cpu_int_check()
|
||||
cpu_events &= ~EVENT_FIQ;
|
||||
}
|
||||
|
||||
static const constexpr uint8_t exc_flags[] = {
|
||||
static const uint8_t exc_flags[] = {
|
||||
MODE_SVC | 0xC0, /* Reset */
|
||||
MODE_UND | 0x80, /* Undefined instruction */
|
||||
MODE_SVC | 0x80, /* Software interrupt */
|
||||
|
||||
@@ -176,7 +176,7 @@ enum Reg : uint8_t {
|
||||
static int8_t regmap_v2p[16];
|
||||
|
||||
/* R0 is used as scratch register. R10 is a pointer to struct arm_state, R11 contains flags. */
|
||||
static constexpr const uint8_t regmap_first_phys = R1, regmap_last_phys = R9;
|
||||
static const uint8_t regmap_first_phys = R1, regmap_last_phys = R9;
|
||||
|
||||
/* Shortcut. If anything has been mapped, this is true.
|
||||
Set by regmap_next_preg, unset by regmap_flush. */
|
||||
|
||||
Reference in New Issue
Block a user