giz dblbuff, scanline mode

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@270 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-10-06 12:20:44 +00:00
parent c2e83bcd16
commit f3dc5a3a95
3 changed files with 12 additions and 8 deletions

View file

@ -132,11 +132,10 @@ graphics problems for some games, so it's best to use 16bit one.
#endif #endif
#ifdef GIZ #ifdef GIZ
@@0. "Interlaced rendering" @@0. "Scanline mode"
This option was designed to work around slow framebuffer access (the Gizmondo's This option was designed to work around slow framebuffer access (the Gizmondo's
main bottleneck) by drawing every other line (odd numbered lines during odd main bottleneck) by drawing every other line (even nummbered lines only).
numbered frames and even numbered lines during even frames). This improves This improves performance greatly, but looses detail.
performance greatly, but introduces artifacts for fast scrolling games.
#endif #endif
#ifdef GP2X #ifdef GP2X
@ -272,10 +271,14 @@ game to get sound. This is because most games initialize sound chips on
startup, and this data is lost when sound chips are being enabled/disabled. startup, and this data is lost when sound chips are being enabled/disabled.
#ifdef GIZ #ifdef GIZ
@@1. "Double buffering"
Draws the display to offscreen buffer, and flips it with visible one when done.
Unfortunately this causes serious tearing, unless v-sync is used (next option).
@@1. "Wait for V-sync" @@1. "Wait for V-sync"
Waits for vertical sync before drawing. This option doesn't eliminate tearing Waits for vertical sync before drawing (or flipping buffers, if previous option
problems, because full framebuffer update takes much more time then the blanking is enabled). Emulation is stopped while waiting, so this causes large performance
period lasts on Gizmondo.. hit.
#endif #endif
@@1. "gzip savestates" @@1. "gzip savestates"

View file

@ -8,7 +8,7 @@ typedef struct {
int EmuOpt; // LSb->MSb: use_sram, show_fps, enable_sound, gzip_saves, int EmuOpt; // LSb->MSb: use_sram, show_fps, enable_sound, gzip_saves,
// squidgehack, no_save_cfg_on_exit, <unused>, 16_bit_mode // squidgehack, no_save_cfg_on_exit, <unused>, 16_bit_mode
// craigix_ram, confirm_save, show_cd_leds, confirm_load // craigix_ram, confirm_save, show_cd_leds, confirm_load
// A_SNs_gamma, perfect_vsync, interlace // A_SNs_gamma, perfect_vsync, giz_scanlines, giz_dblbuff
int PicoOpt; // used for config saving only, see Pico.h int PicoOpt; // used for config saving only, see Pico.h
int PsndRate; // ditto int PsndRate; // ditto
int PicoRegion; // ditto int PicoRegion; // ditto

View file

@ -53,6 +53,7 @@ typedef enum
MA_OPT_INTERLACED, /* giz */ MA_OPT_INTERLACED, /* giz */
MA_OPT2_GAMMA, MA_OPT2_GAMMA,
MA_OPT2_A_SN_GAMMA, MA_OPT2_A_SN_GAMMA,
MA_OPT2_DBLBUFF, /* giz */
MA_OPT2_VSYNC, MA_OPT2_VSYNC,
MA_OPT2_ENABLE_Z80, MA_OPT2_ENABLE_Z80,
MA_OPT2_ENABLE_YM2612, MA_OPT2_ENABLE_YM2612,