X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Fmain.c;h=5a0287edf516bbcc963001dd26ea42127bfe6ee3;hb=cff531af94bd9c9c89ae162e80f48ddc26a4e504;hp=48f218fccd7226310ec59d10a7e2902ba7beb355;hpb=45285368c0fad43f23f90888fde16106bdc0fd52;p=picodrive.git diff --git a/platform/common/main.c b/platform/common/main.c index 48f218f..5a0287e 100644 --- a/platform/common/main.c +++ b/platform/common/main.c @@ -1,18 +1,21 @@ -// (c) Copyright 2006-2009 notaz, All rights reserved. -// Free for non-commercial use. - -// For commercial use, separate licencing terms must be obtained. +/* + * PicoDrive + * (C) notaz, 2006-2010 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include #include #include #include -#include "menu.h" +#include "../libpicofe/input.h" +#include "../libpicofe/plat.h" +#include "menu_pico.h" #include "emu.h" #include "config.h" -#include "input.h" -#include "plat.h" #include #include @@ -72,12 +75,12 @@ int main(int argc, char *argv[]) { g_argv = argv; - plat_early_init(); + //plat_early_init(); in_init(); in_probe(); - plat_init(); + plat_target_init(); emu_prep_defconfig(); // depends on input emu_read_config(NULL, 0); @@ -142,7 +145,7 @@ int main(int argc, char *argv[]) endloop: emu_finish(); - plat_finish(); + plat_target_finish(); return 0; }