get rid of fmt dependency since we are on C++23
This commit is contained in:
@@ -24,7 +24,7 @@ void KaizenGui::QueryDevices(SDL_Event event) {
|
||||
const auto index = event.gdevice.which;
|
||||
|
||||
gamepad = SDL_OpenGamepad(index);
|
||||
Util::info("Found controller!");
|
||||
info("Found controller!");
|
||||
}
|
||||
break;
|
||||
case SDL_EVENT_GAMEPAD_REMOVED:
|
||||
@@ -43,7 +43,7 @@ void KaizenGui::FileDialog() {
|
||||
|
||||
auto result = NFD::OpenDialog(path, filterItems.data(), filterItems.size());
|
||||
if(result == NFD_ERROR)
|
||||
Util::panic("Error: {}", NFD::GetError());
|
||||
panic("Error: {}", NFD::GetError());
|
||||
|
||||
if(result != NFD_CANCEL) {
|
||||
LoadROM(path.get());
|
||||
@@ -277,5 +277,5 @@ void KaizenGui::LoadTAS(const std::string &path) const noexcept {
|
||||
return;
|
||||
}
|
||||
|
||||
Util::panic("Could not load TAS movie {}!", path);
|
||||
panic("Could not load TAS movie {}!", path);
|
||||
}
|
||||
Reference in New Issue
Block a user