Fix typo in System.cpp

Enfore -> Enforce
This commit is contained in:
Ikko Eltociear Ashimine 2024-04-16 12:19:58 +09:00 committed by Megamouse
parent 6aa96e5f81
commit 270a21ebae

View file

@ -3362,7 +3362,7 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
{ {
if (fs::file tty_read_fd{fs::get_cache_dir() + "TTY.log"}) if (fs::file tty_read_fd{fs::get_cache_dir() + "TTY.log"})
{ {
// Enfore an arbitrary limit for now to avoid OOM in case the guest code has bombarded TTY // Enforce an arbitrary limit for now to avoid OOM in case the guest code has bombarded TTY
// 3MB, this should be enough // 3MB, this should be enough
constexpr usz c_max_tty_spill_size = 0x30'0000; constexpr usz c_max_tty_spill_size = 0x30'0000;