Skip to content

Commit 1e9c4ca

Browse files
committed
Stuff
1 parent 22b756d commit 1e9c4ca

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

sm_osx/DataController.swift

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// DataController.swift
3+
// sm_osx
4+
//
5+
// Created by Caleb Elmasri on 4/2/22.
6+
//
7+
8+
import Foundation
9+
import CoreData
10+
11+
class DataController: ObservableObject {
12+
let container = NSPersistentContainer(name: "DataStore")
13+
14+
init() {
15+
container.loadPersistentStores { description, error in
16+
if let error = error {
17+
print("Error, failed to load CoreData due to \(error.localizedDescription)")
18+
}
19+
}
20+
}
21+
}
22+

sm_osx/Repos.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ enum Repo: String {
1111
case sm64port = "https://github.com/SrGarmaples/target_osx/releases/latest/download/target_osx.zip"
1212
case sm64ex = "https://github.com/EmeraldLoc/sm64ex.git"
1313
case sm64ex_master = "https://github.com/EmeraldLoc/sm64ex.git --branch master"
14-
case moonshine = "https://github.com/EmeraldLoc/sm64-moonshine sm64ex"
14+
case moonshine = "https://github.com/EmeraldLoc/sm64-moonshine"
1515
case moon64 = "https://github.com/EmeraldLoc/Moon64"
1616
case render96ex = "https://github.com/EmeraldLoc/sm64ex.git --branch alpha"
1717
case sm64ex_coop = "https://github.com/djoslin0/sm64ex-coop.git"

0 commit comments

Comments
 (0)