mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-30 05:20:20 +02:00
v111.10
Fixed deterministic serialization on Windows.
This commit is contained in:
@@ -221,10 +221,6 @@ __asm__(
|
||||
".size swap_context, .-swap_context\n"
|
||||
);
|
||||
|
||||
const char* co_method() {
|
||||
return "ppc64v2";
|
||||
}
|
||||
|
||||
cothread_t co_active() {
|
||||
if(!co_active_handle) {
|
||||
co_active_handle = (struct ppc64_context*)malloc(MIN_STACK + sizeof(struct ppc64_context));
|
||||
@@ -274,6 +270,10 @@ void co_switch(cothread_t to) {
|
||||
swap_context((struct ppc64_context*)to, from);
|
||||
}
|
||||
|
||||
int co_serializable() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user