Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1614,6 +1614,8 @@ list(APPEND NativeAppSource
UI/IAPScreen.h
UI/MainScreen.h
UI/MainScreen.cpp
UI/MemoryScannerScreen.h
UI/MemoryScannerScreen.cpp
UI/GameBrowser.h
UI/GameBrowser.cpp
UI/MiscScreens.h
Expand Down Expand Up @@ -2156,6 +2158,8 @@ add_library(${CoreLibName} ${CoreLinkType}
Core/KeyMapDefaults.h
Core/LuaContext.cpp
Core/LuaContext.h
Core/MemoryScanner.cpp
Core/MemoryScanner.h
Core/RetroAchievements.h
Core/RetroAchievements.cpp
Core/TiltEventProcessor.h
Expand Down
8 changes: 5 additions & 3 deletions Core/Core.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@
<ClCompile Include="Config.cpp" />
<ClCompile Include="Core.cpp" />
<ClCompile Include="CoreTiming.cpp" />
<ClCompile Include="Cwcheat.cpp" />
<ClCompile Include="CwCheat.cpp" />
<ClCompile Include="MemoryScanner.cpp" />
<ClCompile Include="Debugger\Breakpoints.cpp" />
<ClCompile Include="Debugger\DisassemblyManager.cpp" />
<ClCompile Include="Debugger\SymbolMap.cpp">
Expand Down Expand Up @@ -1053,7 +1054,8 @@
<ClInclude Include="Core.h" />
<ClInclude Include="CoreParameter.h" />
<ClInclude Include="CoreTiming.h" />
<ClInclude Include="Cwcheat.h" />
<ClInclude Include="CwCheat.h" />
<ClInclude Include="MemoryScanner.h" />
<ClInclude Include="Debugger\Breakpoints.h" />
<ClInclude Include="Debugger\DebugInterface.h" />
<ClInclude Include="Debugger\DisassemblyManager.h" />
Expand Down Expand Up @@ -1308,4 +1310,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
26 changes: 19 additions & 7 deletions Core/Core.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,21 @@
<ClCompile Include="Debugger\SymbolMap.cpp">
<Filter>Debugger</Filter>
</ClCompile>
<ClCompile Include="Config.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="Core.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="CoreTiming.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="CwCheat.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="MemoryScanner.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="Loaders.cpp">
<Filter>Core</Filter>
</ClCompile>
Expand Down Expand Up @@ -339,9 +348,6 @@
<ClCompile Include="HLE\sceKernelAlarm.cpp">
<Filter>HLE\Kernel</Filter>
</ClCompile>
<ClCompile Include="Config.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="ELF\PrxDecrypter.cpp">
<Filter>ELF</Filter>
</ClCompile>
Expand Down Expand Up @@ -1593,6 +1599,9 @@
<ClInclude Include="System.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="Config.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="Core.h">
<Filter>Core</Filter>
</ClInclude>
Expand All @@ -1602,6 +1611,12 @@
<ClInclude Include="CoreTiming.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="CwCheat.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="MemoryScanner.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="Loaders.h">
<Filter>Core</Filter>
</ClInclude>
Expand Down Expand Up @@ -1629,9 +1644,6 @@
<ClInclude Include="HLE\sceKernelAlarm.h">
<Filter>HLE\Kernel</Filter>
</ClInclude>
<ClInclude Include="Config.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="ELF\PrxDecrypter.h">
<Filter>ELF</Filter>
</ClInclude>
Expand Down Expand Up @@ -2278,4 +2290,4 @@
<Filter>Ext</Filter>
</Text>
</ItemGroup>
</Project>
</Project>
3 changes: 3 additions & 0 deletions Core/CwCheat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "Core/CoreTiming.h"
#include "Core/CoreParameter.h"
#include "Core/CwCheat.h"
#include "Core/MemoryScanner.h"
#include "Core/Config.h"
#include "Core/MemMapHelpers.h"
#include "Core/MIPS/MIPS.h"
Expand Down Expand Up @@ -327,6 +328,8 @@ void hleCheat(u64 userdata, int cyclesLate) {
g_Config.bReloadCheats = false;
}
cheatEngine->Run();

g_MemoryScanner.Update();
}

CWCheatEngine::CWCheatEngine(std::string_view gameID) : gameID_(gameID) {
Expand Down
Loading
Loading