Gekko: Make register constructors explicit where applicable

Prevents implicit conversions to types and requires explicitly
specifying them in order to construct instances of them. Given these are
used within emulation code directly, being explicit is always better
than implicit.
This commit is contained in:
Lioncash committed 2018-06-03 12:37:17 -04:00
1 parent c22205cd7e
commit 06056d4f45
4 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -303,7 +303,7 @@ inline UReg_XER GetXER()
xer |= PowerPC::ppcState.xer_stringctrl;
xer |= PowerPC::ppcState.xer_ca << XER_CA_SHIFT;
xer |= PowerPC::ppcState.xer_so_ov << XER_OV_SHIFT;
return xer;
return UReg_XER{xer};
}
inline void SetXER(UReg_XER new_xer)