X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fsoc_mmsp2.c;h=9ef1e9b81de2379cee123d2b48adcb1ebf0f98b1;hb=b7d64dbdb78425b501093dfb137072459b5b3f0f;hp=5217dda1f7cf716dce92500479e4ff6001c79fd3;hpb=b24e0f6ce6e8a59ba43597520709ca79fa36ff8e;p=picodrive.git diff --git a/platform/gp2x/soc_mmsp2.c b/platform/gp2x/soc_mmsp2.c index 5217dda..9ef1e9b 100644 --- a/platform/gp2x/soc_mmsp2.c +++ b/platform/gp2x/soc_mmsp2.c @@ -1,3 +1,10 @@ +/* + * PicoDrive + * (C) notaz, 2006-2009 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include #include #include @@ -41,9 +48,6 @@ static unsigned short gp2x_screenaddr_old[4]; static unsigned short memtimex_old[2]; static unsigned short reg0910; -extern unsigned int plat_get_ticks_ms_gtod(void); -extern unsigned int plat_get_ticks_us_gtod(void); - /* video stuff */ static void gp2x_video_flip_(void) { @@ -512,8 +516,8 @@ void mmsp2_init(void) unset_ram_timings = unset_ram_timings_; gp2x_read_battery = gp2x_read_battery_; - gp2x_get_ticks_ms = plat_get_ticks_ms_gtod; - gp2x_get_ticks_us = plat_get_ticks_us_gtod; + gp2x_get_ticks_ms = plat_get_ticks_ms_good; + gp2x_get_ticks_us = plat_get_ticks_us_good; } void mmsp2_finish(void)