Skip to content

Commit

Permalink
finalize 3.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dborth committed Mar 31, 2010
1 parent 6a48493 commit e6361c3
Show file tree
Hide file tree
Showing 12 changed files with 1,698 additions and 21 deletions.
18 changes: 15 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��

- FCE Ultra GX -
Version 3.1.3
Version 3.1.4
http://code.google.com/p/fceugc
(Under GPL License)

Expand All @@ -19,20 +19,32 @@ Wii/GameCube.
* Zapper support
* Auto Load/Save Game States and RAM
* Custom controller configurations
* SD, USB, DVD (requires DVDx), SMB, Zip, and 7z support
* SD, USB, DVD, SMB, Zip, and 7z support
* Custom controller configurations
* 16:9 widescreen support
* Original/filtered/unfiltered video modes
* Turbo Mode - up to 2x the normal speed
* Cheat support (.CHT files and Game Genie)
* IPS/UPS/PPF automatic patching support
* NES Compatibility Based on FCEUX 2.1.2
* NES Compatibility Based on FCEUX 2.1.2+
* Open Source!

ח����������� ������������������������������ �����������������������-����-���
|0O��o� UPDATE HISTORY �o��O0|
`������� ���������������� ��������������� �������������������� �������������'

[3.1.4 - March 30, 2010]

* 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
* Synced with official FCEUX (various game fixes)
* ROMs larger than 3 MB now load
* Now also searches in application path for gg.rom and disksys.rom

[3.1.3 - December 23, 2009]

* Fixed major file loading issue, more games load now
Expand Down
2 changes: 1 addition & 1 deletion source/fceugx.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "fceultra/driver.h"

#define APPNAME "FCE Ultra GX"
#define APPVERSION "3.1.3"
#define APPVERSION "3.1.4"
#define APPFOLDER "fceugx"
#define PREF_FILE_NAME "settings.xml"

Expand Down
19 changes: 14 additions & 5 deletions source/gcvideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,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

Expand Down Expand Up @@ -593,6 +594,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();
}

/****************************************************************************
Expand Down Expand Up @@ -660,6 +664,8 @@ ResetVideo_Emu ()

void RenderFrame(unsigned char *XBuf)
{
GX_WaitDrawDone();

// Ensure previous vb has complete
while ((LWP_ThreadIsSuspended (vbthread) == 0) || (copynow == GX_TRUE))
usleep (50);
Expand Down Expand Up @@ -752,7 +758,7 @@ void RenderFrame(unsigned char *XBuf)

// render textured quad
draw_square(view);
GX_DrawDone();
GX_SetDrawDone();

if(ScreenshotRequested)
{
Expand All @@ -777,7 +783,6 @@ void RenderFrame(unsigned char *XBuf)

// EFB is ready to be copied into XFB
VIDEO_SetNextFramebuffer(xfb[whichfb]);
VIDEO_Flush();

copynow = GX_TRUE;

Expand Down Expand Up @@ -883,16 +888,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;
}

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion source/gui/gui_filebrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading

0 comments on commit e6361c3

Please sign in to comment.