mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-08-06 07:25:14 +00:00
Improve testcpu on desktop and fix it on Android
This commit is contained in:
@@ -199,7 +199,9 @@ void Java_org_deadc0de_apple2ix_Apple2View_nativeGraphicsInitialized(JNIEnv *env
|
||||
LOG("width:%d height:%d landscape:%d", width, height, landscape);
|
||||
_video_setRenderThread(pthread_self()); // Assume Android knows what it's doing ;-P
|
||||
|
||||
#if !TESTING
|
||||
assert(cpu_isPaused());
|
||||
#endif
|
||||
|
||||
video_shutdown(false);
|
||||
video_reshape(width, height, landscape);
|
||||
|
@@ -7417,7 +7417,6 @@ GREATEST_SUITE(test_suite_cpu) {
|
||||
|
||||
srandom(time(NULL));
|
||||
|
||||
video_init();
|
||||
test_common_init();
|
||||
assert(cpu_thread_id == 0 && "This test is not designed to run with alternate CPU thread");
|
||||
extern void reinitialize(void);
|
||||
|
Reference in New Issue
Block a user