mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-09-09 09:03:20 +02:00
![dimok321](/assets/img/avatar_default.png)
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
|