jabyengine/include/PSX/System/scratchpad.hpp

6 lines
196 B
C++

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