Implement thumb POP instruction

This commit is contained in:
MerryMage 2016-07-18 17:37:48 +01:00
parent f7e3d7b8d2
commit dfef65d98f
6 changed files with 45 additions and 6 deletions

View file

@ -82,7 +82,7 @@ static CPUCaps Detect() {
caps.vendor = CPUVendor::OTHER;
// Set reasonable default brand string even if brand string not available
strcpy_s(caps.cpu_string, caps.brand_string);
strcpy_s(caps.cpu_string, sizeof(caps.cpu_string), caps.brand_string);
// Detect family and other miscellaneous features
if (max_std_fn >= 1) {