[ 2047986 ] palflag 1 in .fm2 files crashes fceux ;

also, change build process so that upx doesnt happen until deploy.bat (lets you debug release builds)
This commit is contained in:
zeromus 2008-08-13 04:06:01 +00:00
parent dcd2e0de0b
commit 93c18133cb
7 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,6 @@
---version 2.0.2 released--- ---version 2.0.2 released---
12-aug-2008 - zeromus - SF [ 2047986 ] palflag 1 in .fm2 files crashes fceux
12-aug-2008 - adelikat - movie replay dialog displays fractions of a second 12-aug-2008 - adelikat - movie replay dialog displays fractions of a second
12-aug-2008 - punkrockguy318 - SDL: fixed segfault when opening .fcm files 12-aug-2008 - punkrockguy318 - SDL: fixed segfault when opening .fcm files
12-aug-2008 - punkrockguy318 - SDL: Saner sound defaults for less choppy sound 12-aug-2008 - punkrockguy318 - SDL: Saner sound defaults for less choppy sound

View File

@ -312,6 +312,9 @@ void FCEUD_UpdatePPUView(int scanline, int drawall);
///I am dissatisfied with this method of getting an option from the driver to the core. but that is what we're using for now ///I am dissatisfied with this method of getting an option from the driver to the core. but that is what we're using for now
bool FCEUD_PauseAfterPlayback(); bool FCEUD_PauseAfterPlayback();
///called when fceu changes something in the video system you might be interested in
void FCEUD_VideoChanged();
enum EFCEUI enum EFCEUI
{ {
FCEUI_STOPAVI, FCEUI_SAVESTATE, FCEUI_LOADSTATE, FCEUI_STOPAVI, FCEUI_SAVESTATE, FCEUI_LOADSTATE,

View File

@ -544,6 +544,7 @@ DUMMY(FCEUD_MovieReplayFrom)
DUMMY(FCEUD_ToggleStatusIcon) DUMMY(FCEUD_ToggleStatusIcon)
DUMMY(FCEUD_AviRecordTo) DUMMY(FCEUD_AviRecordTo)
DUMMY(FCEUD_AviStop) DUMMY(FCEUD_AviStop)
DUMMY(FCEUD_VideoChanged);
void FCEUI_AviVideoUpdate(const unsigned char* buffer) { } void FCEUI_AviVideoUpdate(const unsigned char* buffer) { }
int FCEUD_ShowStatusIcon(void) {return 0;} int FCEUD_ShowStatusIcon(void) {return 0;}
bool FCEUI_AviIsRecording(void) {return false;} bool FCEUI_AviIsRecording(void) {return false;}

View File

@ -1143,3 +1143,7 @@ void ConfigVideo(void)
PushCurrentVideoSettings(); PushCurrentVideoSettings();
} }
void FCEUD_VideoChanged() {
PushCurrentVideoSettings();
}

View File

@ -775,6 +775,7 @@ void FCEUI_SetVidSystem(int a)
{ {
FCEU_ResetVidSys(); FCEU_ResetVidSys();
FCEU_ResetPalette(); FCEU_ResetPalette();
FCEUD_VideoChanged();
} }
} }

View File

@ -1,6 +1,9 @@
del /s fceux.zip del /s fceux.zip
copy ..\output\fceux.exe .
upx ..\output\fceux.exe
cd ..\output cd ..\output
..\vc8\zip -X -9 -r ..\vc8\fceux.zip fceux.exe fceux.chm 7z.dll palettes ..\vc8\zip -X -9 -r ..\vc8\fceux.zip fceux.exe fceux.chm 7z.dll palettes
move /y ..\vc8\fceux.exe .
copy /y luapack\luapack.zip ..\vc8\ copy /y luapack\luapack.zip ..\vc8\
..\vc8\zip -X -9 -r ..\vc8\luapack.zip auxlib.lua ..\vc8\zip -X -9 -r ..\vc8\luapack.zip auxlib.lua
cd ..\documentation cd ..\documentation

View File

@ -186,7 +186,7 @@
/> />
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
CommandLine="xcopy /y /d &quot;$(ProjectDir)\..\src\drivers\win\7z.dll&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;upx ..\output\fceux.exe&#x0D;&#x0A;" CommandLine="xcopy /y /d &quot;$(ProjectDir)\..\src\drivers\win\7z.dll&quot; &quot;$(OutDir)&quot;&#x0D;&#x0A;&#x0D;&#x0A;"
/> />
</Configuration> </Configuration>
<Configuration <Configuration