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 //
|
// 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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue