N64: remove some unused code

svn-id: r47886
This commit is contained in:
Fabio Battaglia 2010-02-04 20:17:03 +00:00
parent fb49449322
commit 822e59288f
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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