Skip to content

Commit

Permalink
Fix build error on Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
maron2000 committed Sep 17, 2024
1 parent 36e5afe commit 7a6fda8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dos/dos_keyboard_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Bitu DOS_ChangeCodepage(int32_t codepage, const char* codepagefile);
void MSG_Init(), JFONT_Init(), runRescan(const char *str);
extern int tryconvertcp, toSetCodePage(DOS_Shell *shell, int newCP, int opt);
extern bool jfont_init;
extern int msgcodepage;
extern uint16_t msgcodepage;
bool CheckDBCSCP(uint16_t codepage);
extern bool loadlangcp;

Expand Down
3 changes: 2 additions & 1 deletion src/gui/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ DOSBoxMenu mainMenu;

extern const char* drive_opts[][2];
extern const char* scaler_menu_opts[][2];
extern int NonUserResizeCounter, msgcodepage;
extern int NonUserResizeCounter;
extern uint16_t msgcodepage;

extern bool force_conversion;
extern bool dos_kernel_disabled;
Expand Down
3 changes: 2 additions & 1 deletion src/gui/menu_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ std::string savefilename = "";

extern SHELL_Cmd cmd_list[];
extern unsigned int page, hostkeyalt, sendkeymap;
extern int posx, posy, wheel_key, mbutton, enablelfn, dos_clipboard_device_access, aspect_ratio_x, aspect_ratio_y, disk_data_rate, floppy_data_rate, lastmsgcp;
extern int posx, posy, wheel_key, mbutton, enablelfn, dos_clipboard_device_access, aspect_ratio_x, aspect_ratio_y, disk_data_rate, floppy_data_rate;
extern uint16_t lastmsgcp;
extern bool addovl, clearline, pcibus_enable, winrun, window_was_maximized, wheel_guest, clipboard_dosapi, clipboard_biospaste, direct_mouse_clipboard, sync_time, manualtime, pausewithinterrupts_enable, enable_autosave, enable_config_as_shell_commands, noremark_save_state, force_load_state, use_quick_reboot, use_save_file, dpi_aware_enable, pc98_force_ibm_layout, log_int21, log_fileio, x11_on_top, macosx_on_top, rtl, gbk, chinasea, uselangcp;
extern bool mountfro[26], mountiro[26];
extern struct BuiltinFileBlob bfb_GLIDE2X_OVL;
Expand Down

0 comments on commit 7a6fda8

Please sign in to comment.