mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
code: Replace printf/scanf with type safe fmt
This commit is contained in:
parent
33729d634e
commit
28819dede1
9 changed files with 50 additions and 52 deletions
|
@ -1,7 +1,8 @@
|
|||
#include <SDL3/SDL.h>
|
||||
#include <cstdio>
|
||||
#include <Util/log.h>
|
||||
#include <fmt/core.h>
|
||||
#include "types.h"
|
||||
#include "Util/log.h"
|
||||
#include <Core/PS4/HLE/Graphics/video_out.h>
|
||||
#include <Util/config.h>
|
||||
#include <Zydis/Zydis.h>
|
||||
|
@ -16,7 +17,7 @@
|
|||
// Main code
|
||||
int main(int argc, char* argv[]) {
|
||||
if (argc == 1) {
|
||||
printf("Usage: %s <elf or eboot.bin path>\n", argv[0]);
|
||||
fmt::print("Usage: {} <elf or eboot.bin path>\n", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
Config::load("config.toml");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue