mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sprite limit
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@406 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
1cb1584b86
commit
95dc5c5e5e
6 changed files with 6 additions and 4 deletions
|
@ -1110,7 +1110,7 @@ static void DrawAllSprites(int *hcache, int maxwidth, int prio, int sh)
|
|||
|
||||
// sprite limit
|
||||
ntiles += pack>>28;
|
||||
if(ntiles > 40) break;
|
||||
if(!(PicoOpt&0x40000) && ntiles > 40) break;
|
||||
|
||||
if(pack & 0x00800000) continue;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ void mp3_update(int *buffer, int length, int stereo);
|
|||
// 00 00x0 alt_renderer, 6button_gamepad, accurate_timing, accurate_sprites,
|
||||
// 00 0x00 draw_no_32col_border, external_ym2612, enable_cd_pcm, enable_cd_cdda
|
||||
// 00 x000 enable_cd_gfx, cd_perfect_sync, soft_32col_scaling, enable_cd_ramcart
|
||||
// 0x 0000 disable_vdp_fifo, no_svp_dynarec
|
||||
// 0x 0000 disable_vdp_fifo, no_svp_dynarec, no_sprite_limit
|
||||
extern int PicoOpt;
|
||||
extern int PicoVer;
|
||||
extern int PicoSkipFrame; // skip rendering frame, but still do sound (if enabled) and emulation stuff
|
||||
|
|
|
@ -65,6 +65,7 @@ typedef enum
|
|||
MA_OPT2_STATUS_LINE, /* psp */
|
||||
MA_OPT2_NO_FRAME_LIMIT, /* psp */
|
||||
MA_OPT2_SVP_DYNAREC,
|
||||
MA_OPT2_NO_SPRITE_LIM,
|
||||
MA_OPT2_DONE,
|
||||
MA_OPT3_SCALE, /* psp (all OPT3) */
|
||||
MA_OPT3_HSCALE32,
|
||||
|
|
|
@ -1062,6 +1062,7 @@ menu_entry opt2_entries[] =
|
|||
{ "Emulate Z80", MB_ONOFF, MA_OPT2_ENABLE_Z80, &PicoOpt, 0x00004, 0, 0, 1, 1 },
|
||||
{ "Emulate YM2612 (FM)", MB_ONOFF, MA_OPT2_ENABLE_YM2612, &PicoOpt, 0x00001, 0, 0, 1, 1 },
|
||||
{ "Emulate SN76496 (PSG)", MB_ONOFF, MA_OPT2_ENABLE_SN76496,&PicoOpt, 0x00002, 0, 0, 1, 1 },
|
||||
{ "Disable sprite limit", MB_ONOFF, MA_OPT2_NO_SPRITE_LIM, &PicoOpt, 0x40000, 0, 0, 1, 1 },
|
||||
{ "gzip savestates", MB_ONOFF, MA_OPT2_GZIP_STATES, ¤tConfig.EmuOpt, 0x0008, 0, 0, 1, 1 },
|
||||
{ "Don't save last used ROM", MB_ONOFF, MA_OPT2_NO_LAST_ROM, ¤tConfig.EmuOpt, 0x0020, 0, 0, 1, 1 },
|
||||
{ "needs restart:", MB_NONE, MA_NONE, NULL, 0, 0, 0, 1, 0 },
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#define VERSION "1.40a"
|
||||
#define VERSION "1.40b"
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#define VERSION "1.35b"
|
||||
#define VERSION "1.40"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue