diff options
author | Marcus Comstedt | 2004-08-29 19:36:34 +0000 |
---|---|---|
committer | Marcus Comstedt | 2004-08-29 19:36:34 +0000 |
commit | 76e72ce98d30798146269a5ec58ae9ead7fbcce4 (patch) | |
tree | b8582f57caef50f581b5b016c36adc86663655fa /backends | |
parent | 5a1e353c12db617c18760efe204f0a69631a29a1 (diff) | |
download | scummvm-rg350-76e72ce98d30798146269a5ec58ae9ead7fbcce4.tar.gz scummvm-rg350-76e72ce98d30798146269a5ec58ae9ead7fbcce4.tar.bz2 scummvm-rg350-76e72ce98d30798146269a5ec58ae9ead7fbcce4.zip |
Disable interrupts while performing cache trickery, just in case.
svn-id: r14831
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/dcloader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/dc/dcloader.cpp b/backends/dc/dcloader.cpp index 04ad4ba003..608d7be91e 100644 --- a/backends/dc/dcloader.cpp +++ b/backends/dc/dcloader.cpp @@ -335,8 +335,11 @@ bool DLObject::open(const char *path) ::close(fd); + int oldmask = getimask(); + setimask(15); purge_copyback(); flush_instruction_cache(); + setimask(oldmask); ctors_start = symbol("__plugin_ctors"); ctors_end = symbol("__plugin_ctors_end"); |