Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-j-green committed Aug 21, 2024
1 parent 543fc3d commit e26ad6e
Show file tree
Hide file tree
Showing 287 changed files with 9 additions and 24,091 deletions.
15 changes: 9 additions & 6 deletions gaseous-server/Classes/Metadata/Games.cs
Original file line number Diff line number Diff line change
Expand Up @@ -564,13 +564,16 @@ LEFT JOIN

if (emulatorConfiguration == null)
{
Models.PlatformMapping.PlatformMapItem platformMap = PlatformMapping.GetPlatformMap((long)platform.Id);
emulatorConfiguration = new PlatformMapping.UserEmulatorConfiguration
if (platform.Id != 0)
{
EmulatorType = platformMap.WebEmulator.Type,
Core = platformMap.WebEmulator.Core,
EnableBIOSFiles = platformMap.EnabledBIOSHashes
};
Models.PlatformMapping.PlatformMapItem platformMap = PlatformMapping.GetPlatformMap((long)platform.Id);
emulatorConfiguration = new PlatformMapping.UserEmulatorConfiguration
{
EmulatorType = platformMap.WebEmulator.Type,
Core = platformMap.WebEmulator.Core,
EnableBIOSFiles = platformMap.EnabledBIOSHashes
};
}
}

long? LastPlayedRomId = null;
Expand Down
2 changes: 0 additions & 2 deletions gaseous-server/wwwroot/emulators/EmulatorJS.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
}

EJS_onLoadState = function (e) {
// showDialog('emulatorloadstate', { "romId": romId, "IsMediaGroup": IsMediaGroup });

let stateManager = new EmulatorStateManager(romId, IsMediaGroup, getQueryString('engine', 'string'), getQueryString('core', 'string'), platformId, gameId, decodeURIComponent(getQueryString('rompath', 'string')));
stateManager.open();
}
Expand Down
381 changes: 0 additions & 381 deletions gaseous-server/wwwroot/emulators/cdn.emulatorjs.org/latest/CHANGES.md

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e26ad6e

Please sign in to comment.