MSVC compatibility fixes

This commit is contained in:
Twinaphex
2014-04-15 01:59:54 -07:00
parent a5a1a476b1
commit 514448258e
20 changed files with 55 additions and 37 deletions

View File

@@ -637,6 +637,9 @@ void FCEUD_Update(uint8 *XBuf, int32 *Buffer, int Count)
void retro_run(void)
{
unsigned width, height, pitch, x, y;
#ifndef PSP
static uint16_t video_out[256 * 240];
#endif
uint8_t *gfx;
int32 ssize;
bool updated;
@@ -673,8 +676,6 @@ void retro_run(void)
sceGuClutLoad(32, retro_palette);
sceGuFinish();
#else
static uint16_t video_out[256 * 240];
#endif
if (use_overscan)