mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-15 20:46:55 +08:00
fix
This commit is contained in:
@@ -296,7 +296,7 @@ static bool CheckEmptyData(uint8_t *data, Bitu length)
|
||||
}
|
||||
|
||||
#if defined(LINUX) && C_X11
|
||||
static Bit8u linux_symbol_16[] = {
|
||||
static uint8_t linux_symbol_16[] = {
|
||||
// 0x815f
|
||||
0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00,
|
||||
0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01,
|
||||
@@ -311,7 +311,7 @@ static Bit8u linux_symbol_16[] = {
|
||||
0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
static Bit8u linux_symbol_24[] = {
|
||||
static uint8_t linux_symbol_24[] = {
|
||||
// 0x815f
|
||||
0x80, 0x00, 0x00, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x00, 0x00,
|
||||
0x00, 0x80, 0x00, 0x00, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x00,
|
||||
@@ -330,9 +330,9 @@ static Bit8u linux_symbol_24[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
bool CheckLinuxSymbol(Bitu code, Bit8u *buff, int width, int height)
|
||||
bool CheckLinuxSymbol(Bitu code, uint8_t *buff, int width, int height)
|
||||
{
|
||||
Bit8u *src;
|
||||
uint8_t *src;
|
||||
int len, offset;
|
||||
if(width == 16 && height == 16) {
|
||||
src = linux_symbol_16;
|
||||
|
Reference in New Issue
Block a user