Locate XEBRA freeze
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#ifndef BOOT_LOADER_HPP
|
||||
#define BOOT_LOADER_HPP
|
||||
#include "color_debug.hpp"
|
||||
#include <PSX/jabyengine.hpp>
|
||||
|
||||
namespace JabyEngine {
|
||||
|
||||
@@ -3,20 +3,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
namespace JabyEngine {
|
||||
#define __debug_boot_color_at(color, diag) { \
|
||||
::JabyEngine::GPU::internal::quick_fill_fast(color, {{diag*64, diag*64}, {64, 64}}); \
|
||||
#define __debug_boot_color_at(color, x, y, scale) { \
|
||||
::JabyEngine::GPU::internal::quick_fill_fast(color, {{64*x, 64*y}, {static_cast<uint16_t>(64*scale), static_cast<uint16_t>(64*scale)}}); \
|
||||
}
|
||||
|
||||
#define __debug_boot_print_at(color, diag, ...) { \
|
||||
__debug_boot_color_at(color, diag); \
|
||||
#define __debug_boot_print_at(color, x, y, scale, ...) { \
|
||||
__debug_boot_color_at(color, x, y, scale); \
|
||||
printf(__VA_ARGS__); \
|
||||
}
|
||||
|
||||
#define __debug_boot_color0(color) __debug_boot_color_at(color, 0)
|
||||
#define __debug_boot_color1(color) __debug_boot_color_at(color, 1)
|
||||
#define __debug_boot_color2(color) __debug_boot_color_at(color, 2)
|
||||
|
||||
#define __debug_boot_print0(color, ...) __debug_boot_print_at(color, 0, __VA_ARGS__)
|
||||
#define __debug_boot_print1(color, ...) __debug_boot_print_at(color, 1, __VA_ARGS__)
|
||||
#define __debug_boot_print2(color, ...) __debug_boot_print_at(color, 2, __VA_ARGS__)
|
||||
}
|
||||
Reference in New Issue
Block a user