This commit is contained in:
BinBashBanana 2025-03-30 13:15:50 -07:00
parent 05cefc9a4d
commit 393e1b4b98
3 changed files with 9 additions and 2 deletions

View File

@ -22,6 +22,9 @@
- CLOUDSYNC: Handle ignored directories properly
- EMSCRIPTEN: Scale window to correct size
- EMSCRIPTEN: Additional platform functions
- EMSCRIPTEN: Add new default video context driver: emscriptenwebgl_ctx
- EMSCRIPTEN: Add new audio driver: AudioWorklet
- EMSCRIPTEN: Add new modernized web player which will eventually replace the existing one
- EMSCRIPTEN/RWEBINPUT: Add touch input support
- GENERAL: Fix save state auto increment
- GENERAL: Fix softpatching with periods/dots in the file name

View File

@ -1174,7 +1174,7 @@
/* Desired audio latency in milliseconds. Might not be honored
* if driver can't provide given latency. */
#if defined(ANDROID) || defined(EMSCRIPTEN) || defined(RETROFW) || defined(MIYOO)
#if defined(ANDROID) || defined(RETROFW) || defined(MIYOO) || (defined(EMSCRIPTEN) && !defined(HAVE_AUDIOWORKLET))
/* For most Android devices, 64ms is way too low. */
#define DEFAULT_OUT_LATENCY 128
#define DEFAULT_IN_LATENCY 128

View File

@ -140,7 +140,11 @@ FS.rm = async function() {
const child = path.substr(dir_end + 1);
const parent_dir = await getDirHandle(parent);
if (!parent_dir) continue;
await parent_dir.removeEntry(child, {recursive: true});
try {
await parent_dir.removeEntry(child, {recursive: true});
} catch (e) {
continue;
}
}
}