cdvdgigaherz: Fix write-strings warnings

Too bad I can't change PS2Edef.h to use a const char*.

Also remove SVN_MOD ifdef from version string.
This commit is contained in:
Jonathan Li 2016-10-26 17:31:26 +01:00
parent cccf216dbb
commit ae0577bc16
2 changed files with 4 additions and 8 deletions

View File

@ -50,15 +50,11 @@ int cmode;
///////////////////////////////////////////////////////////////////////////////
// Plugin Interface //
char *LibName = "cdvdGigaherz "
char LibName[] = "cdvdGigaherz "
#ifdef PCSX2_DEBUG
" Debug "
#endif
"(" TOSTR(SVN_REV)
#if SVN_MODS
"/modded"
#endif
")";
"(" TOSTR(SVN_REV) ")";
const unsigned char version = PS2E_CDVD_VERSION;
const unsigned char revision = 0;

View File

@ -333,7 +333,7 @@ s32 cdvdGetMediaType()
s32 cdvdRefreshData()
{
char *diskTypeName = "Unknown";
const char *diskTypeName = "Unknown";
//read TOC from device
cdvdParseTOC();