Better minidumps and playerdata stuff.

This commit is contained in:
momo5502 2016-11-05 14:45:38 +01:00
parent 291bcdc7ac
commit dbd641fd02
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include "STDInclude.hpp" #include "STDInclude.hpp"
#include "Shlwapi.h" #include "Shlwapi.h"
const int MiniDumpTiny = MiniDumpFilterMemory | MiniDumpWithoutAuxiliaryState | MiniDumpWithoutOptionalData | MiniDumpFilterModulePaths | MiniDumpIgnoreInaccessibleMemory; const int MiniDumpTiny = MiniDumpIgnoreInaccessibleMemory | /*MiniDumpWithModuleHeaders |*/ MiniDumpWithUnloadedModules | MiniDumpWithThreadInfo | MiniDumpWithFullMemoryInfo | MiniDumpWithHandleData | MiniDumpWithTokenInformation | MiniDumpWithProcessThreadData | MiniDumpWithFullAuxiliaryState;
namespace Components namespace Components
{ {

View File

@ -336,6 +336,8 @@ namespace Components
Utils::Hook::Set<BYTE>(0x4C37F0, 0xC3); // GamerProfile_UpdateProfileAndSaveIfNeeded Utils::Hook::Set<BYTE>(0x4C37F0, 0xC3); // GamerProfile_UpdateProfileAndSaveIfNeeded
Utils::Hook::Set<BYTE>(0x633CA0, 0xC3); // GamerProfile_SetPercentCompleteMP Utils::Hook::Set<BYTE>(0x633CA0, 0xC3); // GamerProfile_SetPercentCompleteMP
Utils::Hook::Set<BYTE>(0x5AE212, 0xC3); // Profile reading
// GamerProfile_RegisterCommands // GamerProfile_RegisterCommands
// Some random function used as nullsub :P // Some random function used as nullsub :P
Utils::Hook::Set<DWORD>(0x45B868, 0x5188FB); // profile_menuDvarsSetup Utils::Hook::Set<DWORD>(0x45B868, 0x5188FB); // profile_menuDvarsSetup
@ -394,12 +396,10 @@ namespace Components
QuickPatch::UnlockStats(); QuickPatch::UnlockStats();
}); });
#if DEBUG
Command::Add("crash", [] (Command::Params) Command::Add("crash", [] (Command::Params)
{ {
throw new std::exception(); throw new std::exception();
}); });
#endif
// Dvars // Dvars
Dvar::Register<bool>("ui_streamFriendly", 0, Game::DVAR_FLAG_SAVED, "Stream friendly UI"); Dvar::Register<bool>("ui_streamFriendly", 0, Game::DVAR_FLAG_SAVED, "Stream friendly UI");