[COMMAND]

- Fix the GCC macro for structure declaration, so that referencing an offset to the structure doesn't fail anymore (ie. doing "mov dx, offset MyStruct" doesn't assemble to "mov dx, 0x100").
This fixes NTVDM not being able to start any DOS app. Reported by Aleksander Rechitskiy.
CORE-9677 CORE-9679 #resolve
CORE-9678

[NTVDM]
- Fix newline in DPRINT.

svn path=/trunk/; revision=69211
This commit is contained in:
Hermès Bélusca-Maïto 2015-09-13 01:18:50 +00:00
parent 427c11919f
commit f4d255aec6
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@
#define ENDS(...) ENDM #define ENDS(...) ENDM
#define VAR_STRUCT(name, struct) \ #define VAR_STRUCT(name, struct) \
struct name name: struct name
#define FIELD(name, field) \ #define FIELD(name, field) \
name##_##field name##_##field

View file

@ -601,7 +601,7 @@ static VOID CmdSetExitCode(VOID)
{ {
RemoveComSpecInfo(ComSpecInfo); RemoveComSpecInfo(ComSpecInfo);
#endif #endif
DPRINT1("Exit DOS from ExitCode (prologue)!"); DPRINT1("Exit DOS from ExitCode (prologue)!\n");
setCF(0); setCF(0);
goto Quit; goto Quit;
#ifndef STANDALONE #ifndef STANDALONE