Create Scratchpad
This commit is contained in:
7
include/PSX/System/Scratchpad.hpp
Normal file
7
include/PSX/System/Scratchpad.hpp
Normal file
@@ -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
|
Reference in New Issue
Block a user