mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
Use EnumFormatter to generate names for EXI devices
This simplifies the code in GameCubePane, and allows us to use the EXIDeviceType enum in error messages.
This commit is contained in:
parent
d354163fbe
commit
fefde0481d
3 changed files with 67 additions and 20 deletions
|
@ -95,7 +95,6 @@ protected:
|
|||
|
||||
constexpr explicit EnumFormatter(const array_type names) : m_names(std::move(names)) {}
|
||||
|
||||
private:
|
||||
const array_type m_names;
|
||||
char format_type = 'u';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue