Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Other/Citra_mods/Citra_Mod_Manager.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ root := OneDrive "\Backup\Game\Emul\Citra\nightly-mingw\Mods"

; Read CSV once and cache destinations in an associative array
Destinations := {}
loop Read, % A_ScriptDir "\Destination.csv"
FileRead, csvContent, % A_ScriptDir "\Destination.csv"
loop Parse, csvContent, `n, `r
Comment on lines +19 to +20
{
if (InStr(A_LoopReadLine, ","))
if (InStr(A_LoopField, ","))
{
parts := StrSplit(A_LoopReadLine, ",")
parts := StrSplit(A_LoopField, ",")
if (parts.Length() >= 2)
Destinations[parts[1]] := parts[2]
}
Expand Down
Loading