2011-06-14 19:53:19 +02:00
|
|
|
#include "GUI/gui.h"
|
2010-12-12 17:31:13 +01:00
|
|
|
#include "themes/CTheme.h"
|
|
|
|
#include "usbloader/GameList.h"
|
|
|
|
#include "settings/GameTitles.h"
|
|
|
|
#include "menu/menus.h"
|
|
|
|
|
2012-02-09 22:18:16 +01:00
|
|
|
void rockout(struct discHdr *header)
|
2010-12-12 17:31:13 +01:00
|
|
|
{
|
2011-07-26 00:28:22 +02:00
|
|
|
static bool rockoutSet = false;
|
2011-01-08 13:35:41 +01:00
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
HaltGui();
|
2010-12-12 17:31:13 +01:00
|
|
|
|
2012-02-09 22:18:16 +01:00
|
|
|
if (!rockoutSet && header &&
|
* Improved GameCube controller functions (patch by Dynamit)
R+Z=Screenshot, X=Gameinfo window, Y=Covers download
* Added Classic Controller and GameCube Controller support
in GameInfo window:
Right stick=3D Cover movement, X=Flip 3DCover 180°, L/R=Zoom
* Added Wifi6 and wifi10 pictures for GameInfo window.
(Thanks OriginalHamster)
* Added device priority selection for GameCube listing
in global Loader settings (SD->USB, or USB->SD)
* Added a "Use global" language setting for Gamecube games.
* Added support for USB devices with modified MBR's signature
to prevent WiiU's format message.
* Prevent Rockband cursor display on GameCube and WiiWare
games with "band" in the title (Crach bandicoot, Beach
Bandits, etc.)
* Added Dol's Video mode patcher in Loader/Game settings,
for games which couldn't be forced. (MadWorld, MotoGP08,
Mario Party 8, etc.)
♦ Region patch = Patches the dol's known video modes
to the region selected in "Video mode" setting,
but keep interlace/progressive references.
♦ ON = Patch all dol's known video modes to the one
selected in "Video mode" setting.
♦ ALL = Patch all dol's found video mode patterns
(even unknown video modes) to the one selected
in "Video mode" setting.
* DML: Updated DM(L) version detection up to v2.10
* DML: Automatically enable PADHook if Screenshot setting
is enabled
* DML: Fixed a bug where multiple video modes could be set
at the same time
* DEVO: Added a prompt if trying to launch a game from a
non FAT32 partition.
* DEVO: Added Direct Mapping Buttons setting (Devo r200+)
* DEVO: Added support for Language setting
* Language files updated: Chinese, French
2013-08-18 16:30:39 +02:00
|
|
|
header->id[0] != 'W' && header->id[0] != 'G' && // Exclude Wiiware and GameCube games
|
2012-02-09 22:18:16 +01:00
|
|
|
( strcasestr(GameTitles.GetTitle(header), "guitar")
|
|
|
|
|| strcasestr(GameTitles.GetTitle(header), "band")
|
|
|
|
|| strcasestr(GameTitles.GetTitle(header), "rock")))
|
2011-07-26 00:28:22 +02:00
|
|
|
{
|
2011-12-28 17:27:30 +01:00
|
|
|
pointer[0]->SetImage("rplayer1_point.png");
|
|
|
|
pointer[1]->SetImage("rplayer2_point.png");
|
|
|
|
pointer[2]->SetImage("rplayer3_point.png");
|
|
|
|
pointer[3]->SetImage("rplayer4_point.png");
|
2011-01-08 13:35:41 +01:00
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
rockoutSet = true;
|
|
|
|
}
|
|
|
|
else if(rockoutSet)
|
|
|
|
{
|
2011-12-28 17:27:30 +01:00
|
|
|
pointer[0]->SetImage("player1_point.png");
|
|
|
|
pointer[1]->SetImage("player2_point.png");
|
|
|
|
pointer[2]->SetImage("player3_point.png");
|
|
|
|
pointer[3]->SetImage("player4_point.png");
|
2011-01-08 13:35:41 +01:00
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
rockoutSet = false;
|
|
|
|
}
|
|
|
|
ResumeGui();
|
2010-12-12 17:31:13 +01:00
|
|
|
}
|