mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-07-08 21:07:03 +00:00
* try to resolve merge conflict * feat: TU19 (Dec 2014) Features & Content (#32) * December 2014 files * Working release build * Fix compilation issues * Add sound to Windows64Media * Add DLC content and force Tutorial DLC * Revert "Add DLC content and force Tutorial DLC" This reverts commit 97a43994725008e35fceb984d5549df9c8cea470. * Disable broken light packing * Disable breakpoint during DLC texture map load Allows DLC loading but the DLC textures are still broken * Fix post build not working * ... * fix vs2022 build * fix cmake build --------- Co-authored-by: Loki <lokirautio@gmail.com>
43 lines
1 KiB
C++
43 lines
1 KiB
C++
#pragma once
|
|
|
|
|
|
#include "Common\Network\Sony\SonyRemoteStorage.h"
|
|
|
|
class SonyRemoteStorage_Vita : public SonyRemoteStorage
|
|
{
|
|
public:
|
|
|
|
|
|
virtual bool init(CallbackFunc cb, LPVOID lpParam);
|
|
|
|
virtual bool getRemoteFileInfo(SceRemoteStorageStatus* pInfo, CallbackFunc cb, LPVOID lpParam);
|
|
virtual bool getData(const char* remotePath, const char* localPath, CallbackFunc cb, LPVOID lpParam);
|
|
|
|
virtual void abort();
|
|
virtual bool setDataInternal();
|
|
|
|
private:
|
|
int reqId;
|
|
void * psnTicket;
|
|
size_t psnTicketSize;
|
|
bool m_waitingForTicket;
|
|
bool initialized;
|
|
SceRemoteStorageStatus* outputGetStatus;
|
|
SceRemoteStorageData outputGetData;
|
|
|
|
int32_t m_lastErrorCode;
|
|
int m_getDataProgress;
|
|
int m_setDataProgress;
|
|
char m_saveFilename[SCE_REMOTE_STORAGE_DATA_NAME_MAX_LEN];
|
|
char m_remoteFilename[SCE_REMOTE_STORAGE_DATA_NAME_MAX_LEN];
|
|
|
|
|
|
static void staticInternalCallback(const SceRemoteStorageEvent event, int32_t retCode, void * userData);
|
|
void internalCallback(const SceRemoteStorageEvent event, int32_t retCode);
|
|
|
|
void runCallback();
|
|
|
|
|
|
};
|
|
|