Skip to content

Fixed some typos: BOX64 -> BOX86#1011

Merged
ptitSeb merged 1 commit intoptitSeb:masterfrom
MikeWang000000:fix-typo-box86
Nov 6, 2024
Merged

Fixed some typos: BOX64 -> BOX86#1011
ptitSeb merged 1 commit intoptitSeb:masterfrom
MikeWang000000:fix-typo-box86

Conversation

@MikeWang000000
Copy link
Contributor

No description provided.

* 1 : Handle them as double

#### BOX64_MAXCPU
#### BOX86_MAXCPU
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref:

ENTRYINTPOS(BOX86_MAXCPU, new_maxcpu) \

printf_log(LOG_INFO, "Show Backtrace for signals\n");
}
p = getenv("BOX64_MAXCPU");
p = getenv("BOX86_MAXCPU");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref:

ENTRYINTPOS(BOX86_MAXCPU, new_maxcpu) \

printf(" BOX86_ALLOWMISSINGLIBS with 1 to allow to continue even if a lib is missing (unadvised, will probably crash later)\n");
printf(" BOX64_PREFER_EMULATED=1 to prefer emulated libs first (execpt for glibc, alsa, pulse, GL, vulkan and X11)\n");
printf(" BOX64_PREFER_WRAPPED if box86 will use wrapped libs even if the lib is specified with absolute path\n");
printf(" BOX86_PREFER_EMULATED=1 to prefer emulated libs first (execpt for glibc, alsa, pulse, GL, vulkan and X11)\n");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref:

box86/src/main.c

Line 1027 in 30c72e2

READENV1("BOX86_PREFER_EMULATED", box86_prefer_emulated, "BOX86: Prefer Emulated libs\n");

// check BOX86_LOG debug level
LoadLogEnv();
if(!getenv("BOX64_NORCFILES")) {
if(!getenv("BOX86_NORCFILES")) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref:

#### BOX86_NORCFILES

printf(" BOX64_PREFER_EMULATED=1 to prefer emulated libs first (execpt for glibc, alsa, pulse, GL, vulkan and X11)\n");
printf(" BOX64_PREFER_WRAPPED if box86 will use wrapped libs even if the lib is specified with absolute path\n");
printf(" BOX86_PREFER_EMULATED=1 to prefer emulated libs first (execpt for glibc, alsa, pulse, GL, vulkan and X11)\n");
printf(" BOX86_PREFER_WRAPPED if box86 will use wrapped libs even if the lib is specified with absolute path\n");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref:

box86/src/main.c

Line 1026 in 30c72e2

READENV1("BOX86_PREFER_WRAPPED", box86_prefer_wrapped, "BOX86: Prefer Wrapped libs\n");

IGNORE(BOX86_DYNAREC_FASTROUND) \
IGNORE(BOX86_DYNAREC_SAFEFLAGS) \
IGNORE(BOX64_DYNAREC_CALLRET) \
IGNORE(BOX86_DYNAREC_CALLRET) \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref:

p = getenv("BOX86_DYNAREC_CALLRET");

@MikeWang000000
Copy link
Contributor Author

Some environment variables like BOX86_NORCFILES did not work because of typos. From now it will work.

@ptitSeb
Copy link
Owner

ptitSeb commented Nov 6, 2024

nice, thnaks.

@ptitSeb ptitSeb merged commit 450347f into ptitSeb:master Nov 6, 2024
@MikeWang000000 MikeWang000000 deleted the fix-typo-box86 branch November 6, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants