mirror of
https://github.com/open-goal/jak-project
synced 2026-07-04 13:30:41 -04:00
Resolve a good chunk of windows compiler warnings
Mostly revolved around the new MSVC check for functions that don't cover all paths (ie. a switch statement without a default case). It appears to not see an assert as a valid default case. I switched assert(false) to exceptions in these cases. I believe this should also abort the program, but will also provide a hopefully useful message? Hopefully this is an improvement. Resolves #32
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ void ee_runner(SystemThreadInterface& iface) {
|
||||
return;
|
||||
}
|
||||
|
||||
printf(" Main memory mapped at 0x%016lx\n", (u64)(g_ee_main_mem));
|
||||
printf(" Main memory mapped at 0x%016llx\n", (u64)(g_ee_main_mem));
|
||||
printf(" Main memory size 0x%x bytes (%.3f MB)\n", EE_MAIN_MEM_SIZE,
|
||||
(double)EE_MAIN_MEM_SIZE / (1 << 20));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user