Skip to content

Commit cdec82a

Browse files
committed
Fix VS project files
1 parent 587ce8e commit cdec82a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

tools/splash-generator/splash.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Generates the splash screen data the emulator displays while nothing is loaded
33
import sys
44
from PIL import Image
@@ -20,9 +20,10 @@
2020
data.append(val)
2121

2222
print("// Generated using tools/splash-generator/splash.py")
23+
2324
# First 2 u32s are the splash screen's width and height
2425
# The rest of the array is the pixel data in little endian RGBA8888
25-
print(f"static const uint32_t s_splashImageData[] = {{")
26+
print("static const uint32_t s_splashImageData[] = {{")
2627
print(f" {width}, {height},", end=" ")
2728

2829
for i, val in enumerate(data):

vsprojects/gui/gui.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
<ClCompile Include="..\..\src\gui\gui.cc" />
129129
<ClCompile Include="..\..\src\gui\luaimguiextra.cc" />
130130
<ClCompile Include="..\..\src\gui\luanvg.cc" />
131+
<ClCompile Include="..\..\src\gui\splash.cc" />
131132
<ClCompile Include="..\..\src\gui\resources-unix.cc" />
132133
<ClCompile Include="..\..\src\gui\resources-win32.cc" />
133134
<ClCompile Include="..\..\src\gui\shaders\crt-lottes.cc" />

vsprojects/gui/gui.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@
103103
<ClCompile Include="..\..\src\gui\luaimguiextra.cc">
104104
<Filter>Source Files</Filter>
105105
</ClCompile>
106+
<ClCompile Include="..\..\src\gui\splash.cc">
107+
<Filter>Source Files</Filter>
108+
</ClCompile>
106109
<ClCompile Include="..\..\src\gui\widgets\patches.cc">
107110
<Filter>Source Files\widgets</Filter>
108111
</ClCompile>

0 commit comments

Comments
 (0)