Vystem 0.2
This commit is contained in:
@@ -90,6 +90,10 @@ uint16_t clamp(long double v,uint16_t max) {
|
||||
return (uint16_t)v;
|
||||
}
|
||||
int main (int argc,char **argv) {
|
||||
if (fs::exists("bootanim.bin")) {
|
||||
cout<<"[Bootanim] Stopping here because bootanim.bin already exists."<<endl;
|
||||
return 0;
|
||||
}
|
||||
if (argc!=5) {
|
||||
cout<<"[Bootanim] Error: invalid argument."<<endl;
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user