Added ppc 32bit mode and added sparc mode checks to bring it in line with other archs

This commit is contained in:
xorstream
2016-01-24 22:27:33 +11:00
parent 6f3d48077e
commit 26d3b1e7d6
4 changed files with 6 additions and 3 deletions

View File

@ -57,7 +57,7 @@ static void test_sparc(void)
printf("Emulate SPARC code\n");
// Initialize emulator in Sparc mode
err = uc_open(UC_ARCH_SPARC, UC_MODE_SPARC32, &uc);
err = uc_open(UC_ARCH_SPARC, UC_MODE_SPARC32|UC_MODE_BIG_ENDIAN, &uc);
if (err) {
printf("Failed on uc_open() with error returned: %u (%s)\n",
err, uc_strerror(err));