get rid of fmt dependency since we are on C++23

This commit is contained in:
irisz64
2025-07-22 11:30:37 +02:00
parent 9b169825ee
commit 8549d5a21c
173 changed files with 452 additions and 83654 deletions

View File

@@ -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);
}