mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
18a26d7e1a
*Rewrote complete main menu function *Moved ext2/3/4 disc cache to mem2 as on FAT/NTFS (added ext2 as custom lib due to that) *Added missing header files from R1011 for ext support *Fixed crash on Numpad when pressing a button *Fixed boot of WiiMC *Changed SVN line ending to LF (Unix style)
37 lines
669 B
C++
37 lines
669 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
|