mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 17:55:45 -04:00
CPU/Recompiler: Implement fastmem
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
#include "types.h"
|
||||
#include <functional>
|
||||
|
||||
namespace Common::PageFaultHandler {
|
||||
enum class HandlerResult
|
||||
@ -9,7 +8,7 @@ enum class HandlerResult
|
||||
ExecuteNextHandler,
|
||||
};
|
||||
|
||||
using Callback = std::function<HandlerResult(void* exception_pc, void* fault_address, bool is_write)>;
|
||||
using Callback = HandlerResult(*)(void* exception_pc, void* fault_address, bool is_write);
|
||||
using Handle = void*;
|
||||
|
||||
bool InstallHandler(void* owner, Callback callback);
|
||||
|
Reference in New Issue
Block a user