documentation + menu fixes

This commit is contained in:
ekeeke31 2008-12-14 18:23:07 +00:00
parent d21047daed
commit 5bac6a3faf
6 changed files with 10 additions and 13 deletions

View File

@ -22,8 +22,6 @@
***************************************************************************/
#include "shared.h"
#include <sys/dir.h>
#ifdef HW_RVL
#define CONFIG_VERSION "GENPLUS 1.3.0W"
#else

View File

@ -22,6 +22,7 @@
********************************************************************************/
#include "shared.h"
#include "font.h"
#ifdef HW_RVL
#include "di/di.h"
@ -89,6 +90,8 @@ u32 dvd_read (void *dst, u32 len, u64 offset)
****************************************************************************/
void dvd_motor_off( )
{
ShowAction("Stopping DVD drive...");
#ifndef HW_RVL
dvd[0] = 0x2e;
dvd[1] = 0;

View File

@ -30,8 +30,6 @@
#include "dvd.h"
#endif
#include <sys/dir.h>
/* Support for MemCards */
/**
* libOGC System Work Area

View File

@ -352,7 +352,7 @@ void SetScreen ()
void ClearScreen ()
{
whichfb ^= 1;
memcpy (xfb[whichfb], &backdrop, 1280 * 480);
memcpy (xfb[whichfb], backdrop, 1280 * 480);
back_framewidth = 440;
}

View File

@ -173,7 +173,7 @@ void DrawGGCodes ()
if (i == ggrow)
{
/*** Highlight selected ***/
WriteCentre_HL (i * fheight + 224, (char *)ggcodes[i]);
WriteCentre_HL (i * fheight + 190, (char *)ggcodes[i]);
/*** If editing, highlight the current character ***/
if (editing)
@ -185,14 +185,14 @@ void DrawGGCodes ()
for (j=0; j<gghpos[i]; j++) hpos += font_size[ggcodes[i][j]];
c[0] = ggcodes[i][gghpos[i]];
fntDrawBoxFilled (hpos, (i * fheight) + 224, hpos + font_size[c[0]],
((i + 1) * fheight) + 224, COLOR_YELLOW);
fntDrawBoxFilled (hpos, (i * fheight) + 190, hpos + font_size[c[0]],
((i + 1) * fheight) + 190, COLOR_YELLOW);
setfontcolour (COLOR_BLUE);
write_font (hpos, (i * fheight) + 224, (char *)c);
write_font (hpos, (i * fheight) + 190, (char *)c);
setfontcolour (COLOR_WHITE);
}
}
else WriteCentre ((i * fheight) + 224, (char *)ggcodes[i]);
else WriteCentre ((i * fheight) + 190, (char *)ggcodes[i]);
}
SetScreen ();
}

View File

@ -951,7 +951,6 @@ int loadmenu ()
sprintf(rom_filename,"%s",filelist[selection].filename);
rom_filename[strlen(rom_filename) - 4] = 0;
memfile_autoload();
memfile_autoload();
return 1;
}
break;
@ -979,7 +978,6 @@ int loadmenu ()
sprintf(rom_filename,"%s",filelist[selection].filename);
rom_filename[strlen(rom_filename) - 4] = 0;
memfile_autoload();
memfile_autoload();
return 1;
}
break;