Merge pull request #713 from reicast/feat/small-cleanups

Feat/small cleanups
This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2015-07-29 04:07:46 +02:00
commit 4b94e2fe37
4 changed files with 8 additions and 7 deletions

View File

@ -78,8 +78,9 @@ int setconfig(wchar** arg,int cl)
return rv;
}
if (value==0)
value="";
const wchar* constval = value;
if (constval==0)
constval="";
printf("Virtual cfg %s:%s=%s\n",sect,key,value);
cfgSetVitual(sect,key,value);

View File

@ -8,8 +8,8 @@ RZDCY_SRC_DIR ?= $(call my-dir)
RZDCY_MODULES := cfg/ hw/arm7/ hw/aica/ hw/holly/ hw/ hw/gdrom/ hw/maple/ \
hw/mem/ hw/pvr/ hw/sh4/ hw/sh4/interpr/ hw/sh4/modules/ plugins/ profiler/ oslib/ \
hw/extdev/ hw/arm/ imgread/ linux/ ./ deps/coreio/ deps/zlib/ deps/chdr/ deps/crypto/ deps/libelf/ deps/chdpsr/ arm_emitter/ \
deps/libzip/ deps/libpng/ rend/ reios/
hw/extdev/ hw/arm/ imgread/ linux/ ./ deps/coreio/ deps/zlib/ deps/chdr/ deps/crypto/ \
deps/libelf/ deps/chdpsr/ arm_emitter/ rend/ reios/ deps/libpng/
ifdef WEBUI
@ -48,7 +48,7 @@ else
endif
ifdef FOR_ANDROID
RZDCY_MODULES += android/ deps/libandroid/
RZDCY_MODULES += android/ deps/libandroid/ deps/libzip/
endif
ifdef FOR_LINUX

View File

@ -14,7 +14,7 @@
/*************************** HEADER FILES ***************************/
#include <stdlib.h>
#include <memory.h>
#include <string.h>
#include "sha256.h"
#define WORD uint32_t

View File

@ -563,7 +563,7 @@ struct ChannelEx
{
u32 oct=ccd->OCT;
update_rate = 1024 | ccd->FNS;
u32 update_rate = 1024 | ccd->FNS;
if (oct& 8)
update_rate>>=(16-oct);
else