add ability to use R2 button to refresh files
This commit is contained in:
+1
-1
Submodule ps4-ezremote-server updated: 59739ac765...fe5d44ae1a
@@ -1266,6 +1266,13 @@ namespace INSTALLER
|
||||
struct sockaddr_in sockaddr_in;
|
||||
unsigned short server_port = 9090;
|
||||
|
||||
/*
|
||||
if (EzRemoteServerVersion().empty())
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
||||
filefd = open(SERVER_ELF_PATH, O_RDONLY);
|
||||
if (filefd == -1)
|
||||
{
|
||||
|
||||
+1
-1
@@ -294,7 +294,7 @@ int main()
|
||||
if (sceSysmoduleLoadModuleInternal(ORBIS_SYSMODULE_INTERNAL_AUDIOOUT) < 0 || sceAudioOutInit() != 0) return 0;
|
||||
if (sceSysmoduleLoadModuleInternal(ORBIS_SYSMODULE_INTERNAL_NET) < 0 || sceNetInit() != 0) return 0;
|
||||
|
||||
sceNetPoolCreate("simple", NET_HEAP_SIZE, 0);
|
||||
sceNetPoolCreate("ezremote_client", NET_HEAP_SIZE, 0);
|
||||
|
||||
if (INSTALLER::Init() < 0)
|
||||
return 0;
|
||||
|
||||
@@ -909,6 +909,21 @@ namespace Windows
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_D) && !paused)
|
||||
{
|
||||
if (selected_browser & LOCAL_BROWSER)
|
||||
{
|
||||
selected_action = ACTION_REFRESH_LOCAL_FILES;
|
||||
}
|
||||
else if (selected_browser & REMOTE_BROWSER)
|
||||
{
|
||||
if (remoteclient != nullptr && remote_files.size() > 0)
|
||||
{
|
||||
selected_action = ACTION_REFRESH_REMOTE_FILES;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void StatusPanel()
|
||||
|
||||
Reference in New Issue
Block a user