mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-06-05 01:13:48 -04:00
Align structures
This commit is contained in:
parent
954d92e932
commit
812e64036a
2 changed files with 9 additions and 10 deletions
|
@ -28,17 +28,17 @@ const (
|
||||||
type MainWindow struct {
|
type MainWindow struct {
|
||||||
window *gtk.ApplicationWindow
|
window *gtk.ApplicationWindow
|
||||||
treeView *gtk.TreeView
|
treeView *gtk.TreeView
|
||||||
titles []wiiudownloader.TitleEntry
|
logger *wiiudownloader.Logger
|
||||||
searchEntry *gtk.Entry
|
searchEntry *gtk.Entry
|
||||||
categoryButtons []*gtk.ToggleButton
|
deleteEncryptedContentsCheckbox *gtk.CheckButton
|
||||||
titleQueue []wiiudownloader.TitleEntry
|
|
||||||
progressWindow wiiudownloader.ProgressWindow
|
|
||||||
addToQueueButton *gtk.Button
|
addToQueueButton *gtk.Button
|
||||||
|
progressWindow wiiudownloader.ProgressWindow
|
||||||
|
lastSearchText string
|
||||||
|
titleQueue []wiiudownloader.TitleEntry
|
||||||
|
categoryButtons []*gtk.ToggleButton
|
||||||
|
titles []wiiudownloader.TitleEntry
|
||||||
decryptContents bool
|
decryptContents bool
|
||||||
currentRegion uint8
|
currentRegion uint8
|
||||||
deleteEncryptedContentsCheckbox *gtk.CheckButton
|
|
||||||
logger *wiiudownloader.Logger
|
|
||||||
lastSearchText string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewMainWindow(app *gtk.Application, entries []wiiudownloader.TitleEntry, logger *wiiudownloader.Logger) *MainWindow {
|
func NewMainWindow(app *gtk.Application, entries []wiiudownloader.TitleEntry, logger *wiiudownloader.Logger) *MainWindow {
|
||||||
|
@ -759,8 +759,7 @@ queueProcessingLoop:
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
queueStatus := <-queueStatusChan
|
if !<-queueStatusChan {
|
||||||
if !queueStatus {
|
|
||||||
break queueProcessingLoop
|
break queueProcessingLoop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
hash.go
2
hash.go
|
@ -85,6 +85,6 @@ func checkContentHashes(path string, content contentInfo, cipherHashTree *cipher
|
||||||
|
|
||||||
type contentInfo struct {
|
type contentInfo struct {
|
||||||
ID string
|
ID string
|
||||||
Size int64
|
|
||||||
Hash []byte
|
Hash []byte
|
||||||
|
Size int64
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue