mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-05 02:15:07 +01:00
documentation + menu fixes
This commit is contained in:
parent
d21047daed
commit
5bac6a3faf
@ -22,8 +22,6 @@
|
||||
***************************************************************************/
|
||||
#include "shared.h"
|
||||
|
||||
#include <sys/dir.h>
|
||||
|
||||
#ifdef HW_RVL
|
||||
#define CONFIG_VERSION "GENPLUS 1.3.0W"
|
||||
#else
|
||||
|
@ -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;
|
||||
|
@ -30,8 +30,6 @@
|
||||
#include "dvd.h"
|
||||
#endif
|
||||
|
||||
#include <sys/dir.h>
|
||||
|
||||
/* Support for MemCards */
|
||||
/**
|
||||
* libOGC System Work Area
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 ();
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user