pokemon/vram.hpp
Zack Buhman 0b61a59117 font: initial
the fonts are loaded, but nothing is drawn.
2023-07-29 06:38:45 +00:00

15 lines
341 B
C++

#pragma once
#include "start_size.hpp"
constexpr inline uint16_t rgb15(int32_t r, int32_t g, int32_t b)
{
return ((b & 31) << 10) | ((g & 31) << 5) | ((r & 31) << 0);
}
void palette_data();
uint32_t character_pattern_table(const start_size_t& buf, const uint32_t top);
uint32_t cell_data(const start_size_t& buf, const uint32_t top);