fix bug when missing config file
authorJavier S. Pedro <javier@javispedro.com>
Tue, 25 Aug 2009 17:27:44 +0000 (19:27 +0200)
committerJavier S. Pedro <javier@javispedro.com>
Tue, 25 Aug 2009 17:27:44 +0000 (19:27 +0200)
debian/changelog
platform/sdl.cpp

index 6c4b690..d462787 100644 (file)
@@ -11,8 +11,11 @@ drnoksnes (0.9.4) unstable; urgency=low
   * Fixed bug with non-.smc roms in frontend.
   * Switched to SDL GetTicks/Delay functions instead of gettimeofday/usleep.
   * GUI now allows to set simple button/key mappings.
+  * Better audio quality when using ESD backend.
+  * Configurable audio rate & audio buffer size (cmd line or config file).
+  * Fixed crash when missing config file.
 
- -- Javier S. Pedro <maemo@javispedro.com>  Tue, 25 Aug 2009 18:12:39 +0200
+ -- Javier S. Pedro <maemo@javispedro.com>  Tue, 25 Aug 2009 19:26:11 +0200
 
 drnoksnes (0.9.3) unstable; urgency=low
 
index a6f1fde..862d352 100644 (file)
@@ -225,7 +225,7 @@ int main(int argc, const char ** argv) {
        // Late initialization
        sprintf(String, "DrNokSnes - %s", Memory.ROMName);
        S9xSetTitle(String);
-       S9xHacksLoadFile(Config.hacksFile[0] ? Config.hacksFile : 0);
+       S9xHacksLoadFile(Config.hacksFile);
        if (!S9xGraphicsInit())
          DIE("S9xGraphicsInit failed");
        S9xAudioOutputEnable(true);