Comments (4)
i did this:
if(button_on & PSP_CTRL_LEFT) direction = -1;
if(button_on & PSP_CTRL_CROSS) direction = 0;
//if(button_on & PSP_CTRL_CIRCLE) direction = 0;
if(button_on & PSP_CTRL_RIGHT) direction = 1;
I commented out the "if(button_on & PSP_CTRL_CIRCLE) direction = 0;"
then the button does not work when you press circle on vshmenu.
Original comment by [email protected]
on 4 Jun 2011 at 10:18
from procfw.
This isn't the right way to fix this bug, it shouldn't *always* ignore O unless
it isn't already ignoring X. The inverse bug exists in VSHmenu for those who
use O confirm.
Original comment by [email protected]
on 6 Jun 2011 at 1:17
from procfw.
its actually not a bug... its a feature for the ones that uses O as there
confirm button(japanese PSPs)...
The one above(my post) just fits my needs and I also remove the ability to swap
the X/O buttons in the Recovery menu since i don't need it.
Team Pro forgot to add the button check between X and O but the recovery menu
has this check to which button is Confirm. this:
//Confirm button check for Recovery Menu
void get_confirm_button(void)
{
int result = 0;
sceUtilityGetSystemParamInt(9, &result);
if (result == 0) { // Circle?
g_ctrl_OK = PSP_CTRL_CIRCLE;
g_ctrl_CANCEL = PSP_CTRL_CROSS;
} else {
g_ctrl_OK = PSP_CTRL_CROSS;
g_ctrl_CANCEL = PSP_CTRL_CIRCLE;
}
}
//and this is the button control for vsh menu no check
int menu_ctrl(u32 button_on)
{
int direction;
if( (button_on & PSP_CTRL_SELECT) ||
(button_on & PSP_CTRL_HOME)) {
menu_sel = TMENU_EXIT;
return 1;
}
// change menu select
direction = 0;
if(button_on & PSP_CTRL_DOWN) direction++;
if(button_on & PSP_CTRL_UP) direction--;
menu_sel = limit(menu_sel+direction, 0, TMENU_MAX-1);
if(psp_model == PSP_GO && menu_sel == TMENU_UMD_VIDEO) {
menu_sel = limit(menu_sel+direction, 0, TMENU_MAX-1);
}
// LEFT & RIGHT
direction = -2;
if(button_on & PSP_CTRL_LEFT) direction = -1;
if(button_on & PSP_CTRL_CROSS) direction = 0;
if(button_on & PSP_CTRL_CIRCLE) direction = 0;
if(button_on & PSP_CTRL_RIGHT) direction = 1;
if(direction <= -2)
return 0;
switch(menu_sel) {
case TMENU_XMB_CLOCK:
if(direction) change_clock( direction, 0);
break;
case TMENU_GAME_CLOCK:
if(direction) change_clock( direction, 1);
break;
case TMENU_USB_DEVICE:
if(direction) change_usb( direction );
break;
case TMENU_UMD_MODE:
if(direction) change_umd_mode( direction );
break;
case TMENU_UMD_VIDEO:
if(direction) {
change_umd_mount_idx(direction);
if (0 != get_umdvideo_path(umdvideo_idx, umdvideo_path, sizeof(umdvideo_path))) {
strcpy(umdvideo_path, "None");
}
} else {
return 7; // Mount UMDVideo ISO flag
}
break;
case TMENU_RECOVERY_MENU:
if(direction==0) {
return 6; // Recovery menu flag
}
break;
case TMENU_SHUTDOWN_DEVICE:
if(direction==0) {
return 3; // SHUTDOWN flag
}
break;
case TMENU_RESET_DEVICE:
if(direction==0) {
return 2; // RESET flag
}
break;
case TMENU_RESET_VSH:
if(direction==0) {
return 4; // RESET VSH flag
}
break;
case TMENU_SUSPEND_DEVICE:
if(direction==0) {
return 5; // SUSPEND flag
}
break;
case TMENU_EXIT:
if(direction==0) return 1; // finish
break;
}
return 0; // continue
}
and as you can see the shutdown and reset option is set to 0 which is the X and
the O button. so its not a bug the code speaks for its self.
Original comment by [email protected]
on 6 Jun 2011 at 1:55
from procfw.
Original comment by [email protected]
on 16 Jun 2011 at 12:59
- Changed state: WontFix
from procfw.
Related Issues (20)
- DBZ Tenkaichi Tag team Broken HOT 2
- automatically removing cfw
- [deleted issue]
- about umd cache on my psp 3000 HOT 3
- PRO-C/C2 Plugin doesn't show up HOT 3
- Popcorn check_file_is_decrypted bug HOT 2
- 6.60 OFW to CFW blackscreen after opening ProUdater then shuts off HOT 1
- Nothings Working but CIPL says its flashed HOT 2
- noDRM not loading DLC HOT 3
- Reboot error
- [email protected] HOT 1
- 6.60 PRO-C Bricked PSP during gameplay HOT 1
- PSX Game Loading/Playing on PSP 3004 Brite Model 09g ! HOT 1
- Port CFW to 6.61 HOT 7
- 6.61 FW Support HOT 1
- 6.61 CIPL payloadex offsets HOT 1
- PSP-1001 B2 Installing all kinds of CFW makes my controls freeze >.< HOT 2
- Crash while loading safegame HOT 2
- Switch over to GitHub?
- Can't play PSN release PSX games HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from procfw.