mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 16:31:01 +00:00
N64: remove some unused code
svn-id: r47886
This commit is contained in:
parent
fb49449322
commit
822e59288f
@ -18,7 +18,6 @@ DEFINES += -D__N64__ -DLIMIT_FPS -DNONSTANDARD_PORT -DDISABLE_DEFAULT_SAVEFILEMA
|
||||
LIBS += -lpakfs -lframfs -ln64 -ln64utils -lromfs
|
||||
|
||||
#DEFINES += -D_ENABLE_DEBUG_
|
||||
#DEFINES += -D_NORMAL_N64_DELAY_
|
||||
|
||||
USE_LIBMAD=0
|
||||
USE_LIBOGG=0
|
||||
|
@ -795,7 +795,6 @@ uint32 OSystem_N64::getMillis() {
|
||||
}
|
||||
|
||||
void OSystem_N64::delayMillis(uint msecs) {
|
||||
#ifndef _NORMAL_N64_DELAY_
|
||||
// In some cases a game might hang waiting for audio being
|
||||
// played. This is a workaround for all the situations i
|
||||
// found (kyra 1 & 2 DOS).
|
||||
@ -804,13 +803,11 @@ void OSystem_N64::delayMillis(uint msecs) {
|
||||
refillAudioBuffers();
|
||||
uint32 pastMillis = (getMilliTick() - oldTime);
|
||||
|
||||
if (pastMillis >= msecs)
|
||||
if (pastMillis >= msecs) {
|
||||
return;
|
||||
else
|
||||
} else {
|
||||
delay(msecs - pastMillis);
|
||||
#else
|
||||
delay(msecs);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
// As we don't have multi-threading, no need for mutexes
|
||||
|
Loading…
x
Reference in New Issue
Block a user