Skip to content

Commit cbecf6f

Browse files
committed
genesis options try to fix scale being finicky
Signed-off-by: Joseph Mattello <[email protected]>
1 parent 77383c1 commit cbecf6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/GenesisOptions.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ extension PVGenesisEmulatorCore: CoreOptional {
4545
.init(title: "Vertical", description: "Vertical borders only", value: 1),
4646
.init(title: "Horizontal", description: "horizontal borders only", value: 2),
4747
.init(title: "Full", description: "Full borders", value: 3),
48-
])
48+
],
49+
defaultValue: 0)
4950

5051
static var allOptions: [CoreOption] = [overscan, gg_extra]
5152
}

Cores/Genesis-Plus-GX/PVGenesis/Genesis/PVGenesisEmulatorCore.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,8 @@ - (BOOL)loadFileAtPath:(NSString*)path error:(NSError**)error
517517

518518

519519
if (retro_load_game(&info)) {
520+
[self readOptions];
521+
520522
if ([self.batterySavesPath length]) {
521523
[[NSFileManager defaultManager] createDirectoryAtPath:self.batterySavesPath withIntermediateDirectories:YES attributes:nil error:NULL];
522524

@@ -536,7 +538,6 @@ - (BOOL)loadFileAtPath:(NSString*)path error:(NSError**)error
536538
//#warning "No clue what this does, JM"
537539
// if (system_hw == SYSTEM_MCD)
538540
// bram_load();
539-
[self readOptions];
540541

541542
[self executeFrame];
542543

0 commit comments

Comments
 (0)