You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Release/2.1.1 (#709)
* removed extraneous mat stack index decrement in geo_process_camera (#708) * Fixed typo in FCR enums (#707) * v2.1.1 --------- Co-authored-by: Matt Pharoah <mtpharoah@gmail.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
v2.1.0
|
||||
v2.1.1
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
#include "types.h"
|
||||
|
||||
typedef enum {
|
||||
FRC_RM_ROUND_TO_NEAREST = 0x0,
|
||||
FRC_RM_ROUND_TO_ZERO = 0x1,
|
||||
FRC_RM_ROUND_TO_POSITIVE_INFINITY = 0x2,
|
||||
FRC_RM_ROUND_TO_MINUS_INFINITY = 0x3
|
||||
FCR_RM_ROUND_TO_NEAREST = 0x0,
|
||||
FCR_RM_ROUND_TO_ZERO = 0x1,
|
||||
FCR_RM_ROUND_TO_POSITIVE_INFINITY = 0x2,
|
||||
FCR_RM_ROUND_TO_MINUS_INFINITY = 0x3
|
||||
} FloatRoundingMode;
|
||||
|
||||
typedef enum {
|
||||
FRC_EXCEPTION_INEXACT_OPERATION = 0x1,
|
||||
FRC_EXCEPTION_UNDERFLOW = 0x2,
|
||||
FRC_EXCEPTION_OVERFLOW = 0x4,
|
||||
FRC_EXCEPTION_DIVISION_BY_ZERO = 0x8,
|
||||
FRC_EXCEPTION_INVALID_OPERATION = 0x10,
|
||||
FRC_EXCEPTION_UNIMPLEMENTED_OPERATION = 0x20 // only for Cause bits
|
||||
FCR_EXCEPTION_INEXACT_OPERATION = 0x1,
|
||||
FCR_EXCEPTION_UNDERFLOW = 0x2,
|
||||
FCR_EXCEPTION_OVERFLOW = 0x4,
|
||||
FCR_EXCEPTION_DIVISION_BY_ZERO = 0x8,
|
||||
FCR_EXCEPTION_INVALID_OPERATION = 0x10,
|
||||
FCR_EXCEPTION_UNIMPLEMENTED_OPERATION = 0x20 // only for Cause bits
|
||||
} FloatExceptionBits;
|
||||
|
||||
extern FloatRoundingMode fcr_get_rounding_mode(void);
|
||||
|
||||
@@ -101,7 +101,7 @@ void detect_emulator() {
|
||||
* RZ will output not 1.0f, RN will output exactly 1.0f
|
||||
*/
|
||||
const FloatRoundingMode roundingMode = fcr_get_rounding_mode();
|
||||
fcr_set_rounding_mode(FRC_RM_ROUND_TO_NEAREST);
|
||||
fcr_set_rounding_mode(FCR_RM_ROUND_TO_NEAREST);
|
||||
if (1.0f != round_double_to_float(0.9999999999999999)) {
|
||||
gEmulator = EMU_WIIVC;
|
||||
fcr_set_rounding_mode(roundingMode);
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
s16 gMatStackIndex;
|
||||
s16 gMatStackIndex = 0;
|
||||
ALIGNED16 Mat4 gMatStack[32];
|
||||
ALIGNED16 Mtx *gMatStackFixed[32];
|
||||
f32 sAspectRatio;
|
||||
@@ -722,7 +722,6 @@ void geo_process_camera(struct GraphNodeCamera *node) {
|
||||
geo_process_node_and_siblings(node->fnNode.node.children);
|
||||
gCurGraphNodeCamera = NULL;
|
||||
}
|
||||
gMatStackIndex--;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user