NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
OSAddress.h
1
#ifndef RVL_SDK_OS_ADDRESS_H
2
#define RVL_SDK_OS_ADDRESS_H
3
#include <types.h>
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
static
inline
void
* OSPhysicalToCached(u32 ofs) {
9
return
(
void
*)(ofs + 0x80000000);
10
}
11
12
static
inline
void
* OSPhysicalToUncached(u32 ofs) {
13
return
(
void
*)(ofs + 0xC0000000);
14
}
15
16
static
inline
void
* OSCachedToPhysical(
const
void
* ofs) {
17
return
(u8*)ofs - 0x80000000;
18
}
19
20
#ifdef __cplusplus
21
}
22
#endif
23
#endif
include
lib
revolution
OS
OSAddress.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2