Create Scratchpad
This commit is contained in:
parent
d6259b22f5
commit
d1318dea9c
|
@ -0,0 +1,7 @@
|
|||
#ifndef __JABYENGINE_SCRATCHPAD_HPP__
|
||||
#define __JABYENGINE_SCRATCHPAD_HPP__
|
||||
#include "../jabyengine_defines.h"
|
||||
|
||||
static __always_inline auto& ScratchPad = reinterpret_cast<uint8_t(&)[1024]>(*reinterpret_cast<uint8_t*>(0x1F800000));
|
||||
|
||||
#endif //!__JABYENGINE_SCRATCHPAD_HPP__
|
|
@ -13,10 +13,4 @@
|
|||
#else
|
||||
#define __constexpr
|
||||
#endif
|
||||
|
||||
//uint<real bits>_<used bits>b;
|
||||
typedef uint8_t uint8_5b;
|
||||
typedef uint8_t uint8_4b;
|
||||
typedef uint8_t uint8_2b;
|
||||
|
||||
#endif //!__JABYENGINE_DEFINES__H
|
Loading…
Reference in New Issue