Apply some lint n' stuff
This commit is contained in:
@@ -80,7 +80,8 @@ class XModule : public XObject {
|
||||
virtual X_STATUS GetSection(const char* name, uint32_t* out_section_data,
|
||||
uint32_t* out_section_size);
|
||||
|
||||
static object_ref<XModule> GetFromHModule(KernelState* kernel_state, void* hmodule);
|
||||
static object_ref<XModule> GetFromHModule(KernelState* kernel_state,
|
||||
void* hmodule);
|
||||
static uint32_t GetHandleFromHModule(void* hmodule);
|
||||
|
||||
protected:
|
||||
@@ -92,7 +93,7 @@ class XModule : public XObject {
|
||||
|
||||
xe::cpu::Module* processor_module_;
|
||||
|
||||
uint32_t hmodule_ptr_; // This points to LDR_DATA_TABLE_ENTRY.
|
||||
uint32_t hmodule_ptr_; // This points to LDR_DATA_TABLE_ENTRY.
|
||||
};
|
||||
|
||||
} // namespace kernel
|
||||
|
||||
@@ -516,9 +516,8 @@ struct xex2_header {
|
||||
struct xex2_loader_info {
|
||||
xe::be<uint32_t> header_size;
|
||||
xe::be<uint32_t> image_size;
|
||||
|
||||
};
|
||||
} // namespace kernel
|
||||
} // namespace xe
|
||||
} // namespace kernel
|
||||
} // namespace xe
|
||||
|
||||
#endif // XENIA_KERNEL_XEX2_INFO_H_
|
||||
|
||||
@@ -278,8 +278,8 @@ SHIM_CALL XexGetProcedureAddress_shim(PPCContext* ppc_context,
|
||||
auto string_name = reinterpret_cast<const char*>(SHIM_MEM_ADDR(ordinal));
|
||||
|
||||
if (is_string_name) {
|
||||
XELOGD("XexGetProcedureAddress(%.8X, %.8X(%s), %.8X)", hmodule,
|
||||
ordinal, string_name, out_function_ptr);
|
||||
XELOGD("XexGetProcedureAddress(%.8X, %.8X(%s), %.8X)", hmodule, ordinal,
|
||||
string_name, out_function_ptr);
|
||||
} else {
|
||||
XELOGD("XexGetProcedureAddress(%.8X, %.8X, %.8X)", hmodule, ordinal,
|
||||
out_function_ptr);
|
||||
|
||||
Reference in New Issue
Block a user