mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-04 14:07:42 +00:00
sparc: do not accept BIGENDIAN mode in samples. more sanity check should be done in the core
This commit is contained in:
parent
b306fa65bd
commit
548355acca
4 changed files with 4 additions and 4 deletions
|
|
@ -76,7 +76,7 @@ public class Sample_sparc {
|
|||
System.out.print("Emulate SPARC code\n");
|
||||
|
||||
// Initialize emulator in Sparc mode
|
||||
Unicorn u = new Unicorn(Unicorn.UC_ARCH_SPARC, Unicorn.UC_MODE_BIG_ENDIAN);
|
||||
Unicorn u = new Unicorn(Unicorn.UC_ARCH_SPARC, Unicorn.UC_MODE_32);
|
||||
|
||||
// map 2MB memory for this emulation
|
||||
u.mem_map(ADDRESS, 2 * 1024 * 1024, Unicorn.UC_PROT_ALL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue