Merge pull request #195 from b01t/master

Add the strings from commit 00f02d9d0c47cda3ca42ef2efca29900087613c7 …
This commit is contained in:
asvitkine 2020-04-12 20:06:18 -04:00 committed by GitHub
commit 7790aa7e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 1 deletions

View File

@ -1874,7 +1874,7 @@ static void update_display_static(driver_base *drv)
// Check for first column from left and first column from right that have changed
if (high) {
if (VIDEO_MODE_DEPTH < VIDEO_DEPTH_8BIT) {
if ((int)VIDEO_MODE_DEPTH < VIDEO_DEPTH_8BIT) {
const int src_bytes_per_row = bytes_per_row;
const int dst_bytes_per_row = drv->s->pitch;
const int pixels_per_byte = VIDEO_MODE_X / src_bytes_per_row;

View File

@ -188,7 +188,36 @@ enum {
STR_RAMSIZE_FMT,
STR_MODELID_CTRL,
STR_MODELID_5_LAB,
STR_MODELID_7_LAB,
STR_MODELID_12_LAB,
STR_MODELID_13_LAB,
STR_MODELID_14_LAB,
STR_MODELID_15_LAB,
STR_MODELID_16_LAB,
STR_MODELID_19_LAB,
STR_MODELID_20_LAB,
STR_MODELID_21_LAB,
STR_MODELID_24_LAB,
STR_MODELID_29_LAB,
STR_MODELID_30_LAB,
STR_MODELID_31_LAB,
STR_MODELID_38_LAB,
STR_MODELID_39_LAB,
STR_MODELID_42_LAB,
STR_MODELID_43_LAB,
STR_MODELID_46_LAB,
STR_MODELID_47_LAB,
STR_MODELID_50_LAB,
STR_MODELID_54_LAB,
STR_MODELID_56_LAB,
STR_MODELID_72_LAB,
STR_MODELID_74_LAB,
STR_MODELID_82_LAB,
STR_MODELID_83_LAB,
STR_MODELID_86_LAB,
STR_MODELID_87_LAB,
STR_MODELID_92_LAB,
STR_MODELID_93_LAB,
STR_CPU_CTRL,
STR_CPU_68020_LAB,
STR_CPU_68020_FPU_LAB,