Setting up font parameters is required for the graphical text mode snapshot.
This commit is contained in:
parent
e010dcd4fd
commit
41af6f9f66
@ -1981,6 +1981,7 @@ void bx_win32_gui_c::graphics_tile_update(Bit8u *tile, unsigned x0, unsigned y0)
|
||||
void bx_win32_gui_c::dimension_update(unsigned x, unsigned y, unsigned fheight, unsigned fwidth, unsigned bpp)
|
||||
{
|
||||
guest_textmode = (fheight > 0);
|
||||
guest_fsize = (fheight << 4) | fwidth;
|
||||
if (guest_textmode && (fwidth > 9)) {
|
||||
// use existing stretching feature for text mode CO40
|
||||
x >>= 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user