Misc: Purge unused code and report startup error to host

This commit is contained in:
Stenzek
2024-05-05 21:32:04 +10:00
parent ca3cfbaa99
commit fa104acdd1
17 changed files with 146 additions and 179 deletions

View File

@ -6,6 +6,8 @@
#include "bus.h"
#include "cpu_types.h"
class Error;
namespace CPU::CodeCache {
/// Returns true if any recompiler is in use.
@ -15,7 +17,7 @@ bool IsUsingAnyRecompiler();
bool IsUsingFastmem();
/// Allocates resources, call once at startup.
bool ProcessStartup();
bool ProcessStartup(Error* error);
/// Frees resources, call once at shutdown.
void ProcessShutdown();