mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Kernel] Implemented RtlDowncaseUnicodeChar
This commit is contained in:
parent
c3e4a93c0a
commit
a717c0cd9f
|
|
@ -7,6 +7,8 @@
|
|||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <cwctype>
|
||||
|
||||
#include "xenia/kernel/xboxkrnl/xboxkrnl_rtl.h"
|
||||
|
||||
#include "xenia/base/atomic.h"
|
||||
|
|
@ -392,6 +394,11 @@ dword_result_t RtlUnicodeToMultiByteN_entry(pointer_t<uint8_t> destination_ptr,
|
|||
DECLARE_XBOXKRNL_EXPORT3(RtlUnicodeToMultiByteN, kNone, kImplemented,
|
||||
kHighFrequency, kSketchy);
|
||||
|
||||
dword_result_t RtlDowncaseUnicodeChar_entry(word_t unicode_char) {
|
||||
return std::towlower(unicode_char);
|
||||
}
|
||||
DECLARE_XBOXKRNL_EXPORT1(RtlDowncaseUnicodeChar, kNone, kImplemented);
|
||||
|
||||
// https://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Executable%20Images/RtlImageNtHeader.html
|
||||
static XIMAGE_NT_HEADERS32* ImageNtHeader(uint8_t* module) {
|
||||
if (!module) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue