mirror of
https://github.com/Team-Resurgent/xbmc4xbox-redux.git
synced 2026-08-15 20:18:49 -07:00
[Trainers] cleanup: remove duplicate code from utils
This commit is contained in:
@@ -1046,7 +1046,7 @@ HRESULT CApplication::Create(HWND hWnd)
|
||||
F_VIDEO ForceVideo = VIDEO_NULL;
|
||||
F_COUNTRY ForceCountry = COUNTRY_NULL;
|
||||
|
||||
if (CUtil::RemoveTrainer())
|
||||
if (CTrainer::RemoveTrainer())
|
||||
bNeedReboot = true;
|
||||
|
||||
// now check if we are switching video modes. if, are we in the wrong mode according to eeprom?
|
||||
|
||||
-484
File diff suppressed because it is too large
Load Diff
@@ -43,7 +43,6 @@ namespace XFILE
|
||||
class CFileItem;
|
||||
class CFileItemList;
|
||||
class CURL;
|
||||
class CTrainer;
|
||||
|
||||
// for 'cherry' patching
|
||||
typedef enum
|
||||
@@ -81,8 +80,6 @@ public:
|
||||
static CStdString GetTitleFromPath(const CURL& url, bool bIsFolder = false);
|
||||
static CStdString GetTitleFromPath(const CStdString& strFileNameAndPath, bool bIsFolder = false);
|
||||
static void GetQualifiedFilename(const std::string &strBasePath, std::string &strFilename);
|
||||
static bool InstallTrainer(CTrainer& trainer);
|
||||
static bool RemoveTrainer();
|
||||
static bool PatchCountryVideo(F_COUNTRY Country, F_VIDEO Video);
|
||||
static void RunShortcut(const char* szPath);
|
||||
static void RunXBE(const char* szPath, char* szParameters = NULL, F_VIDEO ForceVideo=VIDEO_NULL, F_COUNTRY ForceCountry=COUNTRY_NULL, CUSTOM_LAUNCH_DATA* pData=NULL);
|
||||
|
||||
Reference in New Issue
Block a user