Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MediEvil PAL and other large video resolution games (emukidid, pcercuei) #130

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions PeopsSoftGPU/drawGX.c
Expand Up @@ -65,7 +65,7 @@ bool backFromMenu=0;
//int iResX_Max=640; //Max FB Width
int iResX_Max=RESX_MAX;
int iResY_Max=RESY_MAX;
static unsigned char GXtexture[GXRESX_MAX*RESY_MAX*2] __attribute__((aligned(32)));
static unsigned char GXtexture[GXRESX_MAX*RESY_MAX*4] __attribute__((aligned(32)));
char * pCaptionText;

extern u32* xfb[2]; /*** Framebuffers ***/
Expand Down Expand Up @@ -114,7 +114,7 @@ void DoBufferSwap(void) // SWAP BUFFERS

if(iOldDX!=iDX || iOldDY!=iDY)
{
memset(GXtexture, 0, GXRESX_MAX*RESY_MAX*2);
memset(GXtexture, 0, GXRESX_MAX*RESY_MAX*4);
iOldDX=iDX;iOldDY=iDY;
backFromMenu = 1;
}
Expand Down