Skip to content

Instantly share code, notes, and snippets.

@joshdover
Created June 2, 2018 03:20
Show Gist options
  • Save joshdover/e0e67fa696823e8b7d06eee6533bdf0c to your computer and use it in GitHub Desktop.
Save joshdover/e0e67fa696823e8b7d06eee6533bdf0c to your computer and use it in GitHub Desktop.
bochs for Mac OS 10.14
--- config.cc 2018-06-01 22:18:19.000000000 -0500
+++ config1.cc 2018-06-01 22:18:02.000000000 -0500
@@ -3258,7 +3258,7 @@
fprintf(fp, ", biosdetect=%s", SIM->get_param_enum("biosdetect", base)->get_selected());
- if (SIM->get_param_string("model", base)->getptr()>0) {
+ if (SIM->get_param_string("model", base)->getptr() != 0) {
fprintf(fp, ", model=\"%s\"", SIM->get_param_string("model", base)->getptr());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment