Skip to content

Commit 1a8050e

Browse files
committed
:)))
1 parent 3da10de commit 1a8050e

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ bochsout.txt
77
**/*/__pycache__
88
TODO.md
99
temp.txt
10+
gacha

gacha

4 Bytes
Binary file not shown.

src/c/shell/shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int main() {
128128
break;
129129
case 11: // local program
130130
setParameter(cwdIdx, cwdName, argv, &success);
131-
strncpy(program, argv + 2, MAXIMUM_CMD_LEN-2);
131+
strncpy(program, argv + 1, MAXIMUM_CMD_LEN-2);
132132
exec(program, 0x3001, &success, cwdIdx);
133133
break;
134134
default: // -1

0 commit comments

Comments
 (0)