mirror of
https://github.com/mlaux/gb6.git
synced 2026-03-13 18:16:28 +00:00
Games running in double-speed mode (8MHz) cause the emulator to execute twice as many instructions per frame. This option ignores the double-speed flag, treating all execution as normal speed for better performance on slower Macs while maintaining correct frame timing. - Add menu toggle in Options menu - Save/load preference to resource file - Check flag in dmg_sync_hw() when calculating PPU cycles
17 lines
378 B
C
17 lines
378 B
C
#ifndef _SETTINGS_H
|
|
#define _SETTINGS_H
|
|
|
|
extern int cycles_per_exit;
|
|
extern int frame_skip;
|
|
extern int video_mode;
|
|
extern int screen_scale;
|
|
extern unsigned char sound_enabled;
|
|
extern unsigned char limit_fps;
|
|
extern unsigned char gbc_enabled;
|
|
extern unsigned char ignore_double_speed;
|
|
|
|
#define VIDEO_DITHER_COPYBITS 0
|
|
#define VIDEO_DITHER_DIRECT 1
|
|
#define VIDEO_INDEXED 2
|
|
|
|
#endif |