This commit is contained in:
dborth 2010-03-31 02:50:05 +00:00
parent 2445c18fc5
commit 5564a022e9
8 changed files with 55 additions and 17 deletions

View File

@ -10,7 +10,7 @@
­————————————————————————————————————————————————————————————————————————————
×—–­—–­—–­—–­ –­—–­—–­—–­—–­—–­—–­—–­—–­—–­— ­—–­—–­—–­—–­—–­—–­—–­—-­—–­-–•¬
|0O×øo· Snes9x GX 4.1.5 ·oø×O0|
|0O×øo· Snes9x GX 4.1.6 ·oø×O0|
| http://code.google.com/p/snes9x-gx |
| (Under GPL License) |
`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨'
@ -32,7 +32,7 @@ Wii homebrew is WiiBrew (www.wiibrew.org).
* Cheat support
* Auto Load/Save Game Snapshots and SRAM
* Custom controller configurations
* SD, USB, DVD (requires DVDx), SMB, Zip, and 7z support
* SD, USB, DVD, SMB, Zip, and 7z support
* Autodetect PAL/NTSC, 16:9 widescreen support
* Original/filtered/unfiltered video modes
* Turbo Mode - up to 2x the normal speed
@ -43,6 +43,18 @@ Wii homebrew is WiiBrew (www.wiibrew.org).
| UPDATE HISTORY |
•˜———–—––-- - —————————––––– ———–—––-- - —————————––––– ———–—––-- - ————————•
[4.1.6 - March 30, 2010]
* New core! Updated to Snes9x 1.52. Old save states will not work!
* DVD / USB 2.0 support via IOS 202. DVDx support has been dropped. It is
highly recommended to install IOS 202 via the included installer
* Multi-language support (only French translation is fully complete)
* Thank you to everyone who submitted translations
* SMB improvements/bug fixes
* Minor video & input performance optimizations
* Now uses .srm files without "Auto" appended, if found
* Added option to disable crosshair
[4.1.5 - December 23, 2009]
* Changed default folders to snes9xgx/roms and snes9xgx/saves. Old folders

View File

@ -435,7 +435,7 @@ void GuiFileBrowser::Update(GuiTrigger * t)
}
else
{
position = 156* (int((float(browser.pageIndex) + float(FILE_PAGESIZE)*0.5f) / (float(browser.numEntries))));
position = 156 * (browser.pageIndex + FILE_PAGESIZE/2) / (float)browser.numEntries;
}
scrollbarBoxBtn->SetPosition(0,position+36);
}

View File

@ -20,6 +20,7 @@
#include <ogcsys.h>
#include <unistd.h>
#include <wiiuse/wpad.h>
#include <ogc/lwp_watchdog.h>
#include "snes9xgx.h"
#include "button_mapping.h"
@ -196,13 +197,27 @@ void ResetControls(int consoleCtrl, int wiiCtrl)
*
* Scans pad and wpad
***************************************************************************/
static int padsConnected = 0;
static u64 prev, now;
void
UpdatePads()
{
#ifdef HW_RVL
WPAD_ScanPads();
#endif
PAD_ScanPads();
now = gettime();
if(!padsConnected && diff_usec(prev, now) < 2000000)
return;
prev = now;
padsConnected = PAD_ScanPads();
if(!padsConnected)
return;
for(int i=3; i >= 0; i--)
{

View File

@ -25,6 +25,9 @@ msgstr "La décompression 7z a échoué : le fichier utilise des paramètres de
msgid "A (Rapid)"
msgstr "A (Rapide)"
msgid "Additional coding"
msgstr "Programmation additionnelle"
msgid "Aim Offscreen"
msgstr "Visée hors champ"
@ -107,7 +110,7 @@ msgid "Coding"
msgstr "Programmation"
msgid "Coding & menu design"
msgstr "Prog. & design du menu"
msgstr "Programmation & design du menu"
msgid "Compressed GBA files are not supported!"
msgstr "Les fichiers GBA compressés ne sont pas supportés !"
@ -287,7 +290,7 @@ msgid "Insert Coin"
msgstr "Insérer une pièce"
msgid "Insert Coin / Switch Disk"
msgstr "Insér. une pièce/Chang. disq."
msgstr "Insér. une pièce/Chang. disqtte"
msgid "Invalid file size!"
msgstr "Taille du fichier invalide"
@ -752,7 +755,7 @@ msgid "State file not found"
msgstr "Pas de sauvegarde d'état trouvée"
msgid "Stretch to Fit"
msgstr "Plein écran"
msgstr "Étirer au ratio de l'écran"
msgid "Superscope"
msgstr "Super Scope"

View File

@ -157,7 +157,7 @@ bool DownloadUpdate()
if (hfile > 0)
{
int retval;
retval = http_request(updateURL, hfile, NULL, (1024*1024*5));
retval = http_request(updateURL, hfile, NULL, (1024*1024*10));
fclose (hfile);
}

View File

@ -452,6 +452,7 @@ DefaultSettings ()
// Sound defaults. On Wii this is 32Khz/16bit/Stereo
Settings.SixteenBitSound = true;
Settings.Stereo = true;
Settings.ReverseStereo = true;
Settings.SoundPlaybackRate = 32000;
Settings.SoundInputRate = 31950;

View File

@ -482,7 +482,8 @@ static GXRModeObj * FindVideoMode()
// widescreen fix
if(CONF_GetAspectRatio() == CONF_ASPECT_16_9)
{
mode->viWidth = VI_MAX_WIDTH_PAL;
mode->viWidth = 678;
mode->viXOrigin = (VI_MAX_WIDTH_NTSC - 678) / 2;
}
#endif
return mode;
@ -551,6 +552,9 @@ InitGCVideo ()
GX_SetCopyClear (background, 0x00ffffff);
GX_SetDispCopyGamma (GX_GM_1_0);
GX_SetCullMode (GX_CULL_NONE);
GX_SetDrawDoneCallback(VIDEO_Flush);
GX_CopyDisp (xfb[whichfb], GX_TRUE); // reset xfb
GX_Flush();
vwidth = 100;
vheight = 100;
@ -690,11 +694,11 @@ update_video (int width, int height)
vwidth = width;
vheight = height;
GX_WaitDrawDone();
// Ensure previous vb has complete
while ((LWP_ThreadIsSuspended (vbthread) == 0) || (copynow == GX_TRUE))
{
usleep (50);
}
whichfb ^= 1;
@ -774,7 +778,7 @@ update_video (int width, int height)
draw_square (view); // draw the quad
GX_DrawDone ();
GX_SetDrawDone();
if(ScreenshotRequested)
{
@ -798,7 +802,6 @@ update_video (int width, int height)
}
VIDEO_SetNextFramebuffer (xfb[whichfb]);
VIDEO_Flush ();
copynow = GX_TRUE;
// Return to caller, don't waste time waiting for vb
@ -939,16 +942,20 @@ ResetVideo_Menu ()
*
* Renders everything current sent to GX, and flushes video
***************************************************************************/
static bool firstFrame = true;
void Menu_Render()
{
if(!firstFrame)
GX_WaitDrawDone();
whichfb ^= 1; // flip framebuffer
GX_SetZMode(GX_TRUE, GX_LEQUAL, GX_TRUE);
GX_SetColorUpdate(GX_TRUE);
GX_CopyDisp(xfb[whichfb],GX_TRUE);
GX_DrawDone();
GX_SetDrawDone();
VIDEO_SetNextFramebuffer(xfb[whichfb]);
VIDEO_Flush();
VIDEO_WaitVSync();
firstFrame = false;
}
/****************************************************************************

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="4.1.5">
<file url="http://snes9x-gx.googlecode.com/files/Snes9x%20GX%204.1.5.zip"></file>
<app version="4.1.6">
<file url="http://snes9x-gx.googlecode.com/files/Snes9x%20GX%204.1.6.zip"></file>
</app>