mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-27 03:01:50 +01:00
finalize 2.1.9
This commit is contained in:
parent
238d32ec71
commit
13910118ee
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name>Visual Boy Advance GX</name>
|
||||
<coder>Tantric</coder>
|
||||
<version>2.1.8</version>
|
||||
<release_date>20100714</release_date>
|
||||
<version>2.1.9</version>
|
||||
<release_date>20100720</release_date>
|
||||
<short_description>GBA/GBC/GB Emulator</short_description>
|
||||
<long_description>A port of Visual Boy Advance - M to the Wii.</long_description>
|
||||
</app>
|
||||
|
@ -1,7 +1,7 @@
|
||||
¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸,ø¤°`°¤ø,¸¸,ø¤
|
||||
|
||||
- Visual Boy Advance GX -
|
||||
Version 2.1.8
|
||||
Version 2.1.9
|
||||
http://code.google.com/p/vba-wii
|
||||
(Under GPL License)
|
||||
|
||||
@ -16,7 +16,7 @@ With it you can play GBA/Game Boy Color/Game Boy games on your Wii/GameCube.
|
||||
* Rotation sensors, Solar sensors, and Rumble support
|
||||
* Optional special Wii controls built-in for some games
|
||||
* SRAM and State saving
|
||||
* IPS/UPS/PPF patch support
|
||||
* IPS/UPS patch support
|
||||
* Custom controller configurations
|
||||
* SD, USB, DVD, SMB, Zip, and 7z support
|
||||
* Compatibility based on VBA-M r927
|
||||
@ -28,6 +28,10 @@ With it you can play GBA/Game Boy Color/Game Boy games on your Wii/GameCube.
|
||||
|0O×øo· UPDATE HISTORY ·oø×O0|
|
||||
`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨'
|
||||
|
||||
[2.1.9 - July 20, 2010]
|
||||
|
||||
* Reverted USB2 changes
|
||||
|
||||
[2.1.8 - July 14, 2010]
|
||||
|
||||
* Ability to use both USB ports (requires updated IOS 202 - WARNING: older
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <fat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define SAVEBUFFERSIZE (1024 * 512)
|
||||
#define SAVEBUFFERSIZE (1024 * 1024 * 2)
|
||||
|
||||
void InitDeviceThread();
|
||||
void ResumeDeviceThread();
|
||||
|
Binary file not shown.
@ -135,9 +135,6 @@ int mload_init()
|
||||
mloadVersion = IOS_IoctlvFormat(hid, mload_fd, MLOAD_GET_MLOAD_VERSION, ":");
|
||||
iosBase = IOS_IoctlvFormat(hid, mload_fd, MLOAD_GET_IOS_BASE, ":");
|
||||
|
||||
if(mloadVersion < 0x52) // unsupported IOS202
|
||||
return mload_close();
|
||||
|
||||
return mload_fd;
|
||||
}
|
||||
|
||||
|
@ -220,31 +220,6 @@ static bool FindIOS(u32 ios)
|
||||
free(titles);
|
||||
return false;
|
||||
}
|
||||
|
||||
#define ROUNDDOWN32(v) (((u32)(v)-0x1f)&~0x1f)
|
||||
|
||||
static bool USBLANDetected()
|
||||
{
|
||||
u8 dummy;
|
||||
u8 i;
|
||||
u16 vid, pid;
|
||||
|
||||
USB_Initialize();
|
||||
u8 *buffer = (u8*)ROUNDDOWN32(((u32)SYS_GetArena2Hi() - (32*1024)));
|
||||
memset(buffer, 0, 8 << 3);
|
||||
|
||||
if(USB_GetDeviceList("/dev/usb/oh0", buffer, 8, 0, &dummy) < 0)
|
||||
return false;
|
||||
|
||||
for(i = 0; i < 8; i++)
|
||||
{
|
||||
memcpy(&vid, (buffer + (i << 3) + 4), 2);
|
||||
memcpy(&pid, (buffer + (i << 3) + 6), 2);
|
||||
if( (vid == 0x0b95) && (pid == 0x7720))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
/****************************************************************************
|
||||
* USB Gecko Debugging
|
||||
@ -315,8 +290,6 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
#ifdef HW_RVL
|
||||
bool usblan = USBLANDetected();
|
||||
|
||||
// try to load IOS 202
|
||||
if(FindIOS(202))
|
||||
IOS_ReloadIOS(202);
|
||||
@ -326,33 +299,11 @@ int main(int argc, char *argv[])
|
||||
if(IOS_GetVersion() == 202)
|
||||
{
|
||||
// enable DVD and USB2
|
||||
DI_LoadDVDX(false);
|
||||
DI_Init();
|
||||
|
||||
if(mload_init() >= 0 && load_ehci_module())
|
||||
{
|
||||
int mode = 3;
|
||||
|
||||
if(usblan)
|
||||
{
|
||||
int usblanport = GetUSB2LanPort();
|
||||
|
||||
if(usblanport >= 0)
|
||||
{
|
||||
if(usblanport == 1)
|
||||
mode = 1;
|
||||
else
|
||||
mode = 2;
|
||||
|
||||
USB2Storage_Close();
|
||||
mload_close();
|
||||
IOS_ReloadIOS(202);
|
||||
mload_init();
|
||||
load_ehci_module();
|
||||
}
|
||||
}
|
||||
SetUSB2Mode(mode);
|
||||
USB2Enable(true);
|
||||
DI_LoadDVDX(false);
|
||||
DI_Init();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "utils/FreeTypeGX.h"
|
||||
|
||||
#define APPNAME "Visual Boy Advance GX"
|
||||
#define APPVERSION "2.1.8"
|
||||
#define APPVERSION "2.1.9"
|
||||
#define APPFOLDER "vbagx"
|
||||
#define PREF_FILE_NAME "settings.xml"
|
||||
#define PAL_FILE_NAME "palettes.xml"
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<app version="2.1.8">
|
||||
<file url="http://vba-wii.googlecode.com/files/Visual%20Boy%20Advance%20GX%202.1.8.zip"></file>
|
||||
<app version="2.1.9">
|
||||
<file url="http://vba-wii.googlecode.com/files/Visual%20Boy%20Advance%20GX%202.1.9.zip"></file>
|
||||
</app>
|
||||
|
Loading…
Reference in New Issue
Block a user