mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 18:31:56 +01:00
79a7fd9017
This should fix the weird freezes and crashes while installing. The ProgressWindow is now in its own thread and updates the values fast again. *Added Speed to InstallProgressWindow Lets see who got the fastest WiiDiskDrive :P (i got up to 5.8MB/s)
23 lines
698 B
C
23 lines
698 B
C
/****************************************************************************
|
|
* ProgressWindow
|
|
* USB Loader GX 2009
|
|
*
|
|
* ProgressWindow.h
|
|
***************************************************************************/
|
|
|
|
#ifndef _PROGRESSWINDOW_H_
|
|
#define _PROGRESSWINDOW_H_
|
|
|
|
#define KBSIZE 1024.0
|
|
#define MBSIZE 1048576.0
|
|
#define GBSIZE 1073741824.0
|
|
|
|
void InitProgressThread();
|
|
void ExitProgressThread();
|
|
void SetupGameInstallProgress(char * titl, char * game);
|
|
void ShowProgress (const char *title, const char *msg1, const char *msg2,
|
|
f32 done, f32 total, bool swSize = false, bool swTime = false);
|
|
void ProgressStop();
|
|
|
|
#endif
|