mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
replaced the ugly wx window with PanicYesNo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1305 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -175,7 +175,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\Common\Src;..\..\..\Externals\wxWidgets\Include"
|
AdditionalIncludeDirectories="..\Common\Src"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE"
|
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableEnhancedInstructionSet="2"
|
EnableEnhancedInstructionSet="2"
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "AES/aes.h"
|
#include "AES/aes.h"
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
#include "VolumeCreator.h"
|
#include "VolumeCreator.h"
|
||||||
|
|
||||||
@ -128,9 +127,8 @@ IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _VolumeType)
|
|||||||
FILE* pT = fopen(WII_MASTERKEY_FILE, "rb");
|
FILE* pT = fopen(WII_MASTERKEY_FILE, "rb");
|
||||||
if (pT == NULL)
|
if (pT == NULL)
|
||||||
{
|
{
|
||||||
if (wxMessageBox(_("Can't open '" WII_MASTERKEY_FILE "'.\n If you know the key, now it's the time to paste it into '"
|
if(PanicYesNo("Can't open '" WII_MASTERKEY_FILE "'.\n If you know the key, now it's the time to paste it into '"
|
||||||
WII_MASTERKEY_FILE_HEX "' before pressing [YES]."),
|
WII_MASTERKEY_FILE_HEX "' before pressing [YES]."))
|
||||||
wxMessageBoxCaptionStr, wxYES_NO|wxICON_EXCLAMATION) == wxYES)
|
|
||||||
{
|
{
|
||||||
pT = fopen(WII_MASTERKEY_FILE_HEX, "r");
|
pT = fopen(WII_MASTERKEY_FILE_HEX, "r");
|
||||||
if(pT==NULL){
|
if(pT==NULL){
|
||||||
|
Reference in New Issue
Block a user