mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-07 08:08:04 -04:00
(T6) Update Gitignore (again), Update Name and Fix Savedata
Btw there's no T5 on the commit changes because i forgot to change from M1 for an entire version
This commit is contained in:
parent
d80333917d
commit
078c7ede44
6 changed files with 11 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -23,6 +23,7 @@ config.cfg
|
||||||
srm/
|
srm/
|
||||||
brm/
|
brm/
|
||||||
mds/
|
mds/
|
||||||
|
rom/
|
||||||
cfg/
|
cfg/
|
||||||
libs/
|
libs/
|
||||||
obj/
|
obj/
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -406,7 +406,7 @@ endif
|
||||||
ifeq "$(PLATFORM)" "psp"
|
ifeq "$(PLATFORM)" "psp"
|
||||||
PSPSDK ?= $(shell psp-config --pspsdk-path)
|
PSPSDK ?= $(shell psp-config --pspsdk-path)
|
||||||
TARGET = PicoDrive
|
TARGET = PicoDrive
|
||||||
PSP_EBOOT_TITLE = PicoDrive
|
PSP_EBOOT_TITLE = Sonic's UGC
|
||||||
PSP_EBOOT_ICON = platform/psp/data/icon.png
|
PSP_EBOOT_ICON = platform/psp/data/icon.png
|
||||||
LIBS += -lpng -lm -lz -lpspgu -lpsppower -lpspaudio -lpsprtc -lpspaudiocodec
|
LIBS += -lpng -lm -lz -lpspgu -lpsppower -lpspaudio -lpsprtc -lpspaudiocodec
|
||||||
EXTRA_TARGETS = EBOOT.PBP
|
EXTRA_TARGETS = EBOOT.PBP
|
||||||
|
|
|
@ -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");
|
strcpy(ext, (PicoIn.AHW & PAHW_MCD) ? ".brm" : ".srm");
|
||||||
romfname_ext(saveFname, sizeof(static_buff),
|
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)
|
if (!load)
|
||||||
return saveFname;
|
return saveFname;
|
||||||
|
|
||||||
|
@ -1377,10 +1377,10 @@ void emu_init(void)
|
||||||
|
|
||||||
/* make dirs for saves */
|
/* make dirs for saves */
|
||||||
pos = plat_get_root_dir(path, sizeof(path) - 4);
|
pos = plat_get_root_dir(path, sizeof(path) - 4);
|
||||||
mkdir_path(path, pos, "mds");
|
mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/mds");
|
||||||
mkdir_path(path, pos, "srm");
|
mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/srm");
|
||||||
mkdir_path(path, pos, "brm");
|
mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/brm");
|
||||||
mkdir_path(path, pos, "cfg");
|
mkdir_path(path, pos, "ms0:/PSP/SAVEDATA/SUGC/cfg");
|
||||||
|
|
||||||
pprof_init();
|
pprof_init();
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define VERSION "M1"
|
#define VERSION "T6"
|
|
@ -11,7 +11,7 @@ include ../../config.mak
|
||||||
#PSPSDK ?= $(shell psp-config --pspsdk-path)
|
#PSPSDK ?= $(shell psp-config --pspsdk-path)
|
||||||
#include $(PSPSDK)/lib/build.mak
|
#include $(PSPSDK)/lib/build.mak
|
||||||
|
|
||||||
#PSP_EBOOT_TITLE = PicoDrive
|
PSP_EBOOT_TITLE = Sonic's UGC
|
||||||
#PSP_EBOOT_ICON = data/icon.png
|
#PSP_EBOOT_ICON = data/icon.png
|
||||||
|
|
||||||
#EBOOT.PBP:
|
#EBOOT.PBP:
|
||||||
|
|
|
@ -30,13 +30,13 @@ extern int pico_main(int argc, char *argv[]);
|
||||||
|
|
||||||
#ifndef FW15
|
#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 */
|
int main(int argc, char *argv[]) { return pico_main(argc, argv); } /* just a wrapper */
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
PSP_MODULE_INFO("PicoDrive", 0x1000, 1, 97);
|
PSP_MODULE_INFO("Sonic's UGC", 0x1000, 1, 97);
|
||||||
PSP_MAIN_THREAD_ATTR(0);
|
PSP_MAIN_THREAD_ATTR(0);
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue