Replace include guards with pragma once

This commit is contained in:
2023-10-05 21:40:04 +02:00
parent b9cfbaec6b
commit c976141c51
42 changed files with 83 additions and 193 deletions

View File

@@ -1,8 +1,6 @@
#ifndef __JABYENGINE_SCRATCHPAD_HPP__
#define __JABYENGINE_SCRATCHPAD_HPP__
#pragma once
#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__
}