-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mini: Add duckstation-mini interface
- Loading branch information
Showing
13 changed files
with
2,334 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
add_executable(duckstation-mini | ||
mini_host.cpp | ||
sdl_key_names.h | ||
) | ||
|
||
target_link_libraries(duckstation-mini PRIVATE core util common imgui scmversion SDL3::SDL3) | ||
|
||
add_core_resources(duckstation-mini) | ||
|
||
if(WIN32) | ||
target_sources(duckstation-mini PRIVATE | ||
duckstation-mini.manifest | ||
resource.h | ||
) | ||
|
||
# We want a Windows subsystem application not console. | ||
set_target_properties(duckstation-mini PROPERTIES | ||
WIN32_EXECUTABLE TRUE | ||
DEBUG_POSTFIX "-debug") | ||
endif() |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> | ||
<asmv3:application> | ||
<asmv3:windowsSettings> | ||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness> | ||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware> | ||
</asmv3:windowsSettings> | ||
</asmv3:application> | ||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
</application> | ||
</compatibility> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// Microsoft Visual C++ generated resource script. | ||
// | ||
#include "resource.h" | ||
|
||
#define APSTUDIO_READONLY_SYMBOLS | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 2 resource. | ||
// | ||
#include "winres.h" | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#undef APSTUDIO_READONLY_SYMBOLS | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// English (Australia) resources | ||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA) | ||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS | ||
#pragma code_page(1252) | ||
|
||
#ifdef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// TEXTINCLUDE | ||
// | ||
|
||
1 TEXTINCLUDE | ||
BEGIN | ||
"resource.h\0" | ||
END | ||
|
||
2 TEXTINCLUDE | ||
BEGIN | ||
"#include ""winres.h""\r\n" | ||
"\0" | ||
END | ||
|
||
3 TEXTINCLUDE | ||
BEGIN | ||
"\r\n" | ||
"\0" | ||
END | ||
|
||
#endif // APSTUDIO_INVOKED | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Version | ||
// | ||
|
||
VS_VERSION_INFO VERSIONINFO | ||
FILEVERSION 1,0,0,1 | ||
PRODUCTVERSION 1,0,0,1 | ||
FILEFLAGSMASK 0x3fL | ||
#ifdef _DEBUG | ||
FILEFLAGS 0x1L | ||
#else | ||
FILEFLAGS 0x0L | ||
#endif | ||
FILEOS 0x40004L | ||
FILETYPE 0x1L | ||
FILESUBTYPE 0x0L | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "0c0904b0" | ||
BEGIN | ||
VALUE "CompanyName", "https://github.com/stenzek/duckstation" | ||
VALUE "FileDescription", "DuckStation PS1 Emulator" | ||
VALUE "FileVersion", "1.0.0.1" | ||
VALUE "InternalName", "duckstation-mini.exe" | ||
VALUE "LegalCopyright", "Copyright (C) 2020-2025 Stenzek and collaborators" | ||
VALUE "OriginalFilename", "duckstation-mini.exe" | ||
VALUE "ProductName", "DuckStation" | ||
VALUE "ProductVersion", "1.0.0.1" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0xc09, 1200 | ||
END | ||
END | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Icon | ||
// | ||
|
||
// Icon with lowest ID value placed first to ensure application icon | ||
// remains consistent on all systems. | ||
IDI_ICON1 ICON "duckstation-mini.ico" | ||
|
||
#endif // English (Australia) resources | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED | ||
///////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Generated from the TEXTINCLUDE 3 resource. | ||
// | ||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
#endif // not APSTUDIO_INVOKED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="..\..\dep\msvc\vsprops\Configurations.props" /> | ||
<ItemGroup> | ||
<ClInclude Include="resource.h" /> | ||
<ClInclude Include="sdl_key_names.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Manifest Include="duckstation-mini.manifest" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Image Include="duckstation-mini.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ResourceCompile Include="duckstation-mini.rc" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\common\common.vcxproj"> | ||
<Project>{ee054e08-3799-4a59-a422-18259c105ffd}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\core\core.vcxproj"> | ||
<Project>{868b98c8-65a1-494b-8346-250a73a48c0a}</Project> | ||
</ProjectReference> | ||
<ProjectReference Include="..\util\util.vcxproj"> | ||
<Project>{57f6206d-f264-4b07-baf8-11b9bbe1f455}</Project> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="mini_host.cpp" /> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{FA259BC0-1007-4FD9-8A47-87CC0ECB8445}</ProjectGuid> | ||
<ProjectName>duckstation-mini</ProjectName> | ||
</PropertyGroup> | ||
<Import Project="..\..\dep\msvc\vsprops\Win32Application.props" /> | ||
<Import Project="..\core\core.props" /> | ||
<Import Project="..\..\dep\msvc\vsprops\Targets.props" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<ClInclude Include="resource.h" /> | ||
<ClInclude Include="sdl_key_names.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Manifest Include="duckstation-mini.manifest" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Image Include="duckstation-mini.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ResourceCompile Include="duckstation-mini.rc" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="mini_host.cpp" /> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.