mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
launcher: show a giant warning when the user specifies -exec option (#371)
## Link to GitHub Issue, if one exists #345 ## Description of change If `-exec` is specified, log a giant warning. Also, fix some compiler warnings in MFG. ## Testing Confirmed message being logged in log.txt.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace games::mfg {
|
||||
SetEnvironmentVariableA("VFG_CABINET_TYPE", MFG_CABINET_TYPE.c_str());
|
||||
|
||||
// add card reader
|
||||
portName = MFG_CABINET_TYPE == "UKS" ? L"\\\\.\\COM1" : L"\\\\.\\COM3";
|
||||
portName = (MFG_CABINET_TYPE == "UKS") ? std::wstring(L"\\\\.\\COM1") : std::wstring(L"\\\\.\\COM3");
|
||||
acioHandle = new acioemu::ACIOHandle(portName.c_str(), 1);
|
||||
devicehook_init_trampoline();
|
||||
devicehook_add(acioHandle);
|
||||
|
||||
Reference in New Issue
Block a user