add tons of stuff

This commit is contained in:
Ash Wolf
2022-10-14 23:15:32 +01:00
parent b8df05413a
commit 775b686166
32 changed files with 4014 additions and 687 deletions

View File

@@ -71,8 +71,8 @@ static SInt16 CLT_GetPanelList(const CWPanelList **panelList) {
}
static SInt16 CLT_GetTargetList(const CWTargetList **targetList) {
static FourCharCode sCPU = CWFOURCHAR('*','*','*','*');
static FourCharCode sOS = CWFOURCHAR('*','*','*','*');
static FourCharCode sCPU = targetCPUAny;
static FourCharCode sOS = targetOSAny;
static CWTargetList sTargetList = {
kCurrentCWTargetListVersion,
1,

View File

@@ -1,7 +1,5 @@
#include "mwcc_decomp.h"
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
typedef struct MacFileInfo {
UInt32 ioFlCrDat;
UInt32 ioFlMdDat;

View File

@@ -1,7 +1,5 @@
#include "mwcc_decomp.h"
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
// Fork Attributes
enum {
mapReadOnly = 0x80,

View File

@@ -1,7 +1,5 @@
#include "oslib.h"
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
static OSFileTypeMappings *defaultList;
static OSFileTypeMappings **fmList = &defaultList;
int (*__OS_ExtendedGetMacFileTypeHook)(const OSSpec *, OSType *);

View File

@@ -3,8 +3,6 @@
extern char STSbuf[256];
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
typedef struct DirNode {
char *name;
unsigned int dirID;

View File

@@ -1,8 +1,6 @@
#include "oslib.h"
#include "macemul.h"
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
static char pfbuf[256];
StringPtr _pstrcpy(StringPtr dst, ConstStringPtr src) {