Update to spice2x-25-04-25 (pre-apply)
> broken commit
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "bbc.h"
|
||||
|
||||
#include "avs/game.h"
|
||||
#include "games/shared/lcdhandle.h"
|
||||
#include "hooks/devicehook.h"
|
||||
#include "hooks/graphics/graphics.h"
|
||||
#include "util/detour.h"
|
||||
#include "util/logging.h"
|
||||
@@ -14,6 +16,9 @@ namespace games::bbc {
|
||||
void BBCGame::attach() {
|
||||
Game::attach();
|
||||
|
||||
devicehook_init();
|
||||
devicehook_add(new games::shared::LCDHandle());
|
||||
|
||||
// window patch
|
||||
if (GRAPHICS_WINDOWED) {
|
||||
unsigned char pattern[] = {
|
||||
@@ -34,4 +39,6 @@ namespace games::bbc {
|
||||
log_warning("bbc", "windowed mode failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user