mirror of https://github.com/mgba-emu/mgba.git
Windows: Fix build
This commit is contained in:
parent
5c1249f350
commit
a26f654062
|
@ -168,7 +168,7 @@ static void* _vfdMap(struct VFile* vf, size_t size, int flags) {
|
|||
static void _vfdUnmap(struct VFile* vf, void* memory, size_t size) {
|
||||
UNUSED(size);
|
||||
struct VFileFD* vfd = (struct VFileFD*) vf;
|
||||
FlushViewOfFile(buffer, size);
|
||||
FlushViewOfFile(memory, size);
|
||||
size_t i;
|
||||
for (i = 0; i < HandleMappingListSize(&vfd->handles); ++i) {
|
||||
if (HandleMappingListGetPointer(&vfd->handles, i)->mapping == memory) {
|
||||
|
|
Loading…
Reference in New Issue