notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed: broken fs0, sram saves
[fceu.git]
/
drivers
/
cli
/
sdl-video.c
diff --git
a/drivers/cli/sdl-video.c
b/drivers/cli/sdl-video.c
index
5ca240c
..
b805a8a
100644
(file)
--- a/
drivers/cli/sdl-video.c
+++ b/
drivers/cli/sdl-video.c
@@
-35,7
+35,7
@@
static int inited=0;
static int exs,eys,eefx;
#define NWIDTH (256-((eoptions&EO_CLIPSIDES)?16:0))
static int exs,eys,eefx;
#define NWIDTH (256-((eoptions&EO_CLIPSIDES)?16:0))
-#define NOFFSET (
eoptions&EO_CLIPSIDES?8:0
)
+#define NOFFSET (
32-8+(eoptions&EO_CLIPSIDES?8:0)
)
static void CleanSurface(void)
{
static void CleanSurface(void)
{
@@
-186,7
+186,7
@@
void BlitScreen(uint8 *XBuf)
paletterefresh=0;
}
paletterefresh=0;
}
- XBuf+=_sline*
272
;
+ XBuf+=_sline*
320
;
if(SDL_MUSTLOCK(screen))
SDL_LockSurface(screen);
if(SDL_MUSTLOCK(screen))
SDL_LockSurface(screen);