mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Couple more minor warning fixes.
This commit is contained in:
1 parent
6477f608bc
commit
d8dd889bfd
3 files changed
+3
-3
No files matched your search
@@ -2709,7 +2709,7 @@ void ActionAfterCallback::run(MipsCall &call) {
|
||||
// Returns true if any callbacks were processed on the current thread.
|
||||
bool __KernelCheckThreadCallbacks(Thread *thread, bool force)
|
||||
{
|
||||
if (!thread->isProcessingCallbacks && !force)
|
||||
if (!thread || (!thread->isProcessingCallbacks && !force))
|
||||
return false;
|
||||
|
||||
for (int i = 0; i < THREAD_CALLBACK_NUM_TYPES; i++) {
|
||||
|
||||
@@ -1403,7 +1403,7 @@ int sceMp3Decode(u32 mp3, u32 outPcmPtr)
|
||||
// TODO: Actually decode the data
|
||||
#ifdef _DEBUG
|
||||
char fileName[256];
|
||||
sprintf(fileName, "%i.mp3", ctx->mp3StreamPosition);
|
||||
sprintf(fileName, "%lli.mp3", ctx->mp3StreamPosition);
|
||||
|
||||
FILE * file = fopen(fileName, "wb");
|
||||
if(file) {
|
||||
|
||||
+1
-1
Submodule native updated: 1ec67d5ac2...22136ff257.
Reference in new issue
Block a user