Common: Add Shift-JIS helpers
This commit is contained in:
parent
f589865842
commit
70768c02af
|
@ -60,6 +60,8 @@ add_library(common
|
||||||
progress_callback.cpp
|
progress_callback.cpp
|
||||||
progress_callback.h
|
progress_callback.h
|
||||||
scope_guard.h
|
scope_guard.h
|
||||||
|
shiftjis.cpp
|
||||||
|
shiftjis.h
|
||||||
state_wrapper.cpp
|
state_wrapper.cpp
|
||||||
state_wrapper.h
|
state_wrapper.h
|
||||||
string.cpp
|
string.cpp
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
<ClInclude Include="rectangle.h" />
|
<ClInclude Include="rectangle.h" />
|
||||||
<ClInclude Include="cd_subchannel_replacement.h" />
|
<ClInclude Include="cd_subchannel_replacement.h" />
|
||||||
<ClInclude Include="scope_guard.h" />
|
<ClInclude Include="scope_guard.h" />
|
||||||
|
<ClInclude Include="shiftjis.h" />
|
||||||
<ClInclude Include="state_wrapper.h" />
|
<ClInclude Include="state_wrapper.h" />
|
||||||
<ClInclude Include="string.h" />
|
<ClInclude Include="string.h" />
|
||||||
<ClInclude Include="string_util.h" />
|
<ClInclude Include="string_util.h" />
|
||||||
|
@ -128,6 +129,7 @@
|
||||||
<ClCompile Include="minizip_helpers.cpp" />
|
<ClCompile Include="minizip_helpers.cpp" />
|
||||||
<ClCompile Include="null_audio_stream.cpp" />
|
<ClCompile Include="null_audio_stream.cpp" />
|
||||||
<ClCompile Include="progress_callback.cpp" />
|
<ClCompile Include="progress_callback.cpp" />
|
||||||
|
<ClCompile Include="shiftjis.cpp" />
|
||||||
<ClCompile Include="state_wrapper.cpp" />
|
<ClCompile Include="state_wrapper.cpp" />
|
||||||
<ClCompile Include="cd_xa.cpp" />
|
<ClCompile Include="cd_xa.cpp" />
|
||||||
<ClCompile Include="string.cpp" />
|
<ClCompile Include="string.cpp" />
|
||||||
|
|
|
@ -102,6 +102,7 @@
|
||||||
<ClInclude Include="minizip_helpers.h" />
|
<ClInclude Include="minizip_helpers.h" />
|
||||||
<ClInclude Include="win32_progress_callback.h" />
|
<ClInclude Include="win32_progress_callback.h" />
|
||||||
<ClInclude Include="make_array.h" />
|
<ClInclude Include="make_array.h" />
|
||||||
|
<ClInclude Include="shiftjis.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="jit_code_buffer.cpp" />
|
<ClCompile Include="jit_code_buffer.cpp" />
|
||||||
|
@ -196,6 +197,7 @@
|
||||||
<ClCompile Include="cd_image_memory.cpp" />
|
<ClCompile Include="cd_image_memory.cpp" />
|
||||||
<ClCompile Include="minizip_helpers.cpp" />
|
<ClCompile Include="minizip_helpers.cpp" />
|
||||||
<ClCompile Include="win32_progress_callback.cpp" />
|
<ClCompile Include="win32_progress_callback.cpp" />
|
||||||
|
<ClCompile Include="shiftjis.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Natvis Include="bitfield.natvis" />
|
<Natvis Include="bitfield.natvis" />
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,4 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
void sjis2ascii(char* bData);
|
||||||
|
char* sjis2utf8(char* input);
|
Loading…
Reference in New Issue