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 "shared.h"
#include <sys/dir.h>
#ifdef HW_RVL #ifdef HW_RVL
#define CONFIG_VERSION "GENPLUS 1.3.0W" #define CONFIG_VERSION "GENPLUS 1.3.0W"
#else #else

View File

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

View File

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

View File

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

View File

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

View File

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