mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-29 19:30:48 +00:00
Move variable temp into the if statement in function Update in PSPGamedataInstallDialog.cpp. It's only used in this branch statement.
This commit is contained in:
parent
dc9f839583
commit
a7836af14c
@ -76,12 +76,12 @@ int PSPGamedataInstallDialog::Update() {
|
||||
u64 totalLength;
|
||||
u64 restLength;
|
||||
u32 bytesToRead = 4096;
|
||||
u8 *temp = new u8[4096];
|
||||
u32 inhandle;
|
||||
u32 outhandle;
|
||||
size_t readSize;
|
||||
|
||||
if (readFiles < numFiles) {
|
||||
u8 *temp = new u8[4096];
|
||||
fullinFileName = "disc0:/PSP_GAME/INSDIR/" + inFileNames[readFiles];
|
||||
outFileName = GetGameDataInstallFileName(&request, inFileNames[readFiles]);
|
||||
totalLength = pspFileSystem.GetFileInfo(fullinFileName).size;
|
||||
|
Loading…
Reference in New Issue
Block a user