mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
logs.hpp: refactoring (logs::message)
Make .error/.warning/... callable objects which can be pointed to. Make .always() more hard to access. Memory layout optimizations.
This commit is contained in:
parent
1d0f6eebdc
commit
04cac6cd33
9 changed files with 95 additions and 69 deletions
|
@ -43,7 +43,7 @@ void main_application::InitializeEmulator(const std::string& user, bool show_gui
|
|||
// Log Firmware Version after Emu was initialized
|
||||
const std::string firmware_version = utils::get_firmware_version();
|
||||
const std::string firmware_string = firmware_version.empty() ? "Missing Firmware" : ("Firmware version: " + firmware_version);
|
||||
sys_log.always("%s", firmware_string);
|
||||
sys_log.always()("%s", firmware_string);
|
||||
}
|
||||
|
||||
/** RPCS3 emulator has functions it desires to call from the GUI at times. Initialize them in here. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue