Couple more minor warning fixes.

This commit is contained in:
Unknown W. Brackets committed 2013-03-15 08:19:02 -07:00
1 parent 6477f608bc
commit d8dd889bfd
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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++) {
+1 -1
View File
@@ -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.