X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Femu.h;h=75a0322ea3abe0b309a45d98dca05c835ce10b98;hb=576fc637929cdfc92884e2e92c6c22e002cfb000;hp=42d732bd5cc729846fccb0f016022bc0f82122f6;hpb=4ffd28584ea826a527defbe194d3a79d5128f63d;p=libpicofe.git diff --git a/gp2x/emu.h b/gp2x/emu.h index 42d732b..75a0322 100644 --- a/gp2x/emu.h +++ b/gp2x/emu.h @@ -1,4 +1,4 @@ -// (c) Copyright 2006 notaz, All rights reserved. +// (c) Copyright 2006-2007 notaz, All rights reserved. // Free for non-commercial use. // For commercial use, separate licencing terms must be obtained. @@ -13,13 +13,14 @@ enum TPicoGameState { PGS_KeyConfig, PGS_ReloadRom, PGS_Menu, + PGS_RestartRun, }; typedef struct { char lastRomFile[512]; int EmuOpt; // LSb->MSb: use_sram, show_fps, enable_sound, gzip_saves, - // squidgehack, save_cfg_on_exit, , 16_bit_mode - // craigix_ram, confirm_save, show_cd_leds + // squidgehack, no_save_cfg_on_exit, , 16_bit_mode + // craigix_ram, confirm_save, show_cd_leds, confirm_load // int PicoOpt; // used for config saving only, see Pico.h int PsndRate; // ditto @@ -31,6 +32,8 @@ typedef struct { int gamma; int JoyBinds[4][32]; int PicoAutoRgnOrder; + int PicoCDBuffers; + int scaling; // 0=center, 1=hscale, 2=hvscale, 3=hsoftscale } currentConfig_t; extern char romFileName[]; @@ -50,5 +53,7 @@ char *emu_GetSaveFName(int load, int is_sram, int slot); int emu_check_save_file(int slot); void emu_set_save_cbs(int gz); void emu_forced_frame(void); +int emu_cd_check(char **bios_file); int find_bios(int region, char **bios_file); +void scaling_update(void);