Rename cpu_detect.h to platform.h and add OS

This commit is contained in:
Connor McLaughlin
2021-04-04 13:01:05 +10:00
parent d41b5be908
commit 2ac6f60bbb
12 changed files with 75 additions and 49 deletions

View File

@ -6,11 +6,11 @@
#include "assert.h"
#include "cd_image.h"
#include "cd_subchannel_replacement.h"
#include "cpu_detect.h"
#include "error.h"
#include "file_system.h"
#include "libchdr/chd.h"
#include "log.h"
#include "platform.h"
#include <algorithm>
#include <cerrno>
#include <cstdio>
@ -180,7 +180,7 @@ bool CDImageCHD::Open(const char* filename, Common::Error* error)
if (error)
{
error->SetFormattedMessage("Incorrect track number at index %d, expected %d got %d", num_tracks,
(num_tracks + 1), track_num);
(num_tracks + 1), track_num);
}
return false;