mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-02-05 20:31:53 +00:00
Get CPU tests working again
This commit is contained in:
parent
f234de116f
commit
eb534e17b5
@ -582,7 +582,9 @@ void c_initialize_vm() {
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void reinitialize(void) {
|
||||
#if !TESTING
|
||||
assert(pthread_self() == cpu_thread_id);
|
||||
#endif
|
||||
|
||||
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");
|
||||
c_debugger_set_timeout(0);
|
||||
}
|
||||
} else {
|
||||
#ifdef AUDIO_ENABLED
|
||||
DSInit();
|
||||
speaker_init();
|
||||
MB_Initialize();
|
||||
#endif
|
||||
reinitialize();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user