diff --git a/.gitignore b/.gitignore index 413ecd49..667b7527 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ config.cfg srm/ brm/ mds/ +rom/ cfg/ libs/ obj/ diff --git a/Makefile b/Makefile index 48fa6a4d..d27c3acc 100644 --- a/Makefile +++ b/Makefile @@ -406,7 +406,7 @@ endif ifeq "$(PLATFORM)" "psp" PSPSDK ?= $(shell psp-config --pspsdk-path) TARGET = PicoDrive -PSP_EBOOT_TITLE = PicoDrive +PSP_EBOOT_TITLE = Sonic's UGC PSP_EBOOT_ICON = platform/psp/data/icon.png LIBS += -lpng -lm -lz -lpspgu -lpsppower -lpspaudio -lpsprtc -lpspaudiocodec EXTRA_TARGETS = EBOOT.PBP diff --git a/platform/common/emu.c b/platform/common/emu.c index 34f6c3d9..5647efc4 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -856,7 +856,7 @@ char *emu_get_save_fname(int load, int is_sram, int slot, int *time) { strcpy(ext, (PicoIn.AHW & PAHW_MCD) ? ".brm" : ".srm"); romfname_ext(saveFname, sizeof(static_buff), - (PicoIn.AHW & PAHW_MCD) ? "ms0:/PSP/SAVEDATA/SUGC/brm"PATH_SEP : "ms0:/PSP/SAVEDATA/SUGC/srm"PATH_SEP, ext); + (PicoIn.AHW & PAHW_MCD) ? "brm"PATH_SEP : "srm"PATH_SEP, ext); if (!load) return saveFname; @@ -1377,10 +1377,10 @@ void emu_init(void) /* make dirs for saves */ pos = plat_get_root_dir(path, sizeof(path) - 4); - mkdir_path(path, pos, "mds"); - mkdir_path(path, pos, "srm"); - mkdir_path(path, pos, "brm"); - mkdir_path(path, pos, "cfg"); + mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/mds"); + mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/srm"); + mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/brm"); + mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/cfg"); pprof_init(); diff --git a/platform/common/version.h b/platform/common/version.h index 41656c59..db852595 100644 --- a/platform/common/version.h +++ b/platform/common/version.h @@ -1 +1 @@ -#define VERSION "M1" \ No newline at end of file +#define VERSION "T6" \ No newline at end of file diff --git a/platform/psp/Makefile b/platform/psp/Makefile index 2caf4aed..4d740564 100644 --- a/platform/psp/Makefile +++ b/platform/psp/Makefile @@ -11,7 +11,7 @@ include ../../config.mak #PSPSDK ?= $(shell psp-config --pspsdk-path) #include $(PSPSDK)/lib/build.mak -#PSP_EBOOT_TITLE = PicoDrive +PSP_EBOOT_TITLE = Sonic's UGC #PSP_EBOOT_ICON = data/icon.png #EBOOT.PBP: diff --git a/platform/psp/psp.c b/platform/psp/psp.c index f3ca9b3b..a4d919c0 100644 --- a/platform/psp/psp.c +++ b/platform/psp/psp.c @@ -30,13 +30,13 @@ extern int pico_main(int argc, char *argv[]); #ifndef FW15 -PSP_MODULE_INFO("PicoDrive", 0, 1, 97); +PSP_MODULE_INFO("Sonic's UGC", 0, 1, 97); int main(int argc, char *argv[]) { return pico_main(argc, argv); } /* just a wrapper */ #else -PSP_MODULE_INFO("PicoDrive", 0x1000, 1, 97); +PSP_MODULE_INFO("Sonic's UGC", 0x1000, 1, 97); PSP_MAIN_THREAD_ATTR(0); int main(int argc, char *argv[])