summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/src/Main.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-07-20 21:20:22 +0000
committerhrydgard <hrydgard@gmail.com>2008-07-20 21:20:22 +0000
commit36f8b9751a5de8548e6ed1f0d62035dd5f54a761 (patch)
tree5c8c66c89f76eab339c8d4fcf9c06d14517e4aba /Source/Core/DolphinWX/src/Main.cpp
parent4175db3aa39f1b2536cac546a0d6c8f161bf108f (diff)
Better error messages, Dolphin will create save directories if not present.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@37 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/src/Main.cpp')
-rw-r--r--Source/Core/DolphinWX/src/Main.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/src/Main.cpp b/Source/Core/DolphinWX/src/Main.cpp
index f3170ce0e0..ed90697efe 100644
--- a/Source/Core/DolphinWX/src/Main.cpp
+++ b/Source/Core/DolphinWX/src/Main.cpp
@@ -42,20 +42,27 @@ bool DolphinApp::OnInit()
// RegisterPanicAlertHandler(&wxPanicAlert);
#endif
-#if 0
#ifdef _WIN32
// TODO: if First Boot
+ if (!cpu_info.bSSE2Extensions)
+ {
+ MessageBox(0, _T("Hi,\n\nDolphin requires that your CPU has support for SSE2 extensions.\n"
+ "Unfortunately your CPU does not support them, so Dolphin will not run.\n\n"
+ "Sayonara!\n"), "Dolphin", MB_ICONINFORMATION);
+ return false;
+ }
+ /*
#ifdef _M_IX86
- if (cpu_info.CPU64Bit && !cpu_info.OS64Bit)
+ if (cpu_info.CPU64bit && cpu_info.OS64bit)
{
MessageBox(0, _T("This is the 32-bit version of Dolphin. This computer is running a 64-bit OS.\n"
"Thus, this computer is capable of running Dolphin 64-bit, which is considerably "
- "faster than Dolphin 32-bit. So, why are you running Dolphin 32-bit? :-)"));
+ "faster than Dolphin 32-bit. So, why are you running Dolphin 32-bit? :-)"), "Dolphin", MB_ICONINFORMATION);
}
// missing check
#endif
-#endif
+ */
#endif
bool UseDebugger = false;
@@ -79,7 +86,7 @@ bool DolphinApp::OnInit()
if (parser.Parse() != 0)
{
return(false);
- }
+ }
UseDebugger = parser.Found(_T("debugger"));
#endif