set UI as startup project

This commit is contained in:
Jeff Linahan 2022-05-20 01:50:36 +01:00
parent f0ec670026
commit 56689e0c9d
3 changed files with 16 additions and 12 deletions

View file

@ -5,10 +5,9 @@ Note: to debug the C++ code, go to `UI`'s properties, tick `Debug > Debugger en
#### *Standalone*
1) Open the solution in Visual Studio 2019
2) Set "UI" as the Startup Project
3) Compile as Release/x64
4) Run the project from Visual Studio
5) If you got an error, try running it a second time
2) Compile as Release/x64
3) Run the project from Visual Studio
4) If you got an error, try running it a second time
#### *Libretro*

View file

@ -3,6 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29613.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UI", "UI\UI.csproj", "{08D83A7E-52A9-451E-A53A-1A7946F8BB77}"
ProjectSection(ProjectDependencies) = postProject
{36ABBF1C-66E1-4577-828A-619A2EF0DAE9} = {36ABBF1C-66E1-4577-828A-619A2EF0DAE9}
{AABB5225-3A49-47FF-8A48-031673CADCE9} = {AABB5225-3A49-47FF-8A48-031673CADCE9}
{37749BB2-FA78-4EC9-8990-5628FC0BBA19} = {37749BB2-FA78-4EC9-8990-5628FC0BBA19}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Core", "Core\Core.vcxproj", "{78FEF1A1-6DF1-4CBB-A373-AE6FA7CE5CE0}"
ProjectSection(ProjectDependencies) = postProject
{B5330148-E8C7-46BA-B54E-69BE59EA337D} = {B5330148-E8C7-46BA-B54E-69BE59EA337D}
@ -14,13 +21,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Utilities", "Utilities\Util
{52C4BA3A-E699-4305-B23F-C9083FD07AB6} = {52C4BA3A-E699-4305-B23F-C9083FD07AB6}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UI", "UI\UI.csproj", "{08D83A7E-52A9-451E-A53A-1A7946F8BB77}"
ProjectSection(ProjectDependencies) = postProject
{36ABBF1C-66E1-4577-828A-619A2EF0DAE9} = {36ABBF1C-66E1-4577-828A-619A2EF0DAE9}
{AABB5225-3A49-47FF-8A48-031673CADCE9} = {AABB5225-3A49-47FF-8A48-031673CADCE9}
{37749BB2-FA78-4EC9-8990-5628FC0BBA19} = {37749BB2-FA78-4EC9-8990-5628FC0BBA19}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Windows", "Windows\Windows.vcxproj", "{7761E790-B42C-4179-8550-8365FF9EB23E}"
ProjectSection(ProjectDependencies) = postProject
{B5330148-E8C7-46BA-B54E-69BE59EA337D} = {B5330148-E8C7-46BA-B54E-69BE59EA337D}

View file

@ -36,7 +36,12 @@ namespace Mesen.GUI.Config
public void ApplyConfig()
{
ConfigApi.SetGameboyConfig(this);
// I get the following error if I try to uncomment this call
// I don't think it's a huge deal since Sour is making a new GUI
//
// System.EntryPointNotFoundException: 'Unable to find an entry point named 'SetGameboyConfig' in DLL 'MesenSCore.dll'.'
//
//ConfigApi.SetGameboyConfig(this);
}
}