add debug funcs
+ created debug funcs + created `registers` class + add it to build build not passed(
This commit is contained in:
@@ -28,7 +28,7 @@ int syscalls_drawLine(lua_State* L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void drawText(char* text, uint32_t x, uint32_t y, ksys_color_t color, size_t len, uint64_t backgroundColor)
|
||||
static inline void drawText(char* text, uint32_t x, uint32_t y, ksys_color_t color, size_t len, uint64_t backgroundColor)
|
||||
{
|
||||
bool fillBackground = !(backgroundColor << 32);
|
||||
|
||||
@@ -50,16 +50,14 @@ static void drawText(char* text, uint32_t x, uint32_t y, ksys_color_t color, siz
|
||||
}
|
||||
|
||||
|
||||
static void syscall_drawText(const char* text, uint32_t x, uint32_t y, ksys_color_t color, enum TextScale size, uint32_t len, uint64_t backgroundColor, enum DrawTextEncoding encoding)
|
||||
static inline void syscall_drawText(const char* text, uint32_t x, uint32_t y, ksys_color_t color, enum TextScale size, uint32_t len, uint64_t backgroundColor, enum DrawTextEncoding encoding)
|
||||
{
|
||||
|
||||
enum DrawTextEncoding_
|
||||
{
|
||||
cp866_6x9 = 0,
|
||||
cp866_8x16 = 1
|
||||
};
|
||||
|
||||
|
||||
enum scale
|
||||
{
|
||||
scale_x1 = 0,
|
||||
|
Reference in New Issue
Block a user