System: Add OSD message when all enhancements are disabled

This commit is contained in:
Stenzek
2024-04-22 00:24:51 +10:00
parent b26a9556f7
commit a5613fc815
3 changed files with 34 additions and 31 deletions

View File

@ -176,7 +176,12 @@ public:
ALWAYS_INLINE const char* end_ptr() const { return m_buffer + m_length; }
// STL adapters
ALWAYS_INLINE char& front() { return m_buffer[0]; }
ALWAYS_INLINE const char& front() const { return m_buffer[0]; }
ALWAYS_INLINE char& back() { return m_buffer[m_length - 1]; }
ALWAYS_INLINE const char& back() const { return m_buffer[m_length - 1]; }
ALWAYS_INLINE void push_back(value_type&& val) { append(val); }
ALWAYS_INLINE void pop_back() { erase(-1); }
// returns a string view for this string
std::string_view view() const;