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 // // Plugin Interface //
char *LibName = "cdvdGigaherz " char LibName[] = "cdvdGigaherz "
#ifdef PCSX2_DEBUG #ifdef PCSX2_DEBUG
" Debug " " Debug "
#endif #endif
"(" TOSTR(SVN_REV) "(" TOSTR(SVN_REV) ")";
#if SVN_MODS
"/modded"
#endif
")";
const unsigned char version = PS2E_CDVD_VERSION; const unsigned char version = PS2E_CDVD_VERSION;
const unsigned char revision = 0; const unsigned char revision = 0;

View File

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