mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-25 20:56:53 +01:00
1cc7d3acd6
* Added initial (untested!) support for the zip file format, which is supported by the HBC * Began working on compressed wad files. Uncompressing fails for now, so uploading WAD files should be done with the previous version of Wiiload. * Fixed issue 902 (hence the large commit).
61 lines
1.7 KiB
C
61 lines
1.7 KiB
C
/*
|
|
* Copyright (C) 2008 Nuke (wiinuke@gmail.com)
|
|
*
|
|
* this file is part of GeckoOS for USB Gecko
|
|
* http://www.usbgecko.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __GECKOMENU_H__
|
|
#define __GECKOMENU_H__
|
|
|
|
|
|
#define ROOTMENU 0
|
|
#define ABOUTMENU 1
|
|
#define CONFIGMENU 2
|
|
#define REBOOTMENU 3
|
|
#define root_itemcount 7
|
|
#define about_itemcount 4
|
|
#define config_itemcount 9
|
|
#define rebooter_itemcount 6
|
|
|
|
u32 currentmenu; // 0 ROOT
|
|
u32 rootmenu_item;
|
|
u32 menufreeze;
|
|
u32 langselect;
|
|
u32 langsaved;
|
|
u32 pal60select;
|
|
u32 pal50select;
|
|
u32 viselect;
|
|
u32 ntscselect;
|
|
u32 hookselect;
|
|
u32 ocarinaselect;
|
|
u32 recoveryselect;
|
|
u32 regionfreeselect;
|
|
u32 nocopyselect;
|
|
u32 buttonskipselect;
|
|
|
|
u32 doprogress(u32 progstate, u32 noelements);
|
|
void drawmenu(u32 menuid);
|
|
void drawselected(u32 menuidpos);
|
|
void processwpad();
|
|
void clearscreen(u32 *framebuffer, u16 xscreen, u16 yscreen, u16 width, u16 height, u32 color);
|
|
void drawicon(u32 *framebuffer, u16 xscreen, u16 yscreen, u16 width, u16 height, u32 gicon);
|
|
u32 CvtRGB (u8 r1, u8 g1, u8 b1, u8 r2, u8 g2, u8 b2);
|
|
|
|
|
|
#endif // __GECKOLOAD_H__
|