cleaned some code
This commit is contained in:
parent
284740c373
commit
a4647ef3e2
|
@ -94,11 +94,12 @@ static DECLFR(JPRead)
|
||||||
|
|
||||||
ret|=joyports[A&1].driver->Read(A&1);
|
ret|=joyports[A&1].driver->Read(A&1);
|
||||||
|
|
||||||
|
/* this code effectively does nothing as zzz is never used
|
||||||
if(!(A&1) && ret)
|
if(!(A&1) && ret)
|
||||||
{
|
{
|
||||||
int zzz=9;
|
int zzz=9;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if(portFC.driver)
|
if(portFC.driver)
|
||||||
ret = portFC.driver->Read(A&1,ret);
|
ret = portFC.driver->Read(A&1,ret);
|
||||||
|
|
||||||
|
@ -822,7 +823,7 @@ FCEUI_LoadMovie(0, 0, 0);
|
||||||
|
|
||||||
static void CommandSoundAdjust(void)
|
static void CommandSoundAdjust(void)
|
||||||
{
|
{
|
||||||
int n;
|
int n=0;
|
||||||
switch(execcmd)
|
switch(execcmd)
|
||||||
{
|
{
|
||||||
case EMUCMD_SOUND_VOLUME_UP: n=1; break;
|
case EMUCMD_SOUND_VOLUME_UP: n=1; break;
|
||||||
|
|
Loading…
Reference in New Issue