Linux header fixes

This commit is contained in:
Dr. Chat
2017-02-05 22:45:01 -06:00
parent 4f46c51fe3
commit 803f0be049
11 changed files with 24 additions and 9 deletions

View File

@@ -13,6 +13,8 @@
#include "xenia/cpu/ppc/ppc_context.h"
#include "xenia/cpu/ppc/ppc_hir_builder.h"
#include <stddef.h>
namespace xe {
namespace cpu {
namespace ppc {
@@ -349,7 +351,7 @@ int InstrEmit_mtfsfx(PPCHIRBuilder& f, const InstrData& i) {
// i.XFL.W;
// i.XFL.FM;
f.StoreFPSCR(
f.Truncate(f.Cast(f.LoadFPR(i.XFL.RB), INT64_TYPE), INT32_TYPE));
f.Truncate(f.Cast(f.LoadFPR(i.XFL.RB), INT64_TYPE), INT32_TYPE));
}
if (i.XFL.Rc) {
f.CopyFPSCRToCR1();