Merge branch '86Box:master' into qt

This commit is contained in:
Cacodemon345 2021-12-02 16:27:55 +06:00 committed by GitHub
commit c631bf36d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 25 additions and 24 deletions

2
.ci/Jenkinsfile vendored
View File

@ -75,7 +75,7 @@ def presetSlugs = [
def presetFlags = [
'Regular': '-t --preset=regular',
'Debug': '--preset=debug',
'Dev': '--preset=experimental -D VNC=OFF'
'Dev': '-t --preset=experimental -D VNC=OFF'
]
def anyFailure = false

View File

@ -190,7 +190,9 @@ then
# Call build with the correct MSYSTEM.
echo [-] Switching to MSYSTEM [$msys]
cd "$cwd"
CHERE_INVOKING=yes MSYSTEM="$msys" bash -lc 'exec "'"$0"'" -b "'"$package_name"'" "'"$arch"'" '"$cmake_flags"
strip_arg=
[ $strip -ne 0 ] && strip_arg="-t "
CHERE_INVOKING=yes MSYSTEM="$msys" bash -lc 'exec "'"$0"'" -b "'"$package_name"'" "'"$arch"'" '"$strip_arg""$cmake_flags"
exit $?
fi
else

View File

@ -25,8 +25,8 @@ If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. Windows 10]
- 86Box version: [e.g. v2.06 build 2007, saying "Latest from Jenkins" isn't helpful]
- Build type: [i.e. regular, optimized, or dev]
- 86Box version: [e.g. v3.00 build 3333; saying "Latest from Jenkins" isn't helpful]
- Build information: [i.e. new/old dynarec, architecture and build type]
**Additional context**
Add any other context about the problem here. If you are using an Optimized build, make sure to try the regular build too before filing a bug report!

View File

@ -51,7 +51,7 @@ However, it is also possible to use 86Box on its own with the `--vmpath`/`-P` co
Downloads
---------
The latest stable version of 86Box is version 2.07, which was released on November 20, 2019, and is available from our [GitHub repository](https://github.com/86Box/86Box/releases/tag/v2.07).
The latest stable version of 86Box is **v3.0**, which was released on December 1, 2021, and is available from our [GitHub repository](https://github.com/86Box/86Box/releases/tag/v3.0).
### Automatic builds
We also offer automatic builds, which are built from the latest source code and contain the latest bugfixes and improvements, but may not be as stable and/or optimized as stable builds.

View File

@ -465,7 +465,6 @@ tgui_out(uint16_t addr, uint8_t val, void *p)
tgui->linear_size = (val & 0x10) ? 0x200000 : 0x100000;
svga->decode_mask = (val & 0x10) ? 0x1fffff : 0xfffff;
}
pclog("Linear base = %08x, size = %08x, mask = %08x\n", tgui->linear_base, tgui->linear_size, svga->decode_mask);
tgui_recalcmapping(tgui);
}
break;
@ -1379,7 +1378,6 @@ tgui_accel_command(int count, uint32_t cpu_dat, tgui_t *tgui)
}
/*Other than mode stuff, this bit is undocumented*/
pclog("TGUI ger22 = %04x, cmd = %i, hdisp = %i, svga = %i, bpp = %i\n", tgui->accel.ger22, tgui->accel.command, svga->hdisp, svga->bpp, tgui->accel.bpp);
switch (tgui->accel.ger22 & 0xff) {
case 0:
switch (tgui->accel.ger22 >> 8) {

View File

@ -332,7 +332,7 @@ BEGIN
VALUE "FileVersion", EMU_VERSION "\0"
VALUE "InternalName", EMU_NAME "\0"
VALUE "LegalCopyright", "Copyright \xa9 2007-" COPYRIGHT_YEAR " " EMU_NAME " contributors\0"
VALUE "OriginalFilename", "86box.exe\0"
VALUE "OriginalFilename", EMU_NAME ".exe\0"
VALUE "ProductName", EMU_NAME "\0"
VALUE "ProductVersion", EMU_VERSION "\0"
END

View File

@ -60,7 +60,7 @@
HWND hwndSBAR;
int update_icons = 1;
int update_icons = 1, reset_occurred = 1;
static LONG_PTR OriginalProcedure;
@ -122,12 +122,17 @@ hdd_count(int bus)
void
ui_sb_timer_callback(int pane)
{
sb_part_icons[pane] &= ~1;
if (!(reset_occurred & 1)) {
sb_part_icons[pane] &= ~1;
if (sb_part_icons && sb_part_icons[pane]) {
SendMessage(hwndSBAR, SB_SETICON, pane,
(LPARAM)hIcon[sb_part_icons[pane]]);
}
if (sb_part_icons && sb_part_icons[pane]) {
SendMessage(hwndSBAR, SB_SETICON, pane,
(LPARAM)hIcon[sb_part_icons[pane]]);
}
} else
reset_occurred &= ~1;
reset_occurred &= ~2;
}
@ -152,6 +157,7 @@ ui_sb_update_icon(int tag, int active)
PostMessage(hwndSBAR, SB_SETICON, found,
(LPARAM)hIcon[sb_part_icons[found]]);
reset_occurred = 2;
SetTimer(hwndMain, 0x8000 | found, 75, NULL);
}
}
@ -832,6 +838,8 @@ ui_sb_update_panes(void)
}
sb_ready = 1;
if (reset_occurred & 2)
reset_occurred |= 1;
}

View File

@ -1315,9 +1315,6 @@ ui_init(int nCmdShow)
if (! RegisterClassEx(&wincl))
return(2);
/* Load the Window Menu(s) from the resources. */
menuMain = LoadMenu(hinstance, MENU_NAME);
/* Now create our main window. */
mbstowcs(title, emu_version, sizeof_w(title));
hwnd = CreateWindowEx (
@ -1330,7 +1327,7 @@ ui_init(int nCmdShow)
scrnsz_x+(GetSystemMetrics(SM_CXFIXEDFRAME)*2), /* width */
scrnsz_y+(GetSystemMetrics(SM_CYFIXEDFRAME)*2)+GetSystemMetrics(SM_CYMENUSIZE)+GetSystemMetrics(SM_CYCAPTION)+1, /* and height in pixels */
HWND_DESKTOP, /* window is a child to desktop */
menuMain, /* menu */
NULL, /* no menu (yet) */
hinstance, /* Program Instance handler */
NULL); /* no Window Creation data */
hwndMain = tdconfig.hwndParent = hwnd;
@ -1380,14 +1377,10 @@ ui_init(int nCmdShow)
ResizeWindowByClientArea(hwndMain, scrnsz_x, scrnsz_y + sbar_height);
}
/* Load the desired language, and reset all menus to their defaults */
/* Load the desired language */
uint32_t helper_lang = lang_id;
lang_id = 0;
set_language(helper_lang);
/* Reset all menus to their defaults. */
ResetAllMenus();
media_menu_init();
set_language(helper_lang);
/* Make the window visible on the screen. */
ShowWindow(hwnd, nCmdShow);