mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
cccf216dbb
commit
ae0577bc16
|
@ -50,15 +50,11 @@ int cmode;
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Interface //
|
||||
|
||||
char *LibName = "cdvdGigaherz "
|
||||
char LibName[] = "cdvdGigaherz "
|
||||
#ifdef PCSX2_DEBUG
|
||||
" 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;
|
||||
|
|
|
@ -333,7 +333,7 @@ s32 cdvdGetMediaType()
|
|||
|
||||
s32 cdvdRefreshData()
|
||||
{
|
||||
char *diskTypeName = "Unknown";
|
||||
const char *diskTypeName = "Unknown";
|
||||
|
||||
//read TOC from device
|
||||
cdvdParseTOC();
|
||||
|
|
Loading…
Reference in New Issue