Updated to use GCC_ATTRIBUTE for packed structure
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@307
This commit is contained in:
parent
619a691310
commit
061aaeaa6c
1 changed files with 1 additions and 12 deletions
|
@ -23,9 +23,7 @@
|
|||
|
||||
|
||||
|
||||
#if defined (_MSC_VER)
|
||||
#pragma pack(1)
|
||||
#endif
|
||||
struct Dynamic_Functionality {
|
||||
RealPt static_table; /* 00h DWORD address of static functionality table */
|
||||
Bit8u cur_mode; /* 04h BYTE video mode in effect */
|
||||
|
@ -70,19 +68,10 @@ struct Dynamic_Functionality {
|
|||
7 reserved
|
||||
*/
|
||||
Bit8u reserved2[13]; /* 33h 13 BYTEs reserved (00h) */
|
||||
}
|
||||
#if defined (_MSC_VER)
|
||||
;
|
||||
} GCC_ATTRIBUTE(packed);
|
||||
#pragma pack()
|
||||
#else
|
||||
__attribute__ ((packed));
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
void INT10_GetFuncStateInformation(PhysPt save) {
|
||||
|
||||
|
||||
/* set static state pointer */
|
||||
mem_writed(save,int10_romarea.static_state);
|
||||
/* Copy BIOS Segment areas */
|
||||
|
|
Loading…
Add table
Reference in a new issue