mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-10 06:31:13 +00:00
Mark certain core emulation modules as problematic on iOS/Mac, and something we should fix
This commit is contained in:
parent
281fccb73b
commit
f7cb3da434
@ -107,7 +107,11 @@ void audio_shutdown(void) {
|
||||
void audio_pause(void) {
|
||||
// CPU thread owns audio lifecycle (see note above)
|
||||
// Deadlock on Kindle Fire 1st Gen if audio_pause() and audio_resume() happen off CPU thread ...
|
||||
// assert(pthread_self() == cpu_thread_id);
|
||||
#ifdef __APPLE__
|
||||
# warning FIXME TODO : this assert is firing on iOS port ... but the assert is valid ... fix soon
|
||||
#else
|
||||
assert(pthread_self() == cpu_thread_id);
|
||||
#endif
|
||||
if (!audio_isAvailable) {
|
||||
return;
|
||||
}
|
||||
|
@ -747,7 +747,9 @@ const char *disk6_eject(int drive) {
|
||||
ERRLOG("Error close()ing file %s", disk6.disk[drive].file_name);
|
||||
}
|
||||
|
||||
/*
|
||||
#ifdef __APPLE__
|
||||
# warning FIXME TODO : can we not inflate/deflate disk images within the iOS port? Maybe this is just a permission thing?
|
||||
#else
|
||||
// foo.dsk -> foo.dsk.gz
|
||||
err = zlib_deflate(disk6.disk[drive].file_name, is_nib(disk6.disk[drive].file_name) ? NIB_SIZE : DSK_SIZE);
|
||||
if (err) {
|
||||
@ -755,7 +757,7 @@ const char *disk6_eject(int drive) {
|
||||
} else {
|
||||
unlink(disk6.disk[drive].file_name);
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
STRDUP_FREE(disk6.disk[drive].file_name);
|
||||
|
@ -178,7 +178,11 @@ void reinitialize(void) {
|
||||
|
||||
void timing_initialize(void) {
|
||||
#if !TESTING
|
||||
// assert(cpu_isPaused() || (pthread_self() == cpu_thread_id));
|
||||
# ifdef __APPLE__
|
||||
# warning FIXME TODO : this assert is firing on iOS port ... but the assert is valid ... fix soon
|
||||
# else
|
||||
assert(cpu_isPaused() || (pthread_self() == cpu_thread_id));
|
||||
# endif
|
||||
#endif
|
||||
_timing_initialize(alt_speed_enabled ? cpu_altscale_factor : cpu_scale_factor);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user