mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-18 08:52:12 +08:00
more
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "logging.h"
|
||||
#include "support.h"
|
||||
#include "setup.h"
|
||||
#include "render.h"
|
||||
#include "control.h"
|
||||
#include "menu.h"
|
||||
#include "jfont.h"
|
||||
@@ -33,7 +34,7 @@
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
extern bool dos_kernel_disabled, force_conversion, showdbcs;
|
||||
extern bool dos_kernel_disabled, force_conversion, showdbcs, dbcs_sbcs;
|
||||
int msgcodepage = 0, FileDirExistUTF8(std::string &localname, const char *name);
|
||||
bool morelen = false, inmsg = false, loadlang = false, systemmessagebox(char const * aTitle, char const * aMessage, char const * aDialogType, char const * aIconType, int aDefaultButton);
|
||||
bool isSupportedCP(int newCP), CodePageHostToGuestUTF8(char *d/*CROSS_LEN*/,const char *s/*CROSS_LEN*/), CodePageGuestToHostUTF8(char *d/*CROSS_LEN*/,const char *s/*CROSS_LEN*/);
|
||||
@@ -421,5 +422,9 @@ void MSG_Init() {
|
||||
}
|
||||
}
|
||||
std::string showdbcsstr = static_cast<Section_prop *>(control->GetSection("dosv"))->Get_string("showdbcsnodosv");
|
||||
#if defined(USE_TTF)
|
||||
showdbcs = showdbcsstr=="true"||showdbcsstr=="1"||(showdbcsstr=="auto" && (loadlang || dbcs_sbcs));
|
||||
#else
|
||||
showdbcs = showdbcsstr=="true"||showdbcsstr=="1"||(showdbcsstr=="auto" && loadlang);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user