Fixed button bug in adhoc

This commit is contained in:
TheOfficialFloW 2018-09-17 09:25:33 +02:00 committed by GitHub
parent 460c44ae23
commit e9729caadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -696,7 +696,7 @@ int initAdhocDialog() {
void adhocDialogCtrl() { void adhocDialogCtrl() {
adhocUpdatePeerList(); adhocUpdatePeerList();
if (pressed_pad[PAD_CROSS]) { if (pressed_pad[PAD_ENTER]) {
if (peer_count > 0) { if (peer_count > 0) {
SceNetAdhocctlPeerInfo *curr = peer_list; SceNetAdhocctlPeerInfo *curr = peer_list;
int i; int i;