*Removed message from settings about Hermes v4 (since it's not true anymore)

*Fixed clock alignment
*Restrict text scrolling to the right pixel size
This commit is contained in:
dimok321 2010-10-01 20:03:14 +00:00
parent dbe694cedf
commit 87755f2543
5 changed files with 7 additions and 16 deletions

View File

@ -2,8 +2,8 @@
<app version="1">
<name> USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<version>1.0 r988</version>
<release_date>201010011518</release_date>
<version>1.0 r989</version>
<release_date>201010011950</release_date>
<short_description>Loads games from USB-devices</short_description>
<long_description>USB Loader GX is a libwiigui based USB iso loader with a wii-like GUI. You can install games to your HDDs and boot them with shorter loading times.
The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller.

View File

@ -398,7 +398,7 @@ void GuiText::ScrollText()
textDyn[pos] = new wchar_t[maxWidth];
while (text[i] && currentWidth < maxWidth)
while (text[i] && currentWidth < maxWidth-40)
{
textDyn[pos][i] = text[i];
@ -441,7 +441,7 @@ void GuiText::ScrollText()
int i = 0, currentWidth = 0;
while (currentWidth < maxWidth)
while (currentWidth < maxWidth-40)
{
if (ch > strlen - 1)
{

View File

@ -519,8 +519,7 @@ int MenuDiscList()
gameCarousel->SetAlignment(ALIGN_LEFT, ALIGN_CENTRE);
}
GuiText clockTimeBack("88:88", 40, ( GXColor )
{ Theme.clock.r, Theme.clock.g, Theme.clock.b, Theme.clock.a / 6});
GuiText clockTimeBack("88:88", 40, (GXColor) {Theme.clock.r, Theme.clock.g, Theme.clock.b, Theme.clock.a / 6});
clockTimeBack.SetAlignment(Theme.clock_align, ALIGN_TOP);
clockTimeBack.SetPosition(Theme.clock_x, Theme.clock_y);
clockTimeBack.SetFont(clock_ttf, clock_ttf_size);

View File

@ -1037,14 +1037,6 @@ int MenuSettings()
Settings.cios = 222;
break;
}
if ((Settings.cios == 222 && NandTitles.VersionOf(0x1000000deULL) != 4)
|| (Settings.cios == 2 && NandTitles.VersionOf(0x1000000dfULL) != 4))
{
WindowPrompt(
tr( "Hermes CIOS" ),
tr( "USB Loader GX will only run with Hermes CIOS rev 4! Please make sure you have revision 4 installed!" ),
tr( "OK" ));
}
}
if (Settings.godmode == 1)
options2.SetValue(Idx, "IOS %i", Settings.cios);

View File

@ -181,8 +181,8 @@ void CTheme::SetDefault()
install_x = 16;//-280
install_y = 355;
clock = (GXColor) {138, 138, 138, 240};
clock_align = ALIGN_CENTRE;
clock_x = 0;
clock_align = ALIGN_LEFT;
clock_x = 275;
clock_y = 335;//330;
info = ( GXColor ) {55, 190, 237, 255};
show_hddinfo = 1;