mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
build, cleanup
- remove/rename some platforms from configure - new rg99 odbeta build, courtesy of sydarn - pandora support, courtesy of notaz
This commit is contained in:
parent
2a5ca3d5f0
commit
85174a6d8d
10 changed files with 64 additions and 21 deletions
|
@ -84,6 +84,9 @@ int main(int argc, char *argv[])
|
|||
//in_probe();
|
||||
|
||||
plat_target_init();
|
||||
if (argc > 1)
|
||||
parse_cmd_line(argc, argv);
|
||||
|
||||
plat_init();
|
||||
menu_init();
|
||||
|
||||
|
|
|
@ -399,6 +399,7 @@ void plat_init(void)
|
|||
in_probe();
|
||||
|
||||
bgr_to_uyvy_init();
|
||||
linux_menu_init();
|
||||
}
|
||||
|
||||
void plat_finish(void)
|
||||
|
|
|
@ -5,3 +5,5 @@ extern const int in_sdl_key_map_sz;
|
|||
extern const struct menu_keymap in_sdl_joy_map[];
|
||||
extern const int in_sdl_joy_map_sz;
|
||||
extern const char * const (*in_sdl_key_names)[SDLK_LAST];
|
||||
|
||||
void linux_menu_init(void);
|
||||
|
|
|
@ -13,7 +13,10 @@ static const char h_stype[] = "Scaler algorithm for software scaling";
|
|||
|
||||
#define MENU_OPTIONS_ADV
|
||||
|
||||
static menu_entry e_menu_keyconfig[];
|
||||
|
||||
void linux_menu_init(void)
|
||||
{
|
||||
me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# release packaging makefile
|
||||
|
||||
VER := $(shell head -n 1 ../common/version.h | \
|
||||
sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g')
|
||||
sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/g')
|
||||
BUILD := $(shell git describe HEAD | grep -- - | \
|
||||
sed -e 's/.*\-\(.*\)\-.*/\1/')
|
||||
ifneq "$(BUILD)" ""
|
||||
VER := $(VER)_$(BUILD)
|
||||
endif
|
||||
|
||||
PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh
|
||||
PND_MAKE ?= pnd_make
|
||||
|
||||
all: rel
|
||||
|
||||
|
@ -24,7 +24,7 @@ all: rel
|
|||
rel: ../../PicoDrive PicoDrive.sh picorestore \
|
||||
PicoDrive.png PicoDrive_p.png \
|
||||
../../pico/carthw.cfg skin \
|
||||
../../README /tmp/PicoDrive.pxml
|
||||
../../README.md /tmp/PicoDrive.pxml
|
||||
rm -rf out
|
||||
mkdir out
|
||||
cp -r $^ out/
|
||||
|
|
|
@ -4,8 +4,8 @@ set -e
|
|||
verfile=../common/version.h
|
||||
test -f $verfile
|
||||
|
||||
major=`head -n 1 $verfile | sed 's/.*"\([0-9]*\)\.\([0-9]*\).*/\1/g'`
|
||||
minor=`head -n 1 $verfile | sed 's/.*"\([0-9]*\)\.\([0-9]*\).*/\2/g'`
|
||||
major=`head -n 1 $verfile | sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1/g'`
|
||||
minor=`head -n 1 $verfile | sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\2/g'`
|
||||
# lame, I know..
|
||||
build=`git describe HEAD | grep -- - | sed -e 's/.*\-\(.*\)\-.*/\1/'`
|
||||
test -n "$build" && build_post="-$build"
|
||||
|
|
|
@ -14,8 +14,10 @@ static const char *men_filter_opts[] = { "nearest", "bilinear", NULL };
|
|||
#define MENU_OPTIONS_ADV
|
||||
|
||||
static menu_entry e_menu_sms_options[];
|
||||
static menu_entry e_menu_keyconfig[];
|
||||
|
||||
void psp_menu_init(void)
|
||||
{
|
||||
me_enable(e_menu_sms_options, MA_SMSOPT_GHOSTING, 0);
|
||||
me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue