diff --git a/hbc/meta.xml b/hbc/meta.xml
index 3412a17..38e4c7c 100644
--- a/hbc/meta.xml
+++ b/hbc/meta.xml
@@ -2,8 +2,8 @@
Visual Boy Advance GX
Tantric
- 2.1.9
- 20100720
+ 2.2.0
+ 20100722
GBA/GBC/GB Emulator
A port of Visual Boy Advance - M to the Wii.
diff --git a/readme.txt b/readme.txt
index 89ca2d3..fe4cd3e 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,7 +1,6 @@
¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤
- Visual Boy Advance GX -
- Version 2.1.9
http://code.google.com/p/vba-wii
(Under GPL License)
@@ -28,6 +27,10 @@ With it you can play GBA/Game Boy Color/Game Boy games on your Wii/GameCube.
|0O×øo· UPDATE HISTORY ·oø×O0|
`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨'
+[2.2.0 - July 22, 2010]
+
+* Fixed broken auto-update
+
[2.1.9 - July 20, 2010]
* Reverted USB2 changes
diff --git a/source/networkop.cpp b/source/networkop.cpp
index fb978ac..fcbc25b 100644
--- a/source/networkop.cpp
+++ b/source/networkop.cpp
@@ -152,8 +152,14 @@ bool DownloadUpdate()
if (hfile)
{
if(http_request(updateURL, hfile, NULL, (1024*1024*10), NOTSILENT) > 0)
+ {
+ fclose (hfile);
result = unzipArchive(updateFile, (char *)pathPrefix[device]);
- fclose (hfile);
+ }
+ else
+ {
+ fclose (hfile);
+ }
remove(updateFile); // delete update file
}
diff --git a/source/vbagx.h b/source/vbagx.h
index ec84c90..2deb9c1 100644
--- a/source/vbagx.h
+++ b/source/vbagx.h
@@ -16,7 +16,7 @@
#include "utils/FreeTypeGX.h"
#define APPNAME "Visual Boy Advance GX"
-#define APPVERSION "2.1.9"
+#define APPVERSION "2.2.0"
#define APPFOLDER "vbagx"
#define PREF_FILE_NAME "settings.xml"
#define PAL_FILE_NAME "palettes.xml"
diff --git a/update.xml b/update.xml
index e482e15..42d0868 100644
--- a/update.xml
+++ b/update.xml
@@ -1,4 +1,4 @@
-
-
+
+