[Kernel] Added option to load provided XAM for resource usage

- Added XEX1 key
- Removed annoying assertion from xeXamEnumerate
- Added returning hmodule_ptr for resource locator
This commit is contained in:
Gliniak
2025-05-20 12:55:02 +02:00
committed by Radosław Gliński
parent 97a45315e3
commit f4b854e484
5 changed files with 29 additions and 13 deletions

View File

@@ -244,7 +244,7 @@ class XexModule : public xe::cpu::Module {
friend struct XexInfoCache;
void ReadSecurityInfo();
int ReadImage(const void* xex_addr, size_t xex_length, bool use_dev_key);
int ReadImage(const void* xex_addr, size_t xex_length, const uint8_t* key);
int ReadImageUncompressed(const void* xex_addr, size_t xex_length);
int ReadImageBasicCompressed(const void* xex_addr, size_t xex_length);
int ReadImageCompressed(const void* xex_addr, size_t xex_length);