Moved vga-palette-updating code to func vga_setPalette()

This commit is contained in:
rxi
2016-10-12 20:03:46 +01:00
parent 63e2c4d918
commit 5fe8e50819
4 changed files with 16 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/**
/**
* Copyright (c) 2016 rxi
*
* This library is free software; you can redistribute it and/or modify it
@@ -15,6 +15,7 @@ typedef unsigned char pixel_t;
void vga_init(void);
void vga_deinit(void);
void vga_setPalette(int idx, int r, int g, int b);
void vga_update(pixel_t *buffer);
#endif