Warning fixes

This commit is contained in:
Connor McLaughlin
2021-06-26 15:05:21 +10:00
parent 1a18e3ceb8
commit 06b009f361
10 changed files with 25 additions and 29 deletions

View File

@ -174,10 +174,10 @@ bool GameList::GetGameListEntry(const std::string& path, GameListEntry* entry)
entry->publisher = std::move(dbentry.publisher);
entry->developer = std::move(dbentry.developer);
entry->release_date = dbentry.release_date;
entry->min_players = dbentry.min_players;
entry->max_players = dbentry.max_players;
entry->min_blocks = dbentry.min_blocks;
entry->max_blocks = dbentry.max_blocks;
entry->min_players = static_cast<u8>(dbentry.min_players);
entry->max_players = static_cast<u8>(dbentry.max_players);
entry->min_blocks = static_cast<u8>(dbentry.min_blocks);
entry->max_blocks = static_cast<u8>(dbentry.max_blocks);
entry->supported_controllers = dbentry.supported_controllers_mask;
}