mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-08-11 10:25:52 +00:00
Get CPU tests working again
This commit is contained in:
@@ -582,7 +582,9 @@ void c_initialize_vm() {
|
|||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
void reinitialize(void) {
|
void reinitialize(void) {
|
||||||
|
#if !TESTING
|
||||||
assert(pthread_self() == cpu_thread_id);
|
assert(pthread_self() == cpu_thread_id);
|
||||||
|
#endif
|
||||||
|
|
||||||
cycles_count_total = 0;
|
cycles_count_total = 0;
|
||||||
|
|
||||||
|
@@ -135,6 +135,13 @@ void test_common_init(bool do_cputhread) {
|
|||||||
fprintf(stderr, "Pass HEADLESS=1 to environment to run nonstop\n");
|
fprintf(stderr, "Pass HEADLESS=1 to environment to run nonstop\n");
|
||||||
c_debugger_set_timeout(0);
|
c_debugger_set_timeout(0);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
#ifdef AUDIO_ENABLED
|
||||||
|
DSInit();
|
||||||
|
speaker_init();
|
||||||
|
MB_Initialize();
|
||||||
|
#endif
|
||||||
|
reinitialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user