Skip to content

Commit

Permalink
Fix for latest vitasdk support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinnegatamante committed Feb 1, 2021
1 parent df1184c commit 459dd37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/SysVita/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ int download_file(char *url, char *file, char *msg, float int_total_bytes, bool
if (total_bytes != 0xFFFFFFFF) int_total_bytes = total_bytes;
DrawDownloaderScreenCompat(downloaded_bytes, downloaded_bytes > int_total_bytes ? downloaded_bytes : int_total_bytes, msg);
res = sceKernelGetThreadInfo(thd, &info);
} while (info.status <= SCE_THREAD_STOPPED && res >= 0);
} while (info.status <= SCE_THREAD_DORMANT && res >= 0);

ImGui::GetIO().MouseDrawCursor = true;

Expand Down Expand Up @@ -442,7 +442,7 @@ static void Initialize()
if (downloader_pass == UPDATER_CHECK_UPDATES) DrawDownloaderScreen(downloader_pass + 1, downloaded_bytes, total_bytes, lang_strings[STR_DOWNLOADER_CHECK_UPDATE], NUM_UPDATE_PASSES);
else DrawDownloaderScreen(downloader_pass + 1, downloaded_bytes, total_bytes, lang_strings[STR_DOWNLOADER_UPDATE], NUM_UPDATE_PASSES);
res = sceKernelGetThreadInfo(thd, &info);
} while (info.status <= SCE_THREAD_STOPPED && res >= 0);
} while (info.status <= SCE_THREAD_DORMANT && res >= 0);
total_bytes = 0xFFFFFFFF;
downloaded_bytes = 0;
downloader_pass = 1;
Expand All @@ -465,7 +465,7 @@ static void Initialize()
do {
DrawDownloaderScreen(downloader_pass, downloaded_bytes, total_bytes, lang_strings[STR_DOWNLOADER_COMPAT_LIST], NUM_DB_CHUNKS);
res = sceKernelGetThreadInfo(thd, &info);
} while (info.status <= SCE_THREAD_STOPPED && res >= 0);
} while (info.status <= SCE_THREAD_DORMANT && res >= 0);
}

ImGui::GetIO().MouseDrawCursor = true;
Expand Down

0 comments on commit 459dd37

Please sign in to comment.