mirror of
https://github.com/OpenEmu/PCSX2-Core.git
synced 2025-11-01 11:07:36 +00:00
Revert "Fix Save states"
This reverts commit 56ec4fc92ffa17a6e7bf6b585ffa9bf2b6bb4e09.
This commit is contained in:
@@ -474,11 +474,11 @@ static NSString *binCueFix(NSString *path)
|
||||
stateToLoad = fileName;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
WaitRequested = true;
|
||||
while(isExecuting)
|
||||
usleep(50);
|
||||
|
||||
|
||||
bool success = VMManager::LoadState(fileName.fileSystemRepresentation);
|
||||
WaitRequested = false;
|
||||
|
||||
@@ -489,9 +489,10 @@ static NSString *binCueFix(NSString *path)
|
||||
{
|
||||
if (!VMManager::HasValidVM())
|
||||
return;
|
||||
bool success =VMManager::SaveState(fileName.fileSystemRepresentation, false, false);
|
||||
bool success = VMManager::SaveState(fileName.fileSystemRepresentation);
|
||||
|
||||
block(success, success ? nil : [NSError errorWithDomain:OEGameCoreErrorDomain code:OEGameCoreCouldNotSaveStateError userInfo:@{NSLocalizedDescriptionKey: @"PCSX2 Could not save the current state.", NSFilePathErrorKey: fileName}]);
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - Discs
|
||||
@@ -590,7 +591,7 @@ static NSString *binCueFix(NSString *path)
|
||||
s_base_settings_interface->SetIntValue("EmuCore/GS", "upscale_multiplier", [currentVal intValue]);
|
||||
VMManager::RequestDisplaySize([currentVal floatValue]);
|
||||
[self ApplyUpscalePatches];
|
||||
} else if ([key isEqualToString:OEPSCSX2BlendingAccuracy]) {
|
||||
} else if ([key isEqualToString:OEPSCSX2InternalResolution]) {
|
||||
s_base_settings_interface->SetIntValue("EmuCore/GS", "accurate_blending_unit", [currentVal intValue]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user