X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Flibretro.c;h=34e3b4eff7d91009b0e2e535d1568a0b83e3b153;hp=47f07a63ba589fba6cbf02e5a003093d8dfce1ad;hb=35d3fd2efb47352edf794255da3e4745f6bd0a0d;hpb=4e47706596441172d1cc3f203b8baa398cea3023 diff --git a/frontend/libretro.c b/frontend/libretro.c index 47f07a63..34e3b4ef 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -197,7 +197,7 @@ void pl_timing_prepare(int is_pal) is_pal_mode = is_pal; } -void plat_trigger_vibrate(int pad, uint32_t low, uint32_t high) +void plat_trigger_vibrate(int pad, int low, int high) { rumble.set_rumble_state(pad, RETRO_RUMBLE_STRONG, high << 8); rumble.set_rumble_state(pad, RETRO_RUMBLE_WEAK, low ? 0xffff : 0x0); @@ -303,8 +303,9 @@ void retro_get_system_av_info(struct retro_system_av_info *info) /* savestates */ size_t retro_serialize_size(void) { - // it's currently 4380651 bytes, but have some reserved for future - return 0x430000; + // it's currently 4380651-4397047 bytes, + // but have some reserved for future + return 0x440000; } struct save_fp { @@ -1253,6 +1254,7 @@ void retro_init(void) #else cycle_multiplier = 200; #endif + pl_rearmed_cbs.gpu_peops.iUseDither = 1; McdDisable[0] = 0; McdDisable[1] = 1;