mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 10:21:55 +01:00
5b2f453d9e
*restructured game settings for different types of games (Wii/GC/Channels) *added uninstall option for emu nand channels and game cube games (iso only) *add display of game size from wii disc games on game prompt *add game size display for game cube games (iso only) *force interlace mode on GC games except when explicitly used FORCE 480p PAL/NTSC *removed mountMethod global variable which was annoying me very much *some source cleanup
36 lines
878 B
C++
36 lines
878 B
C++
#include "GUI/gui.h"
|
|
#include "themes/CTheme.h"
|
|
#include "usbloader/GameList.h"
|
|
#include "settings/GameTitles.h"
|
|
#include "menu/menus.h"
|
|
|
|
void rockout(struct discHdr *header)
|
|
{
|
|
static bool rockoutSet = false;
|
|
|
|
HaltGui();
|
|
|
|
if (!rockoutSet && header &&
|
|
( strcasestr(GameTitles.GetTitle(header), "guitar")
|
|
|| strcasestr(GameTitles.GetTitle(header), "band")
|
|
|| strcasestr(GameTitles.GetTitle(header), "rock")))
|
|
{
|
|
pointer[0]->SetImage("rplayer1_point.png");
|
|
pointer[1]->SetImage("rplayer2_point.png");
|
|
pointer[2]->SetImage("rplayer3_point.png");
|
|
pointer[3]->SetImage("rplayer4_point.png");
|
|
|
|
rockoutSet = true;
|
|
}
|
|
else if(rockoutSet)
|
|
{
|
|
pointer[0]->SetImage("player1_point.png");
|
|
pointer[1]->SetImage("player2_point.png");
|
|
pointer[2]->SetImage("player3_point.png");
|
|
pointer[3]->SetImage("player4_point.png");
|
|
|
|
rockoutSet = false;
|
|
}
|
|
ResumeGui();
|
|
}
|