mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Warning fixes
This commit is contained in:
1 parent
04ef18a9d9
commit
ebc151f8f2
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -730,7 +730,7 @@ void Core_MemoryExceptionHLE(MIPSState *mips, u32 address, u32 accessSize, Memor
|
||||
const HLEFunction *func = HLEGetFunctionBeingCalled();
|
||||
const char *funcName = func ? func->name : "unknown";
|
||||
|
||||
char args[512] = "";
|
||||
char args[256] = "";
|
||||
if (func) {
|
||||
HLEFormatLogArgs(mips, args, sizeof(args), func->argmask);
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ static void waves_synth(Atrac3pWaveSynthParams *synth_param,
|
||||
: 1.0f);
|
||||
|
||||
inc = wave_param->freq_index;
|
||||
pos = DEQUANT_PHASE(wave_param->phase_index) - (reg_offset ^ 128) * inc & 2047;
|
||||
pos = (DEQUANT_PHASE(wave_param->phase_index) - (reg_offset ^ 128) * inc) & 2047;
|
||||
|
||||
/* waveform generation */
|
||||
for (i = 0; i < 128; i++) {
|
||||
|
||||
Reference in new issue
Block a user