2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 02:27:42 +00:00

CScanDisplay: Eliminate implicit sign conversions

Removes implicit sign conversions and also dehardcodes quite a bit of
sizes.
This commit is contained in:
Lioncash
2020-04-12 21:54:40 -04:00
parent 8000fb9e42
commit 0a01a30bf5
6 changed files with 70 additions and 48 deletions

View File

@@ -536,7 +536,7 @@ void CPauseScreenBase::OnWidgetScroll(CGuiWidget* widget, const boo::SScrollDelt
}
}
std::string CPauseScreenBase::GetImagePaneName(u32 i) {
std::string CPauseScreenBase::GetImagePaneName(size_t i) {
static constexpr std::array PaneSuffixes{
"0", "1", "2", "3", "01", "12", "23", "012", "123", "0123",
"4", "5", "6", "7", "45", "56", "67", "456", "567", "4567",