forked from MirisWisdom/HCE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from JerryBrick/extended_description_fix
Fix extended description
- Loading branch information
Showing
6 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
#include "extended_description_fix.hpp" | ||
#include "../chimera.hpp" | ||
#include "../signature/signature.hpp" | ||
#include "../signature/hook.hpp" | ||
|
||
namespace Chimera { | ||
void set_up_extended_description_fix() noexcept { | ||
auto &extended_description_index_sig = get_chimera().get_signature("extended_description_index_sig"); | ||
|
||
overwrite(extended_description_index_sig.data(), static_cast<std::uint8_t>(0x09)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
#ifndef CHIMERA_EXTENDED_DESCRIPTION_FIX_HPP | ||
#define CHIMERA_EXTENDED_DESCRIPTION_FIX_HPP | ||
|
||
namespace Chimera { | ||
/** | ||
* Fix the extended description index of the profile settings menu | ||
*/ | ||
void set_up_extended_description_fix() noexcept; | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters