mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-13 07:05:12 +01:00
Forgot players in the game info...
This commit is contained in:
parent
5964b5e783
commit
1854a65cd8
@ -11,6 +11,7 @@ public:
|
||||
{
|
||||
this->gi = NULL;
|
||||
memset(this->year, 0, sizeof(this->year));
|
||||
memset(this->players, 0, sizeof(this->players));
|
||||
memset(this->gi_messages, 0, sizeof(this->gi_messages));
|
||||
this->setSelectedBackground(NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
@ -80,6 +81,7 @@ public:
|
||||
if (this->gi)
|
||||
{
|
||||
snprintf(this->year, sizeof(this->year), "%d", this->gi->year);
|
||||
snprintf(this->players, sizeof(this->players), "%d", this->gi->players);
|
||||
this->gi_messages[0] = this->gi->name ? this->gi->name : " ";
|
||||
this->gi_messages[1] = this->gi->publisher ? this->gi->publisher : " ";
|
||||
this->gi_messages[2] = this->gi->creator ? this->gi->creator : " ";
|
||||
@ -91,12 +93,14 @@ public:
|
||||
this->gi_messages[5] = genre_dlg[this->gi->genre - 1];
|
||||
}
|
||||
this->gi_messages[6] = year;
|
||||
this->gi_messages[7] = this->players;
|
||||
|
||||
this->setText(this->gi_messages);
|
||||
}
|
||||
|
||||
const char *gi_messages[8];
|
||||
const char *gi_messages[9];
|
||||
char year[8];
|
||||
char players[4];
|
||||
GameInfo *gi;
|
||||
};
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 41 KiB |
Loading…
Reference in New Issue
Block a user