mirror of https://github.com/snes9xgit/snes9x.git
Don't black out screen when no data in savestate.
This commit is contained in:
parent
26066945d2
commit
8db667fe13
|
@ -132,7 +132,6 @@ snes9x_gtk_SOURCES += \
|
|||
# Byuu's APU
|
||||
snes9x_gtk_SOURCES += \
|
||||
../apu/bapu/dsp/sdsp.cpp \
|
||||
../apu/bapu/dsp/SPC_DSP.cpp \
|
||||
../apu/bapu/smp/smp.cpp \
|
||||
../apu/bapu/smp/smp_state.cpp
|
||||
|
||||
|
|
2
port.h
2
port.h
|
@ -207,7 +207,7 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#ifdef __WIN32__
|
||||
#define NOMINMAX
|
||||
#define NOMINMAX 1
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1939,12 +1939,6 @@ int S9xUnfreezeFromStream (STREAM stream)
|
|||
|
||||
delete ssi;
|
||||
}
|
||||
else
|
||||
{
|
||||
// couldn't load graphics, so black out the screen instead
|
||||
for (uint32 y = 0; y < (uint32) (IMAGE_HEIGHT); y++)
|
||||
memset(GFX.Screen + y * GFX.RealPPL, 0, GFX.RealPPL * 2);
|
||||
}
|
||||
}
|
||||
|
||||
if (local_cpu) delete [] local_cpu;
|
||||
|
|
Loading…
Reference in New Issue