X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=win32%2Fplat.c;h=2770b94384c4565fbe9b5db79f3eb7759ef20a37;hb=d2f29611d1379a249c8f3f955ed16a336f9290cd;hp=0c1dea674095b35c20db846d6d2c71e2a3e9bfd6;hpb=8ced8d2b38431e23be1b26457110febbe10d14c7;p=libpicofe.git diff --git a/win32/plat.c b/win32/plat.c index 0c1dea6..2770b94 100644 --- a/win32/plat.c +++ b/win32/plat.c @@ -41,7 +41,7 @@ void plat_wait_till_us(unsigned int us) { int msdiff = (int)(us - plat_get_ticks_us()) / 1000; if (msdiff > 6) -;// Sleep(msdiff - 6); + Sleep(msdiff - 6); while (plat_get_ticks_us() < us) ; } @@ -59,18 +59,15 @@ int plat_wait_event(int *fds_hnds, int count, int timeout_ms) void pemu_prep_defconfig(void) { memset(&defaultConfig, 0, sizeof(defaultConfig)); - defaultConfig.EmuOpt = 0x9d | EOPT_RAM_TIMINGS|EOPT_CONFIRM_SAVE|EOPT_EN_CD_LEDS; - defaultConfig.s_PicoOpt = POPT_EN_STEREO|POPT_EN_FM|POPT_EN_PSG|POPT_EN_Z80 | - POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_ACC_SPRITES | - POPT_EN_32X|POPT_EN_PWM; defaultConfig.s_PicoOpt|= POPT_6BTN_PAD; // for xmen proto - defaultConfig.s_PsndRate = 44100; - defaultConfig.s_PicoRegion = 0; // auto - defaultConfig.s_PicoAutoRgnOrder = 0x184; // US, EU, JP defaultConfig.s_PicoCDBuffers = 0; defaultConfig.Frameskip = 0; } +void pemu_validate_config(void) +{ +} + static int EmuScanBegin16(unsigned int num) { DrawLineDest = (unsigned short *) g_screen_ptr + g_screen_width * num; @@ -200,10 +197,6 @@ void plat_video_menu_end(void) { } -void plat_validate_config(void) -{ -} - void plat_update_volume(int has_changed, int is_up) { } @@ -216,7 +209,7 @@ const char *plat_get_credits(void) "Chui: Fame/C\n" "NJ: CZ80\n" "MAME devs: YM2612, SN76496 and SH2 cores\n" - "Stéphane Dallongeville: base of Fame/C (C68K), CZ80\n\n" + "Stéphane Dallongeville: base of Fame/C (C68K), CZ80\n\n" "Special thanks (ideas, valuable information and stuff):\n" "Charles MacDonald, Eke, Exophase, Haze, Lordus, Nemesis,\n" "Pierpaolo Prazzoli, Rokas, Steve Snake, Tasco Deluxe.\n";