Core: Convert State enum into an enum class

This commit is contained in:
Lioncash
2017-02-05 07:39:58 -05:00
parent c4d470cbf2
commit e07383a783
25 changed files with 103 additions and 103 deletions

View File

@ -110,7 +110,7 @@ void CheckFile(const std::string& file, u64 size)
void FindFilename(u64 offset)
{
// Don't do anything if a game is not running
if (Core::GetState() != Core::CORE_RUN)
if (Core::GetState() != Core::State::Running)
return;
// Or if the log is unselected