ASM files removed, functions replaced with bits from Chronoshift.

This commit is contained in:
Justin Marshall
2020-06-11 13:28:41 -07:00
parent 04b14ea4a2
commit a7fdd19b5a
20 changed files with 1911 additions and 9169 deletions
+10 -10
View File
@@ -51,13 +51,13 @@
** Prototypes for linkage to assembly module
*/
extern "C" {
bool __cdecl Detect_MMX_Availability(void);
void __cdecl Init_MMX(void);
extern char CPUType;
extern char VendorID;
}
//extern "C" {
// bool __cdecl Detect_MMX_Availability(void);
// void __cdecl Init_MMX(void);
//
// extern char CPUType;
// extern char VendorID;
//}
/***********************************************************************************************
@@ -82,13 +82,13 @@ void Get_CPU_Type(int & cpu_type, bool & mmx, char * vendor_id, int vendor_id_le
/*
** Call the asm CPU detection code
*/
mmx = Detect_MMX_Availability();
mmx = 1; //Detect_MMX_Availability();
/*
** Return the promised results
*/
cpu_type = (int)CPUType;
char * vendor_ptr = &VendorID;
cpu_type = 1; //(int)CPUType;
char* vendor_ptr = "Fake CPU"; //&VendorID;
strncpy(vendor_id, vendor_ptr, vendor_id_length);
}