mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Display Percentage on Installing & Extracting.
Also add progressbar for Installing & convert `cia.c` to `cia.cpp` for `new`.
This commit is contained in:
@@ -35,6 +35,8 @@ namespace Animation {
|
||||
void DrawProgressBar(float currentProgress, float totalProgress, int mode);
|
||||
// Extracting progressbar.
|
||||
void DrawProgressBarExtract(u64 currentProgress, u64 totalProgress, int mode);
|
||||
// Installing progressbar.
|
||||
void DrawProgressBarInstall(u64 currentProgress, u64 totalProgress, int mode);
|
||||
// Draw Button.
|
||||
void Button(int x, int y, float speed = .030);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
#include <3ds.h>
|
||||
|
||||
Result CIA_LaunchTitle(u64 titleId, FS_MediaType mediaType);
|
||||
Result deletePrevious(u64 titleid, FS_MediaType media);
|
||||
Result installCia(const char * ciaPath);
|
||||
#ifndef CIA_HPP
|
||||
#define CIA_HPP
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
#include <3ds.h>
|
||||
|
||||
Result CIA_LaunchTitle(u64 titleId, FS_MediaType mediaType);
|
||||
Result deletePrevious(u64 titleid, FS_MediaType media);
|
||||
Result installCia(const char * ciaPath);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user