From fb98d402a02c446767a970d7d642749f7e3abcf0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 23 Sep 2015 03:51:10 -0400 Subject: [PATCH] Remove unimplemented function declarations --- Source/Common/Log Class.h | 1 - Source/Project64/N64 System/Mips/Memory Virtual Mem.h | 1 - Source/Project64/N64 System/N64 Class.cpp | 1 - Source/Project64/N64 System/N64 Class.h | 7 ------- Source/Project64/N64 System/Recompiler/Code Block.h | 1 - Source/Project64/N64 System/Recompiler/Code Section.h | 1 - .../Project64/N64 System/Recompiler/Recompiler Class.h | 9 --------- Source/Project64/N64 System/Recompiler/Recompiler Ops.h | 1 - Source/Project64/Plugins/RSP Plugin.h | 1 - Source/Project64/User Interface/Rom Browser.h | 1 - 10 files changed, 24 deletions(-) diff --git a/Source/Common/Log Class.h b/Source/Common/Log Class.h index 1ba18d229..e507ef1a6 100644 --- a/Source/Common/Log Class.h +++ b/Source/Common/Log Class.h @@ -25,7 +25,6 @@ public: void LogF ( LPCTSTR Message, ... ); void LogArgs ( LPCTSTR Message, va_list & args ); bool Empty ( void ); - void Reset ( void ); void Close ( void ); inline void SetMaxFileSize ( ULONG Size ) diff --git a/Source/Project64/N64 System/Mips/Memory Virtual Mem.h b/Source/Project64/N64 System/Mips/Memory Virtual Mem.h index 34ff27fc2..128983cb2 100644 --- a/Source/Project64/N64 System/Mips/Memory Virtual Mem.h +++ b/Source/Project64/N64 System/Mips/Memory Virtual Mem.h @@ -67,7 +67,6 @@ public: //Compilation Functions void ResetMemoryStack(); - void ResetTLB(); void Compile_LB(); void Compile_LBU(); diff --git a/Source/Project64/N64 System/N64 Class.cpp b/Source/Project64/N64 System/N64 Class.cpp index f2bdd8c0b..777f34d93 100644 --- a/Source/Project64/N64 System/N64 Class.cpp +++ b/Source/Project64/N64 System/N64 Class.cpp @@ -1389,7 +1389,6 @@ void CN64System::DumpSyncErrors (CN64System * SecondCPU) g_Notify->DisplayError(L"Sync Error"); g_Notify->BreakPoint(__FILEW__,__LINE__); -// AddEvent(CloseCPU); } bool CN64System::SaveState() diff --git a/Source/Project64/N64 System/N64 Class.h b/Source/Project64/N64 System/N64 Class.h index 4693098cf..f262c230a 100644 --- a/Source/Project64/N64 System/N64 Class.h +++ b/Source/Project64/N64 System/N64 Class.h @@ -100,7 +100,6 @@ private: void ExecuteCPU (); void RefreshScreen (); - bool InternalEvent (); void DumpSyncErrors ( CN64System * SecondCPU ); void StartEmulation2 ( bool NewThread ); bool SetActiveSystem ( bool bActive = true ); @@ -111,12 +110,6 @@ private: void ExecuteInterpret(); void ExecuteSyncCPU(); - void AddEvent(SystemEvent Event); - - //Notification of changing conditions - void FunctionStarted(DWORD NewFuncAddress, DWORD OldFuncAddress, DWORD ReturnAddress); - void FunctionEnded(DWORD ReturnAddress, DWORD StackPos); - //Mark information saying that the CPU has stopped void CpuStopped(); diff --git a/Source/Project64/N64 System/Recompiler/Code Block.h b/Source/Project64/N64 System/Recompiler/Code Block.h index 326979c5c..fe80196e9 100644 --- a/Source/Project64/N64 System/Recompiler/Code Block.h +++ b/Source/Project64/N64 System/Recompiler/Code Block.h @@ -52,7 +52,6 @@ private: void DetermineLoops (); void LogSectionInfo (); bool SetSection ( CCodeSection * & Section, CCodeSection * CurrentSection, DWORD TargetPC, bool LinkAllowed, DWORD CurrentPC ); - bool SetJumpInfo ( CCodeSection * & Section, DWORD TargetPC, DWORD CurrentPC ); bool AnalyzeInstruction ( DWORD PC, DWORD & TargetPC, DWORD & ContinuePC, bool & LikelyBranch, bool & IncludeDelaySlot, bool & EndBlock, bool & PermLoop ); diff --git a/Source/Project64/N64 System/Recompiler/Code Section.h b/Source/Project64/N64 System/Recompiler/Code Section.h index 3ab11c7a9..979aafd9d 100644 --- a/Source/Project64/N64 System/Recompiler/Code Section.h +++ b/Source/Project64/N64 System/Recompiler/Code Section.h @@ -25,7 +25,6 @@ public: void SetJumpAddress ( DWORD JumpPC, DWORD TargetPC, bool PermLoop ); void SetContinueAddress ( DWORD JumpPC, DWORD TargetPC ); void CompileCop1Test (); - bool CreateSectionLinkage (); bool GenerateX86Code ( DWORD Test ); void GenerateSectionLinkage (); void CompileExit ( DWORD JumpPC, DWORD TargetPC, CRegInfo &ExitRegSet, CExitInfo::EXIT_REASON reason, bool CompileNow, void (*x86Jmp)(const char * Label, DWORD Value)); diff --git a/Source/Project64/N64 System/Recompiler/Recompiler Class.h b/Source/Project64/N64 System/Recompiler/Recompiler Class.h index d1f40fa58..0f17d71b9 100644 --- a/Source/Project64/N64 System/Recompiler/Recompiler Class.h +++ b/Source/Project64/N64 System/Recompiler/Recompiler Class.h @@ -39,8 +39,6 @@ public: void Reset(); void ResetRecompCode(bool bAllocate); - bool GenerateX86Code (CCodeBlock & BlockInfo, CCodeSection * Section, DWORD Test ); - //Self modifying code methods void ClearRecompCode_Virt ( DWORD VirtualAddress, int length, REMOVE_REASON Reason ); void ClearRecompCode_Phys ( DWORD PhysicalAddress, int length, REMOVE_REASON Reason ); @@ -55,11 +53,6 @@ private: CRecompiler& operator=(const CRecompiler&); // Disable assignment CCompiledFunc * CompilerCode(); - bool Compiler4300iBlock ( CCompiledFunc * info ); - - // Compiling code - bool CreateSectionLinkage ( CCodeSection * Section ); - bool DisplaySectionInformation (CCodeSection * Section, DWORD ID, DWORD Test); // Main loops for the different look up methods void RecompilerMain_VirtualTable(); @@ -70,8 +63,6 @@ private: void RecompilerMain_Lookup_validate(); void RecompilerMain_Lookup_validate_TLB(); - void RemoveFunction (CCompiledFunc * FunInfo, bool DelaySlot, REMOVE_REASON Reason ); - CCompiledFuncList m_Functions; CRegisters & m_Registers; CProfiling & m_Profile; diff --git a/Source/Project64/N64 System/Recompiler/Recompiler Ops.h b/Source/Project64/N64 System/Recompiler/Recompiler Ops.h index b01ed89d0..6ce00179c 100644 --- a/Source/Project64/N64 System/Recompiler/Recompiler Ops.h +++ b/Source/Project64/N64 System/Recompiler/Recompiler Ops.h @@ -203,7 +203,6 @@ protected: static void ExitCodeBlock(); static void CompileReadTLBMiss(DWORD VirtualAddress, x86Reg LookUpReg); static void CompileReadTLBMiss(x86Reg AddressReg, x86Reg LookUpReg); - static void CompileWriteTLBMiss(DWORD VirtualAddress, x86Reg LookUpReg); static void CompileWriteTLBMiss(x86Reg AddressReg, x86Reg LookUpReg); static void UpdateSyncCPU(CRegInfo & RegSet, DWORD Cycles); static void UpdateCounters(CRegInfo & RegSet, bool CheckTimer, bool ClearValues = false); diff --git a/Source/Project64/Plugins/RSP Plugin.h b/Source/Project64/Plugins/RSP Plugin.h index 690d0b48d..bdc963807 100644 --- a/Source/Project64/Plugins/RSP Plugin.h +++ b/Source/Project64/Plugins/RSP Plugin.h @@ -66,7 +66,6 @@ private: virtual int GetSettingStartRange() const { return FirstRSPSettings; } bool LoadFunctions ( void ); - bool Initiate_1_0 ( CPlugins * Plugins, CN64System * System ); void UnloadPluginDetails ( void ); RSPDEBUG_INFO m_RSPDebug; diff --git a/Source/Project64/User Interface/Rom Browser.h b/Source/Project64/User Interface/Rom Browser.h index 05d651a53..f0df7e4fa 100644 --- a/Source/Project64/User Interface/Rom Browser.h +++ b/Source/Project64/User Interface/Rom Browser.h @@ -208,7 +208,6 @@ public: void ShowRomList ( void ); bool ShowingRomBrowser ( void ) { return m_ShowingRomBrowser; } LPCSTR CurrentedSelectedRom ( void ) { return m_SelectedRom.c_str(); } - void Store7ZipInfo ( C7zip & ZipFile, int FileNo ); static void GetFieldInfo ( ROMBROWSER_FIELDS_LIST & Fields, bool UseDefault = false ); };