Skip to content

Commit

Permalink
coreinit: Fix wrong/duplicate OSGetCodegenVirtAddrRange declaration, …
Browse files Browse the repository at this point in the history
…formatting
  • Loading branch information
Maschell authored and GaryOderNichts committed Jun 10, 2024
1 parent f17054e commit ed0c91d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/coreinit/codegen.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once

#include <wut.h>

/**
Expand Down Expand Up @@ -53,8 +54,8 @@ typedef enum OSCodegenSecMode
* - \link OSGetSecCodeGenMode \endlink
*/
void
OSCodegenGetVirtAddrRange(uint32_t* outVirtualAddress,
uint32_t* outSize);
OSGetCodegenVirtAddrRange(void **outVirtualAddress,
uint32_t *outSize);

/**
* Gets the CPU core that's allowed to use codegen.
Expand Down Expand Up @@ -119,10 +120,9 @@ OSGetSecCodeGenMode();
* <!-- NOTE this function has a specific bit required in cox.xml: 1 << 30? -->
*/
BOOL
OSCodegenCopy(void* dst, void* src, size_t size);

void
OSGetCodegenVirtAddrRange(void** outAddr, uint32_t* size);
OSCodegenCopy(void *dst,
void *src,
size_t size);

#ifdef __cplusplus
}
Expand Down

0 comments on commit ed0c91d

Please sign in to comment.