mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-08 20:45:07 +01:00
2543c555a4
* Added MEM2 support by Hibern * Better partition support (by oggzee) * Support for subdirectories in FAT32 (by oggzee) * Added support for cios 223 and 250 * Added BCA support (go to Settings->Custom Paths) to change the path of the BCA files (by Hermes) * Fixed issue with hairless mode * Fixed issue with IOS_ReloadIOSsafe (by giantpune) * Added setting to save games in a subdirectory * Fixed slow startup when loading from FAT (WiiTDB required!) * Changed handling of new titles a bit (speed improvement) Known issue: * FAT rename and re-id broken again due to subdirectory support (yes, I'm lazy)
36 lines
540 B
C++
36 lines
540 B
C++
#ifndef _NEWTITLES_H
|
|
#define _NEWTITLES_H
|
|
|
|
#include <time.h>
|
|
|
|
class NewTitles
|
|
{
|
|
public:
|
|
static NewTitles *Instance();
|
|
static void DestroyInstance();
|
|
|
|
void Save();
|
|
void CheckGame(u8 *titleid);
|
|
bool IsNew(u8 *titleid);
|
|
void Remove(u8 *titleid);
|
|
private:
|
|
NewTitles();
|
|
~NewTitles();
|
|
|
|
static NewTitles *instance;
|
|
|
|
class Title {
|
|
public:
|
|
u8 titleId[6];
|
|
time_t timestamp;
|
|
void *next;
|
|
};
|
|
|
|
Title *firstTitle;
|
|
Title *lastTitle;
|
|
bool isDirty;
|
|
bool isNewFile;
|
|
};
|
|
|
|
#endif //_NEWTITLES_H
|