mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-06-10 21:29:30 +00:00
1bd953dd40
This occurred because a global with structure type was declared without the structure definition in scope. ORCA/C allows this, and just treats the struct variable as having size 0. As a result, it effectively shares the storage of whatever comes after it in the OMF file, leading to memory trashing.
6 lines
74 B
C
6 lines
74 B
C
#pragma noroot
|
|
|
|
#include "atipmapping.h"
|
|
|
|
struct ATIPMapping atipMapping;
|