mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-25 02:31:49 +01:00
documentation + menu fixes
This commit is contained in:
parent
d21047daed
commit
5bac6a3faf
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 ();
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user