Remove the mmap usage. Do not use memory buffer to hold the whole file.

This commit is contained in:
codestation
2014-01-05 00:41:22 -04:30
parent 9784332bae
commit a0d9e03d17
4 changed files with 79 additions and 37 deletions

View File

@@ -22,6 +22,11 @@
#include <QDebug>
#include <QHostInfo>
DeviceCapability::DeviceCapability() :
vita_info()
{
}
bool DeviceCapability::exchangeInfo(vita_device_t *device)
{
if(VitaMTP_GetVitaInfo(device, &vita_info) != PTP_RC_OK) {