jabyengine/include/PSX/System/scratchpad.hpp

8 lines
299 B
C++

#ifndef __JABYENGINE_SCRATCHPAD_HPP__
#define __JABYENGINE_SCRATCHPAD_HPP__
#include "../jabyengine_defines.h"
namespace JabyEngine {
static __always_inline auto& ScratchPad = reinterpret_cast<uint8_t(&)[1024]>(*reinterpret_cast<uint8_t*>(0x1F800000));
}
#endif //!__JABYENGINE_SCRATCHPAD_HPP__