Pico.m.frame_count = 0;\r
\r
// clear all memory of the emulated machine\r
- memset(&Pico.ram,0,(unsigned int)&Pico.rom-(unsigned int)&Pico.ram);\r
+ memset(&Pico.ram,0,(unsigned char *)&Pico.rom - Pico.ram);\r
\r
memset(&Pico.video,0,sizeof(Pico.video));\r
memset(&Pico.m,0,sizeof(Pico.m));\r
scanlines_total = Pico.m.pal ? 312 : 262;\r
\r
if (PicoAHW & PAHW_32X)\r
- p32x_pwm_refresh();\r
+ p32x_timers_recalc();\r
}\r
\r
\r