fix load function
This commit is contained in:
@@ -13,8 +13,10 @@ class MinimalApp : public Archimedes::App {
|
||||
|
||||
void handleArgs(const int& argc, char* argv[]) {
|
||||
if(argc > 1) {
|
||||
for(int i = 1; i < argc; i++)
|
||||
for(int i = 1; i < argc; i++) {
|
||||
std::cout << "Attempting to load: " << argv[i] << std::endl;
|
||||
load(dynamicLoad(argv[i]));
|
||||
}
|
||||
} else {
|
||||
std::cout << "No modules to load\n";
|
||||
end();
|
||||
|
||||
Reference in New Issue
Block a user