mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-23 00:58:22 +00:00
sample: remove memleak test code in sample_x86.c
This commit is contained in:
parent
2a269acac1
commit
7c9f851e72
|
@ -914,14 +914,6 @@ int main(int argc, char **argv, char **envp)
|
||||||
if (!strcmp(argv[1], "-16")) {
|
if (!strcmp(argv[1], "-16")) {
|
||||||
test_x86_16();
|
test_x86_16();
|
||||||
}
|
}
|
||||||
|
|
||||||
// test memleak
|
|
||||||
if (!strcmp(argv[1], "-0")) {
|
|
||||||
while(1) {
|
|
||||||
test_i386();
|
|
||||||
// test_x86_64();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
printf("Syntax: %s <-16|-32|-64>\n", argv[0]);
|
printf("Syntax: %s <-16|-32|-64>\n", argv[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue