cdvdgigaherz: Remove unneeded code

This commit is contained in:
Jonathan Li 2016-10-17 20:11:58 +01:00
parent 5dfb7d63dc
commit fb3580efa1
3 changed files with 0 additions and 14 deletions

View File

@ -137,7 +137,6 @@ bool weAreInNewDiskCB = false;
Source *src; Source *src;
char bfr[2352];
char throwaway[2352]; char throwaway[2352];
extern s32 prefetch_last_lba; extern s32 prefetch_last_lba;
extern s32 prefetch_last_mode; extern s32 prefetch_last_mode;

View File

@ -149,15 +149,10 @@ extern HINSTANCE hinst;
#define MSF_TO_LBA(m, s, f) ((m * 60 + s) * 75 + f - 150) #define MSF_TO_LBA(m, s, f) ((m * 60 + s) * 75 + f - 150)
s32 cdvdDirectReadSector(s32 first, s32 mode, char *buffer);
s32 cdvdGetMediaType();
void ReadSettings(); void ReadSettings();
void WriteSettings(); void WriteSettings();
void CfgSetSettingsDir(const char *dir); void CfgSetSettingsDir(const char *dir);
extern char csrc[];
extern bool cdvd_is_open; extern bool cdvd_is_open;
extern bool cdvdKeepAlive_is_open; extern bool cdvdKeepAlive_is_open;
extern bool disc_has_changed; extern bool disc_has_changed;

View File

@ -29,12 +29,6 @@ CRITICAL_SECTION CacheMutex;
DWORD pidThread = 0; DWORD pidThread = 0;
enum loadStatus {
LoadIdle,
LoadPending,
LoadSuccess,
};
typedef struct typedef struct
{ {
int lsn; int lsn;
@ -390,8 +384,6 @@ s32 cdvdGetMediaType()
return src->GetMediaType(); return src->GetMediaType();
} }
s32 refreshes = 0;
s32 cdvdRefreshData() s32 cdvdRefreshData()
{ {
char *diskTypeName = "Unknown"; char *diskTypeName = "Unknown";