mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
bfm/bfm_bd1.h, bfm/bfm_bda.h: const -> constexpr, fixes undefined references when building with -O0 on macOS (#12129)
This commit is contained in:
parent
d50c07b4f2
commit
7f2b2421da
@ -37,10 +37,10 @@ protected:
|
||||
virtual void device_post_load() override;
|
||||
|
||||
private:
|
||||
static const uint8_t AT_NORMAL = 0x00;
|
||||
static const uint8_t AT_FLASH = 0x01;
|
||||
static const uint8_t AT_BLANK = 0x02;
|
||||
static const uint8_t AT_FLASHED = 0x80; // set when character should be blinked off
|
||||
static constexpr uint8_t AT_NORMAL = 0x00;
|
||||
static constexpr uint8_t AT_FLASH = 0x01;
|
||||
static constexpr uint8_t AT_BLANK = 0x02;
|
||||
static constexpr uint8_t AT_FLASHED = 0x80; // set when character should be blinked off
|
||||
|
||||
std::unique_ptr<output_finder<16> > m_outputs;
|
||||
uint8_t m_port_val;
|
||||
|
@ -34,10 +34,10 @@ protected:
|
||||
virtual void device_post_load() override;
|
||||
|
||||
private:
|
||||
static const uint8_t AT_NORMAL = 0x00;
|
||||
static const uint8_t AT_FLASH = 0x01;
|
||||
static const uint8_t AT_BLANK = 0x02;
|
||||
static const uint8_t AT_FLASHED = 0x80; // set when character should be blinked off
|
||||
static constexpr uint8_t AT_NORMAL = 0x00;
|
||||
static constexpr uint8_t AT_FLASH = 0x01;
|
||||
static constexpr uint8_t AT_BLANK = 0x02;
|
||||
static constexpr uint8_t AT_FLASHED = 0x80; // set when character should be blinked off
|
||||
|
||||
std::unique_ptr<output_finder<16> > m_outputs;
|
||||
std::unique_ptr<output_finder<1> > m_brightness;
|
||||
|
Loading…
Reference in New Issue
Block a user