mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 05:21:20 +00:00
Get rid of Sys_FPU_EnableExceptions()
No exceptions were ever enabled.
This commit is contained in:
parent
4dc111e63f
commit
763791ab24
1 changed files with 0 additions and 14 deletions
|
@ -43,15 +43,6 @@ typedef enum {
|
|||
CPUID_ALTIVEC = 0x00200, // AltiVec
|
||||
} cpuid_t;
|
||||
|
||||
typedef enum {
|
||||
FPU_EXCEPTION_INVALID_OPERATION = 1,
|
||||
FPU_EXCEPTION_DENORMALIZED_OPERAND = 2,
|
||||
FPU_EXCEPTION_DIVIDE_BY_ZERO = 4,
|
||||
FPU_EXCEPTION_NUMERIC_OVERFLOW = 8,
|
||||
FPU_EXCEPTION_NUMERIC_UNDERFLOW = 16,
|
||||
FPU_EXCEPTION_INEXACT_RESULT = 32
|
||||
} fpuExceptions_t;
|
||||
|
||||
typedef enum {
|
||||
AXIS_SIDE,
|
||||
AXIS_FORWARD,
|
||||
|
@ -148,9 +139,6 @@ bool Sys_FPU_StackIsEmpty( void );
|
|||
// returns the FPU state as a string
|
||||
const char * Sys_FPU_GetState( void );
|
||||
|
||||
// enables the given FPU exceptions
|
||||
void Sys_FPU_EnableExceptions( int exceptions );
|
||||
|
||||
// sets the FPU precision
|
||||
void Sys_FPU_SetPrecision();
|
||||
|
||||
|
@ -385,8 +373,6 @@ public:
|
|||
virtual void FPU_SetFTZ( bool enable ) = 0;
|
||||
virtual void FPU_SetDAZ( bool enable ) = 0;
|
||||
|
||||
virtual void FPU_EnableExceptions( int exceptions ) = 0;
|
||||
|
||||
virtual bool LockMemory( void *ptr, int bytes ) = 0;
|
||||
virtual bool UnlockMemory( void *ptr, int bytes ) = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue