mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
bugfix, sprites adjustment
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@521 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
fbc65db755
commit
0fc0e24180
11 changed files with 39 additions and 47 deletions
|
@ -343,13 +343,13 @@ static void SkipFrame(void)
|
|||
}
|
||||
|
||||
/* forced frame to front buffer */
|
||||
void emu_forcedFrame(void)
|
||||
void emu_forcedFrame(int opts)
|
||||
{
|
||||
int po_old = PicoOpt;
|
||||
int eo_old = currentConfig.EmuOpt;
|
||||
|
||||
PicoOpt &= ~0x0010;
|
||||
PicoOpt |= 0x4080; // soft_scale | acc_sprites
|
||||
PicoOpt &= ~0x10;
|
||||
PicoOpt |= opts|POPT_ACC_SPRITES;
|
||||
currentConfig.EmuOpt |= 0x80;
|
||||
|
||||
if (giz_screen == NULL)
|
||||
|
|
|
@ -25,7 +25,6 @@ void emu_Init(void);
|
|||
void emu_Deinit(void);
|
||||
void emu_Loop(void);
|
||||
void emu_ResetGame(void);
|
||||
void emu_forcedFrame(void);
|
||||
|
||||
void emu_stateCb(const char *str);
|
||||
|
||||
|
|
|
@ -578,7 +578,7 @@ static void draw_savestate_bg(int slot)
|
|||
areaClose(file);
|
||||
}
|
||||
|
||||
emu_forcedFrame();
|
||||
emu_forcedFrame(POPT_EN_SOFTSCALE);
|
||||
menu_prepare_bg(1);
|
||||
|
||||
memcpy(Pico.vram, tmp_vram, sizeof(Pico.vram));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue